net/py-blobfile 3.2.0 MidnightBSD
Read GCS, ABS and local paths with the same interface
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
b807d69740- License
- unlicense
- Categories
- net, python
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | net/py-blobfile | 3.2.0 |
| FreeBSD | net/py-blobfile | 3.3.0 |
| DragonFly | net/py-blobfile | 3.0.0 |
| HardenedBSD | net/py-blobfile | 3.3.0 |
| GhostBSD | net/py-blobfile | 3.3.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}blobfile
From mports:
cd /usr/mports/net/py-blobfile && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blobfile>0:net/py-blobfile
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 4
${PYTHON_PKGNAMEPREFIX}filelock>=3.0: sysutils/py-filelock${PYTHON_PKGNAMEPREFIX}lxml>=4.9: devel/py-lxml${PYTHON_PKGNAMEPREFIX}pycryptodomex>=3.8: security/py-pycryptodomex${PYTHON_PKGNAMEPREFIX}urllib3>=2,1: net/py-urllib3
Build dependencies 2
Run dependencies 4
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| blobfile-3.2.0.tar.gz | 78442 | 78514a9265b9aa7d4607042dc77c5e6461ab27036450ad8e1f6ef9a7f29bf958 |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
b807d69740 |
Lucas Holt | Add LangChain AI ports and dependencies AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |