An interface to interact with cloud storage as if it's a local filesystem.
Project description
CloudFS
Cloud storage that works like your local filesystem.
CloudFS gives you a pathlib.Path-compatible interface for Google Cloud Storage, AWS S3, and Azure Blob Storage.
Installation
pip install "cloudfs[google]" # Google Cloud Storage
pip install "cloudfs[s3]" # AWS S3
pip install "cloudfs[azure]" # Azure Blob Storage
pip install "cloudfs[all]" # All backends
Quick Start
from cloudfs import Path
# Works the same across all backends
p = Path("gs://my-bucket/data/report.csv") # GCS
p = Path("s3://my-bucket/data/report.csv") # S3
p = Path("az://my-container/data/report.csv") # Azure
p.write_text("Hello, CloudFS!")
print(p.read_text()) # Hello, CloudFS!
print(p.name) # report.csv
print(p.parent / "other.csv") # gs://my-bucket/data/other.csv
for child in p.parent.iterdir():
print(child)
Documentation
Full documentation at allen2c.github.io/cloudfs.
License
Apache 2.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloudfs-0.3.0.tar.gz
(14.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cloudfs-0.3.0-py3-none-any.whl
(21.2 kB
view details)
File details
Details for the file cloudfs-0.3.0.tar.gz.
File metadata
- Download URL: cloudfs-0.3.0.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.11.15 Darwin/25.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d28e5c75633b88734be8c052756f8b5227d81eb5e21b3647387563e00255786
|
|
| MD5 |
04d48a44d91a9d392423e5978c501e4e
|
|
| BLAKE2b-256 |
3d8e30699298cfa92e944257e39abde30d2eb018a815184412960f403358ae22
|
File details
Details for the file cloudfs-0.3.0-py3-none-any.whl.
File metadata
- Download URL: cloudfs-0.3.0-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.11.15 Darwin/25.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d4935543ba001a41877336e657c782e493ec8a3003dfd585d18e3f040394490
|
|
| MD5 |
2ee91f88956d901384df029bd07c73ba
|
|
| BLAKE2b-256 |
f0a0f87c5fedb2e69acf36d731ff9889c0860cb9b9f06715a31fe6519fd44e52
|