Skip to main content

Gracia Dataset Convention - Python library for working with multi-view video datasets

Project description

mvdata

Python library for working with Gracia multi-view video datasets.

The package provides readers, writers, conversion tools, and GPU-aware video decode helpers for the dataset layouts documented in the docs directory.

Preview videos

Generate a compact three-view MP4 preview from any supported dataset:

from pathlib import Path
from mvdata import PreviewVideoWriter, auto_detect_dataset

dataset = auto_detect_dataset(Path("path/to/dataset"))
PreviewVideoWriter(dataset, fps=60).write("preview.mp4")

By default this uses the full dataset frame range, selects three random streams, and writes a 720px-tall 8-bit MP4. Pass frame_range=(start, end), streams=[main, top_right, bottom_right], or height=1080 to override those defaults.

Release

Prepare the next release with the local helper script:

UV_PROJECT_ENVIRONMENT=.venv312 uv run python scripts/release.py patch --dry-run
UV_PROJECT_ENVIRONMENT=.venv312 uv run python scripts/release.py patch --push

Use minor or major instead of patch for larger version bumps, or pass an explicit version with --version 1.2.3. The script updates pyproject.toml and uv.lock through uv, runs the tests and build, creates a Release vX.Y.Z commit, creates an annotated vX.Y.Z tag, and pushes the branch and tag when --push is set.

Pushing the tag triggers the GitHub Actions build, PyPI publish, and GitHub Release workflow.

Project details


Download files

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

Source Distribution

mvdata-0.10.1.tar.gz (155.3 kB view details)

Uploaded Source

Built Distribution

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

mvdata-0.10.1-py3-none-any.whl (125.7 kB view details)

Uploaded Python 3

File details

Details for the file mvdata-0.10.1.tar.gz.

File metadata

  • Download URL: mvdata-0.10.1.tar.gz
  • Upload date:
  • Size: 155.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mvdata-0.10.1.tar.gz
Algorithm Hash digest
SHA256 62b653ca1d2bf2360b77645b4d19def37558fb7a7db794c7c8c3a37893729491
MD5 02a2f1f80bfc78a4d598552a3fb87256
BLAKE2b-256 ebf931cfbc1dd3d5368d24d2f93c08e0732990453ff56ec6825c8772594618a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for mvdata-0.10.1.tar.gz:

Publisher: build.yml on gracia-labs/mvdata

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

File details

Details for the file mvdata-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: mvdata-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 125.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mvdata-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21e0f8d2b4a7311964d11202a7c7da9564fcead72f0f97f20a6c63454d885524
MD5 8490c0f17482279bbc7a5c6bb1fea76f
BLAKE2b-256 1c4bf8cbfe4b190da5b5545305811646b71be191e5673b1457bdd9d36e33729d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mvdata-0.10.1-py3-none-any.whl:

Publisher: build.yml on gracia-labs/mvdata

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page