taco
Read and write TACO datasets in Python.
pip install taco-eo
python examples/minimal.py
Published wheels include the native TACO reader. Building from the source distribution requires a C++23 compiler, CMake, Ninja, pkg-config, libcurl 7.83 or newer, and OpenSSL 3 or newer.
import taco
samples = taco.read("dataset.zip")
parts = taco.read(["part-0.zip", "part-1.zip"])
dataset = taco.open_dataset("dataset.zip")
targets = dataset.read(files="target.tif")
train = dataset.sql("SELECT * FROM dataset WHERE \"ml:split\" = 'train'")
export() writes a smaller dataset with the same contract. samples is a
PyArrow-compatible table, normally selected from the dataset SQL relation.
Keyword arguments replace fields of the collection, such
as id or description; the rest is inherited. For a remote source, metadata
is cached and only the payload files belonging to the selected samples are
downloaded. Pass overwrite=True to replace an existing TACO output.
source = "https://data.source.coop/major-tom/core-dem/"
dataset = taco.open_dataset(source)
rows = dataset.sql('SELECT * FROM dataset ORDER BY "taco:sample_index" LIMIT 10')
taco.export(
source,
"core-dem-sample.zip",
samples=rows,
id="core-dem-sample",
description="Ten samples from Core-DEM",
)
Remote reads and exports show download progress in interactive terminals.
Writers show their build progress when opened with progress=True.
Examples
Every example is self-contained, uses synthetic data, and writes its output in the current directory.
Spatial and temporal metadata use separate profiles: Spatial for regular
spatial grids, ISpatial for irregular footprints, and Temporal for time
alone. STAC combines regular spatial + temporal metadata; ISTAC combines
irregular spatial + temporal metadata.
| Example | What it demonstrates |
|---|---|
minimal.py |
Smallest possible single-file dataset |
numpy_minimal.py |
NumPy image and mask assets with a train/test split |
change_detection.py |
Metadata on before/ and after/ folders |
sequence.py |
Variable-length asset sequences |
time_series.py |
Per-observation time and cloud metadata |
geospatial.py |
Compact STAC metadata and derived MajorTOM cells |
stac_segmentation.py |
STAC extensions for regular raster chips, labels, bands, and scaling |
oceantaco_istac.py |
OceanTACO-inspired ISTAC metadata for irregular SWOT swaths and Argo collocations |
partitioned.py |
ZIP partitions and their TACOCAT catalog |
Release files for taco-eo 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| taco_eo-0.10.0.tar.gz | 777.3 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| taco_eo-0.10.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| taco_eo-0.10.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details |
| taco_eo-0.10.0-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details |
| taco_eo-0.10.0-py3-none-macosx_11_0_x86_64.whl | Python 3 | none | macOS 11.0+ x86-64 | Details |
| taco_eo-0.10.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 21.3 MB
Release files / taco_eo-0.10.0.tar.gz
| Download URL | taco_eo-0.10.0.tar.gz |
|---|---|
| Size | 777.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d6e2ee63695abbffb437f831a2a9beea4c06d6d4468e04720091e82606d9bb1
|
|
BLAKE2b-256 checksum How to use checksums |
a8b8df8a8e6f07590dd3d9e26b4b87504cfcd211bbbbb2af1a6a7ed282c45f1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / taco_eo-0.10.0-py3-none-win_amd64.whl
| Download URL | taco_eo-0.10.0-py3-none-win_amd64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
049f2f3c182c228be24fb1c1c8a4dd7e620b7d05a5822cba5c01c8b2f04f6af3
|
|
BLAKE2b-256 checksum How to use checksums |
81c0f7757e09931d238f4454f3c41c81e909fc55140958838a6cd170894a5867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / taco_eo-0.10.0-py3-none-manylinux_2_28_x86_64.whl
| Download URL | taco_eo-0.10.0-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
3312ac95e69668964299fe75ec8a083e1f53eca5aed655d6c1637d06318170e9
|
|
BLAKE2b-256 checksum How to use checksums |
a722b90ab71256280821ec8ca6a850b2f659d4f046b7a7d514e1926865ed7845
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / taco_eo-0.10.0-py3-none-manylinux_2_28_aarch64.whl
| Download URL | taco_eo-0.10.0-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 5.0 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
da7fab2a6bddc9b818cee9b4e3d2da030c405665c12f35c7654e3e99d1f1eb5a
|
|
BLAKE2b-256 checksum How to use checksums |
d656592920bfa0f98d41e1858c2303de6e4f75bf63215853075b293076679be7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / taco_eo-0.10.0-py3-none-macosx_11_0_x86_64.whl
| Download URL | taco_eo-0.10.0-py3-none-macosx_11_0_x86_64.whl |
|---|---|
| Size | 3.9 MB |
| Tags | Python 3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
b7758746b192076f2bc1bcb044fc9dc58ecad1579d356a33395e49474d2e55dd
|
|
BLAKE2b-256 checksum How to use checksums |
19cb06586254fa5b8430157907c5fc36e35a6ccba1665026c824a1f48c32c95a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / taco_eo-0.10.0-py3-none-macosx_11_0_arm64.whl
| Download URL | taco_eo-0.10.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
dd904e629ae4df98c76f6f7919274cd5297e8ecae757d8feff9f56006ccee6a3
|
|
BLAKE2b-256 checksum How to use checksums |
e6ab29e44dbd5dcf3805f5b5e264f7c647a28c5450f93efa20d9009d5842df84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency log