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"])

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. where filters the rows returned by read(), and the subset needs its own id and description.

taco.export(
    "dataset.zip",
    "test.zip",
    where="\"ml:split\" = 'test'",
    id="dataset-test",
    description="Test split of the dataset",
)

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taco_eo-0.7.0.tar.gz (766.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

taco_eo-0.7.0-py3-none-win_amd64.whl (2.9 MB view details)

Uploaded Python 3Windows x86-64

taco_eo-0.7.0-py3-none-manylinux_2_28_x86_64.whl (4.8 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

taco_eo-0.7.0-py3-none-manylinux_2_28_aarch64.whl (4.9 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

taco_eo-0.7.0-py3-none-macosx_11_0_x86_64.whl (3.8 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

taco_eo-0.7.0-py3-none-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file taco_eo-0.7.0.tar.gz.

File metadata

  • Download URL: taco_eo-0.7.0.tar.gz
  • Upload date:
  • Size: 766.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for taco_eo-0.7.0.tar.gz
Algorithm Hash digest
SHA256 aecf5dffe4e9c37214f9a1c99beb9547343a0f50fd2ac05b4079e3178cd5371e
MD5 e320613ef4cca2f99fc4feeb99e349ef
BLAKE2b-256 a904771c830ccd791a6526a93562cf36a06275db5e09273f0f7d42c560193e66

See more details on using hashes here.

Provenance

The following attestation bundles were made for taco_eo-0.7.0.tar.gz:

Publisher: release.yml on asterisk-labs/taco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file taco_eo-0.7.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: taco_eo-0.7.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for taco_eo-0.7.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9dc6e3f293ddf58d37efb959a0c0cba3d76fbb7f2a4f04080f743c9084c5f1e2
MD5 61181ba6170cc64f65b3f6dc3a8d510f
BLAKE2b-256 526cbfc6e08d6a45ec1f12411c807d9b09e04a03d9916e4f77025fd6ddf4ecb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for taco_eo-0.7.0-py3-none-win_amd64.whl:

Publisher: release.yml on asterisk-labs/taco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file taco_eo-0.7.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for taco_eo-0.7.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fa167c4854f878787ff80c208e6cc9a33cb51c7333af3bf7773528360b8dee2e
MD5 76a2bc0dc53a82eca5035b0707525d75
BLAKE2b-256 a005cc0a2a0b9736e98fa7a7026b0ff599fd6dd3c04a09602cc070cc07596a25

See more details on using hashes here.

Provenance

The following attestation bundles were made for taco_eo-0.7.0-py3-none-manylinux_2_28_x86_64.whl:

Publisher: release.yml on asterisk-labs/taco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file taco_eo-0.7.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for taco_eo-0.7.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 551f1360797c16c084c69b6411caec2f45a491775c08aea6b3091d8cc805cd37
MD5 947feb86b2fe91b0924798f470438652
BLAKE2b-256 f2229c5b35bfc96e8aca98c26946708cad49662eb9b65b7c1947649be9f01837

See more details on using hashes here.

Provenance

The following attestation bundles were made for taco_eo-0.7.0-py3-none-manylinux_2_28_aarch64.whl:

Publisher: release.yml on asterisk-labs/taco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file taco_eo-0.7.0-py3-none-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for taco_eo-0.7.0-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 6a36e0864813610d72b173e1e50ca4a574706fb3d649882a297e71dc3e611e08
MD5 6b9515c44c6bf7bd8911fb31ee08946b
BLAKE2b-256 4b020eaf25582ba80ee1b2b473e70c60dbd45a05671fed6275b6869d98ca7834

See more details on using hashes here.

Provenance

The following attestation bundles were made for taco_eo-0.7.0-py3-none-macosx_11_0_x86_64.whl:

Publisher: release.yml on asterisk-labs/taco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file taco_eo-0.7.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for taco_eo-0.7.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9c278eee167f3fb0a4eb1e43d6c229b94f1b1fc0c57953790f048ebfa24857b8
MD5 93912c68a53974fc80e3b29c892d25a2
BLAKE2b-256 47631804a032b1b4ee215aec1ad99ade723fe4f415bce72db99ab5037cd6befe

See more details on using hashes here.

Provenance

The following attestation bundles were made for taco_eo-0.7.0-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on asterisk-labs/taco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.8.0

6 files

This release

0.7.0 This release

6 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.3.0

2 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