Port details |
- py-cloudpathlib pathlib-style classes for cloud storage services
- 0.18.1 devel =0 0.18.1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2024-02-21 15:18:31
- Last Update: 2024-03-09 14:05:45
- Commit Hash: 098d95c
- 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 py39-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 py39-cloudpathlib listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-cloudpathlib
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1709390522
SHA256 (cloudpathlib-0.18.1.tar.gz) = ffd22f324bfbf9c3f2bc1bec6e8372cb372a0feef17c7f2b48030cd6810ea859
SIZE (cloudpathlib-0.18.1.tar.gz) = 39871
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:
-
- py39-flit-core>=3.2<4.0 : devel/py-flit-core@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- py39-typing-extensions>=4 : devel/py-typing-extensions@py39
- This port is required by:
- for Run
-
- devel/py-weasel
Configuration Options:
- ===> The following configuration options are available for py39-cloudpathlib-0.18.1:
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
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 2
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.18.1 09 Mar 2024 14:05:45 |
Po-Chuan Hsieh (sunpoet) |
devel/py-cloudpathlib: Update to 0.18.1
Changes: https://github.com/drivendataorg/cloudpathlib/releases
https://cloudpathlib.drivendata.org/stable/changelog/ |
0.17.0 21 Feb 2024 15:06:04 |
Po-Chuan Hsieh (sunpoet) |
devel/py-cloudpathlib: Add py-cloudpathlib 0.17.0
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. |
Number of commits found: 2
|