Skip to main content

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 data WHERE \"ml:split\" = 'train'")

Versioned dataset roots select their declared default release without listing remote storage. Use a release URL to open an immutable version directly.

dataset = taco.open_dataset("https://data.source.coop/major-tom/core-dem/")
print(dataset.version)
print(dataset.versions)

previous = taco.open_dataset("https://data.source.coop/major-tom/core-dem/1.0.0/")

export() writes a smaller dataset with the same contract. samples is a PyArrow-compatible table, normally selected from the data 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 data ORDER BY sample_id 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.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for taco-eo 0.8.2
File Size Uploaded
taco_eo-0.8.2.tar.gz 778.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for taco-eo 0.8.2
File
taco_eo-0.8.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
taco_eo-0.8.2-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
taco_eo-0.8.2-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details
taco_eo-0.8.2-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details
taco_eo-0.8.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 21.4 MB

Release files / taco_eo-0.8.2.tar.gz

Download URL taco_eo-0.8.2.tar.gz
Size 778.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d669c9b5b8e47785875ce2e8130f243df2f96ef8145bc925e0b98a949fbf343b
BLAKE2b-256 checksum
How to use checksums
71713ec1445788fdd3731512a6a3630d2fdcc9d9a0bed477c95942261c203170
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 19, 2026.

Transparency log

Release files / taco_eo-0.8.2-py3-none-win_amd64.whl

Download URL taco_eo-0.8.2-py3-none-win_amd64.whl
Size 2.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
9d38916fb6e7b1818da64aa3efde712223d96fd84f28ff64c7671e03b5878c8b
BLAKE2b-256 checksum
How to use checksums
e92981abff7d5779044bd7ac8ecc6f9f047d20415f83305d8d3241f1d50a772c
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 19, 2026.

Transparency log

Release files / taco_eo-0.8.2-py3-none-manylinux_2_28_x86_64.whl

Download URL taco_eo-0.8.2-py3-none-manylinux_2_28_x86_64.whl
Size 4.9 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
0ea122bb824f207b47e86695dd89a547e0e967c725e41a32f0acf386e30a4fcc
BLAKE2b-256 checksum
How to use checksums
d0caa78799a8f58785317a20e7c43c997c05b672c1e1c1dc890ae8ba79e9c218
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 19, 2026.

Transparency log

Release files / taco_eo-0.8.2-py3-none-manylinux_2_28_aarch64.whl

Download URL taco_eo-0.8.2-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
76124ffc8e5c7a4c92dcaab9f48792239d32be04a8638ce8b584be217cc17129
BLAKE2b-256 checksum
How to use checksums
9e4cf5dbcb0c860768ad7d702aa8572196f8c7441f18639988871efd20d7b56e
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 19, 2026.

Transparency log

Release files / taco_eo-0.8.2-py3-none-macosx_11_0_x86_64.whl

Download URL taco_eo-0.8.2-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
c49443bcaf51df81334615f428c9d9b3a9d67d4ed2db32a16b2bac01f81b7d96
BLAKE2b-256 checksum
How to use checksums
35e8369542a6f3e5175b8cafe4256edabb524a3539564d56810693f7ec514b6d
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 19, 2026.

Transparency log

Release files / taco_eo-0.8.2-py3-none-macosx_11_0_arm64.whl

Download URL taco_eo-0.8.2-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
bd4d76c2e6209b7e53335d413d14e10bcc2d22608395c1d00b08231b44f6c87b
BLAKE2b-256 checksum
How to use checksums
7dfafba2704092f6fda10dd8ae59167438596d75ff03a62482aaab4465a58fba
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 19, 2026.

Transparency log

Release history Release notifications | RSS feed

0.10.3

6 release files

0.10.2

6 release files

0.10.1

6 release files

0.10.0

6 release files

0.9.1

6 release files

0.9.0

6 release files

This release

0.8.2 This release

6 release files

0.8.1

6 release files

0.8.0

6 release files

0.7.0

6 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page