Skip to main content

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.2.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloudfs-0.2.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file cloudfs-0.2.0.tar.gz.

File metadata

  • Download URL: cloudfs-0.2.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.15 Darwin/25.3.0

File hashes

Hashes for cloudfs-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b48fa909f0bada21708cabcf05c1b3c379da5efccca6a710495f0a1b22e10476
MD5 1421f7372bf80662e299616ea42e6877
BLAKE2b-256 51461803cd09c64d31352e6af718c2bdf822a633daf6ed3ab88661ee14f20a98

See more details on using hashes here.

File details

Details for the file cloudfs-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cloudfs-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 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

Hashes for cloudfs-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7f713f78c520b71b2385db8eef60ee46df0addb0728d1d9e0e4396b51213335
MD5 470df6c7e2a51b8a8e47a76a0e4535ed
BLAKE2b-256 6693cf6914133cc60f359ef54280a7fffaa2f69a44f5a096b86026572d795414

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page