filesystems/py-kerchunk 0.2.10
Functions to make reference descriptions for ReferenceFileSystem
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
3c78a09f62- License
- MIT
- Categories
- filesystems, python
- Package size
- 146.9 KiB, 708.3 KiB installed
Description
Kerchunk is a library that provides a unified way to represent a variety of chunked, compressed data formats (e.g. NetCDF, HDF5, GRIB), allowing efficient access to the data from traditional file systems or cloud object storage. It also provides a flexible way to create virtual datasets from multiple files. It does this by extracting the byte ranges, compression information and other information about the data and storing this metadata in a new, separate object. This means that you can create a virtual aggregate dataset over potentially many source files, for efficient, parallel and cloud-friendly in-situ access without having to copy or translate the originals. It is a gateway to in-the-cloud massive data processing while the data providers still insist on using legacy formats for archival storage.
We provide the following things:
- completely serverless architecture
- metadata consolidation, so you can understand a many-file dataset (metadata plus physical storage) in a single read
- read from all of the storage backends supported by fsspec, including object storage (s3, gcs, abfs, alibaba), http, cloud user storage (dropbox, gdrive) and network protocols (ftp, ssh, hdfs, smb...)
- loading of various file types (currently netcdf4/HDF, grib2, tiff, fits, zarr), potentially heterogeneous within a single dataset, without a need to go via the specific driver (e.g., no need for h5py)
- asynchronous concurrent fetch of many data chunks in one go, amortizing the cost of latency
- parallel access with a library like zarr without any locks
- logical datasets viewing many (>~millions) data files, and direct access/subselection to them via coordinate indexing across an arbitrary number of dimensions
Install
As a binary package — by origin, or by package name:
pkg install filesystems/py-kerchunk
pkg install py312-kerchunk
From the ports tree:
cd /usr/ports/filesystems/py-kerchunk/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-kerchunk>0:filesystems/py-kerchunk
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.2.10 | 0.2.10 | - | 0.2.7 | 0.2.10 |
| FreeBSD:14:quarterly | 0.2.10 | 0.2.10 | n/a | 0.2.7 | 0.2.10 |
| FreeBSD:15:latest | 0.2.10 | 0.2.10 | n/a | 0.2.7 | 0.2.7 |
| FreeBSD:15:quarterly | 0.2.10 | 0.2.10 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.10 | 0.2.10 | 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 3
${PYTHON_PKGNAMEPREFIX}setuptools>=42: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 5
${PYTHON_PKGNAMEPREFIX}fsspec>=2025.2.0: filesystems/py-fsspec${PYTHON_PKGNAMEPREFIX}numcodecs>=0: misc/py-numcodecs${PYTHON_PKGNAMEPREFIX}numpy>=0,1: math/py-numpy${PYTHON_PKGNAMEPREFIX}ujson>=0: devel/py-ujson${PYTHON_PKGNAMEPREFIX}zarr>=3.0.1: devel/py-zarr
The full lists below include those, and their dependencies in turn.
All build dependencies 17
All run dependencies 40
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/crc32c
- devel/gettext-runtime
- devel/libffi
- devel/py-aiosignal
- devel/py-attrs
- devel/py-donfig
- devel/py-frozenlist
- devel/py-google-crc32c
- devel/py-msgspec
- devel/py-packaging
- devel/py-propcache
- devel/py-pyyaml
- devel/py-typing-extensions
- devel/py-ujson
- devel/py-zarr
- devel/readline
- dns/py-idna
- filesystems/py-fsspec
- lang/gcc14
- lang/python312
- lang/python315
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- misc/py-numcodecs
- net/py-aiohappyeyeballs
- print/indexinfo
- textproc/expat2
- textproc/libyaml
- textproc/py-tomli-w
- www/llhttp
- www/py-aiohttp
- www/py-multidict
- www/py-yarl
No port depends on this one.
Configuration
Options name: filesystems_kerchunk
| Option | Default | Description |
|---|---|---|
| CFTIME | off | Time handling support |
| FITS | off | FITS file format support |
| GRIB2 | off | GRIB2 file format support |
| HDF | off | HDF file format support |
| NETCDF3 | off | netCDF 4 file format support |
- USES
- python:3.11+
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| kerchunk-0.2.10.tar.gz | 716526 | aae63c0fe4ca2e97025f026578a0577545011fe6679751392c815e0d1d6bf954 |
Master sites 1
- PYPI