Skip to main content

cuvis-ai-schemas

Lightweight schema definitions for the cuvis-ai ecosystem.

PyPI version CI Status codecov License Python

Overview

cuvis-ai-schemas is a centralized, dependency-light package of schema definitions used across the cuvis-ai ecosystem. It enables type-safe communication between services without heavy runtime requirements.

Key points:

  • Minimal deps (pydantic + pyyaml)
  • Full Pydantic validation
  • Optional extras for proto, torch, numpy, lightning, testing

Installation

uv add cuvis-ai-schemas
uv add "cuvis-ai-schemas[proto]"
uv add "cuvis-ai-schemas[full]"

Extras:

  • proto: gRPC and protobuf support
  • torch: PyTorch dtype handling (validation only)
  • numpy: NumPy array support
  • lightning: PyTorch Lightning training configs
  • testing: Hypothesis strategies + round-trip assertions (cuvis_ai_schemas.testing)
  • full: All features
  • dev: Development dependencies

Usage

from cuvis_ai_schemas.pipeline import PipelineConfig, NodeConfig

pipeline = PipelineConfig(
    nodes=[NodeConfig(name="node_1", class_name="my_pkg.DataLoader", hparams={"batch_size": 32})],
    connections=[],
)

pipeline_json = pipeline.to_json()
pipeline = PipelineConfig.from_json(pipeline_json)

Development

uv sync --all-extras --dev
uv run pytest tests/ -v
uv run ruff check cuvis_ai_schemas/ tests/
uv run ruff format cuvis_ai_schemas/ tests/
uv run mypy cuvis_ai_schemas/

Contributing

Contributions are welcome. Please:

  1. Ensure tests pass
  2. Run ruff format and ruff check
  3. Keep type hints and update docs as needed

License

Licensed under the Apache License 2.0. See LICENSE for details.

Metadata

Release files for cuvis-ai-schemas 0.14.4

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

Source distribution (sdist)

Source distribution for cuvis-ai-schemas 0.14.4
File Size Uploaded Provenance Actions
cuvis_ai_schemas-0.14.4.tar.gz 279.5 kB With provenance Details for cuvis_ai_schemas-0.14.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cuvis-ai-schemas 0.14.4
File Interpreter ABI Platform Actions
cuvis_ai_schemas-0.14.4-py3-none-any.whl Python 3 none any Details for cuvis_ai_schemas-0.14.4-py3-none-any.whl

Total release size: 366.4 kB

Release files / cuvis_ai_schemas-0.14.4.tar.gz

Download URL cuvis_ai_schemas-0.14.4.tar.gz
Size 279.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fd8b1a1f58e9d3a829d94954f9d4241cdd051fe7528661b32660165c7f287e71
BLAKE2b-256 checksum
How to use checksums
1a676a6b34943c062c3468e6d3cff8f74b060dda856c396bc9596e5a27e86b90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 30, 2026.

Transparency log

Release files / cuvis_ai_schemas-0.14.4-py3-none-any.whl

Download URL cuvis_ai_schemas-0.14.4-py3-none-any.whl
Size 86.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e7029fb960a247ee75a557b95815fbedd55cf4ed24bec0869501a467063d192
BLAKE2b-256 checksum
How to use checksums
7671541d915b8ce619a2371b1c5a04e288e9a928e4847ae6e930d7f6fc5c9972
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 30, 2026.

Transparency log

Security for cuvis-ai-schemas 0.14.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cuvis_ai_schemas-0.14.4.tar.gz

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 Oct 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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