withopen_fs('s3://my-bucket') asroot_fs:
withroot_fs.opendir('a_real_directory') asdir_fs:
printdir_fs.listdir(u'/')Raises Not Found on the line which calls opendir
I find things to work entirely when using file:// or osfs:// protocol urls, but things tend to explode when using s3://. Because I've hit two show stopping issues in two attempts to use s3fs and pyfilesystem, I'm gonna conclude that the premise of this being a compliant FS implementation is false, untested, and broken.
It's a grand idea to write interchangeable filesystem code, best of luck!
Raises Not Found on the line which calls
opendirI find things to work entirely when using
file://orosfs://protocol urls, but things tend to explode when usings3://. Because I've hit two show stopping issues in two attempts to use s3fs and pyfilesystem, I'm gonna conclude that the premise of this being a compliantFSimplementation is false, untested, and broken.It's a grand idea to write interchangeable filesystem code, best of luck!