FreeBSD Ports

net/py-blobfile 3.3.0

Read GCS, ABS and local paths with the same interface

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
37b8868908
License
UNLICENSE
Categories
net, python
Package size
186.2 KiB, 975.7 KiB installed

Description

blobfile is a library that provides a Python-like interface for reading local and remote files (only from blob storage), with an API similar to open() as well as some of the os.path and shutil functions. blobfile supports local paths, Google Cloud Storage paths (gs://<bucket>), and Azure Blob Storage paths (az://<account>/<container> or https://<account>.blob.core.windows.net/<container>/).

The main function is BlobFile, which lets you open local and remote files that act more or less like local ones. There are also a few additional functions such as basename, dirname, and join, which mostly do the same thing as their os.path namesakes, only they also support GCS paths and ABS paths.

This library is inspired by TensorFlow's gfile but does not have exactly the same interface.

Install

As a binary package — by origin, or by package name:

pkg install net/py-blobfile
pkg install py312-blobfile

From the ports tree:

cd /usr/ports/net/py-blobfile/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-blobfile>0:net/py-blobfile

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:latest3.3.03.3.0-3.0.0_13.3.0
FreeBSD:14:quarterly3.3.03.3.0n/a3.0.03.3.0
FreeBSD:15:latest3.3.03.3.0n/a3.0.0_13.0.0_1
FreeBSD:15:quarterly3.3.03.3.0n/an/an/a
FreeBSD:16:latest3.3.03.3.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 4

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

All build dependencies 16
All run dependencies 16

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
blobfile-3.3.0.tar.gz7858798bd9fafed8d0175d315a5b605680f522949057e16cb4932b07ce5a5f67e8985
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
37b8868908 Po-Chuan Hsieh net/py-blobfile: Update to 3.3.0
Changes: https://github.com/blobfile/blobfile/releases https://github.com/blobfile/blobfile/blob/master/CHANGES.md