Description
cloudpathlib is a Python library with classes that mimic pathlib.Path for URIs from cloud storage services. If you know how to use Path, you can use CloudPath the same way, because the cloud-relevant Path methods are implemented. The project's example opens an S3 path, writes to it and sends the changes to the cloud. Supported clouds include AWS S3, Google Cloud Storage and Azure Blob Storage, through classes such as S3Path, GSPath and AzureBlobPath. The documentation covers authentication, the AnyPath helper for working with local and cloud paths, HTTP URLs, caching, compatibility and client settings. It also explains how to test code that uses cloudpathlib and lists integrations. The project publishes a changelog and an API reference, and the stable version shown on the site is 0.26.0. Installation instructions cover conda and a development version.…
Highlights
- pathlib-style API for cloud URIs
- S3, Google Cloud Storage and Azure Blob Storage
- AnyPath for local and cloud paths
- Caching and client settings
- Authentication and HTTP URL support
- API reference and changelog
Ratings & Reviews
No ratings yet
Be the first to rate Cloudpathlib.
People also visit
Cloudpathlib FAQ
What is cloudpathlib?
A Python library that implements pathlib-style classes for files in cloud storage such as S3, Azure Blob Storage and Google Cloud Storage.
Which clouds are supported?
AWS S3, Google Cloud Storage and Azure Blob Storage, through classes such as S3Path, GSPath and AzureBlobPath.
Can I write code that works with local and cloud paths?
Yes. The documentation describes AnyPath, which handles both local and cloud paths.
Does it cache files?
The docs have a caching section that explains how cached files are handled.
Where is the source?
The project is on GitHub at drivendataorg/cloudpathlib.
What are the best Cloudpathlib alternatives?
Popular alternatives to Cloudpathlib include RaiDrive.Translation, Arq and Afs. See all Cloudpathlib alternatives







