devel/py-cloudpathlib 0.25.0 FreeBSD
pathlib-style classes for cloud storage services
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
3aaa515fa1- License
- MIT
- Categories
- devel, python
- Package size
- 125.7 KiB, 723.5 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-cloudpathlib | 0.25.0 |
| DragonFly | devel/py-cloudpathlib | 0.21.0 |
Install
Binary package:
pkg install py312-cloudpathlib
From the ports tree:
cd /usr/ports/devel/py-cloudpathlib/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-cloudpathlib>0:devel/py-cloudpathlib
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.25.0 | 0.25.0 | - | 0.21.1 | 0.25.0 |
| FreeBSD:14:quarterly | 0.25.0 | 0.25.0 | n/a | 0.21.1 | 0.25.0 |
| FreeBSD:15:latest | 0.25.0 | 0.25.0 | n/a | 0.21.1 | 0.21.1 |
| FreeBSD:15:quarterly | 0.25.0 | 0.25.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.25.0 | 0.25.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4.0: devel/py-flit-core
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 7
Configuration
Options name: devel_cloudpathlib
| Option | Default | Description |
|---|---|---|
| GS | off | Google Cloud Storage support |
| S3 | off | Amazon S3 support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cloudpathlib-0.25.0.tar.gz | 56441 | 63612e17778c5e3a51b472def8d785d0aaaf347486d6b6786dc7be627556d4c6 |
Master sites 1
- PYPI