One filesystem interface for Python across local, cloud and remote storage
open sourceBSD-3-Clausefree
fsspec (filesystem_spec) defines a common filesystem interface for Python, so code can read and write files the same way whatever the backend. Many implementations ship with it (local, HTTP, SSH and more, through optional extras) and sister projects such as s3fs and gcsfs add cloud storage; shared features such as a key-value store view and FUSE mounting then work across all of them.
Problems it solves
- read files from S3 and local disk with the same Python code
- abstract file storage backends in a Python data pipeline
- open remote files over SSH or HTTP in Python
Features
- one filesystem API across backends
- built-in local, HTTP, SSH and other implementations
- s3fs and gcsfs for cloud storage
- key-value store view and FUSE mounting
Alternatives
The same job
These do what fsspec does.
- Apache OpenDAL One Layer, All Storage
