Port details |
- py-cloudpathlib pathlib-style classes for cloud storage services
- 0.21.0 devel
=2 0.20.0Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2024-02-21 15:18:31
- Last Update: 2025-03-19 03:38:34
- Commit Hash: dad4e30
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://cloudpathlib.drivendata.org/stable/
- https://github.com/drivendataorg/cloudpathlib
- Description:
- cloudpathlib is a Python library with classes that mimic pathlib.Path's
interface for URIs from different cloud storage services.
Why use cloudpathlib?
- Familiar: If you know how to interact with Path, you know how to interact with
CloudPath. All of the cloud-relevant Path methods are implemented.
- Supported clouds: AWS S3, Google Cloud Storage, and Azure Blob Storage are
implemented. FTP is on the way.
- Extensible: The base classes do most of the work generically, so implementing
two small classes MyPath and MyClient is all you need to add support for a new
cloud storage service.
- Read/write support: Reading just works. Using the write_text, write_bytes or
.open('w') methods will all upload your changes to cloud storage without any
additional file management as a developer.
- Seamless caching: Files are downloaded locally only when necessary. You can
also easily pass a persistent cache folder so that across processes and
sessions you only re-download what is necessary.
- Tested: Comprehensive test suite and code coverage.
- Testability: Local filesystem implementations that can be used to easily mock
cloud storage in your unit tests.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}cloudpathlib>0:devel/py-cloudpathlib@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-cloudpathlib/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-cloudpathlib
- pkg install py311-cloudpathlib
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-cloudpathlib listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-cloudpathlib
- Package flavors (<flavor>: <package>)
- py311: py311-cloudpathlib
- distinfo:
- TIMESTAMP = 1742070346
SHA256 (cloudpathlib-0.21.0.tar.gz) = fb8f6b890a3d37b35f0eabff86721bb8d35dfc6a6be98c1f4d34b19e989c6641
SIZE (cloudpathlib-0.21.0.tar.gz) = 45271
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-flit-core>=3.2<4.0 : devel/py-flit-core@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/py-weasel
Configuration Options:
- ===> The following configuration options are available for py311-cloudpathlib-0.21.0:
GS=off: Google Cloud Storage support
S3=off: Amazon S3 support
===> Use 'make config' to modify these settings
- Options name:
- devel_py-cloudpathlib
- USES:
- python:3.9+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|