Skip to main content

Velarium IR (ModelSpec): normalization, JSON codec, Python→IR extraction

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

velarium

Role in Velarium: core ModelSpec IR — normalized types (TypeSpec, TypeKind, …), ModelSpec, JSON codec, union normalization, and builders that turn dataclasses and TypedDict into IR.

PyPI velarium
Import import velarium / from velarium.ir import ModelSpec, TypeSpec
Dependencies typing_extensions only

Downstream packages (e.g. stubber) consume this IR to emit .pyi stubs and other artifacts. The IR contract is specified in docs/modelspec-ir.md; ecosystem context is in docs/valarium.md and docs/design.md.

Install

pip install velarium

From the monorepo root (with uv):

uv sync --group dev

Version

__version__ lives in velarium/__init__.py (Hatch reads it from that package’s pyproject.toml).

See also

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

velarium-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

velarium-0.1.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file velarium-0.1.0.tar.gz.

File metadata

  • Download URL: velarium-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for velarium-0.1.0.tar.gz
Algorithm Hash digest
SHA256 032079c17e11b7716f2b2e4998c3172e1050bcf79f2749080054f378ab2d3810
MD5 4b292c6d7c9f259de3d21bd78390a3e0
BLAKE2b-256 50a57ce66976f7ef05d96f6d118d22ab82ee787c87b0779979207775a20aaadd

See more details on using hashes here.

File details

Details for the file velarium-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: velarium-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for velarium-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed1838f3fc34c844de9b3ae9112eeac1446a4cafedc75c1f4e719584a1041350
MD5 888cdcff9765530862e1799f1edc77f7
BLAKE2b-256 75abc950d690be60cdaa9430b7d490cb0dc2287cb7986b072f1cb0c3b68908b7

See more details on using hashes here.

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