BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-cloudpathlib0.25.0
DragonFlydevel/py-cloudpathlib0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.25.00.25.0-0.21.10.25.0
FreeBSD:14:quarterly0.25.00.25.0n/a0.21.10.25.0
FreeBSD:15:latest0.25.00.25.0n/a0.21.10.21.1
FreeBSD:15:quarterly0.25.00.25.0n/an/an/a
FreeBSD:16:latest0.25.00.25.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 15
Run dependencies 7

Configuration

Options name: devel_cloudpathlib

OptionDefaultDescription
GSoffGoogle Cloud Storage support
S3offAmazon S3 support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
cloudpathlib-0.25.0.tar.gz5644163612e17778c5e3a51b472def8d785d0aaaf347486d6b6786dc7be627556d4c6
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
3aaa515fa1 Po-Chuan Hsieh devel/py-cloudpathlib: Update to 0.25.0
Changes: https://github.com/drivendataorg/cloudpathlib/releases https://cloudpathlib.drivendata.org/stable/changelog/