Velarium IR to Pydantic models — scaffold
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
morphra
Role in Velarium: IR → Pydantic — map Velarium (ModelSpec / TypeSpec) into Pydantic v2 models (generated source or runtime construction), preserving validation intent where the IR allows. This is codegen from IR, distinct from ingesting existing Pydantic models into IR (that lives in velarium — see docs/model-sources.md).
| PyPI | pypi.org/project/morphra (scaffold) |
| Repository | github.com/eddiethedean/velarium |
| Python | 3.10+ (when implemented) |
| Status | Scaffold — no code generation yet |
| Related | velotype on PyPI — IR → .pyi for static types today |
Planned use cases
- FastAPI / service layers that want models aligned with the same IR as stubs
- Shared typing story between static stubs (velotype) and runtime validation
See also
- docs/valarium.md — backend placement in the pipeline
- docs/modelspec-ir.md —
ModelSpec/TypeSpecschema - docs/supported-annotations.md — what the IR can represent today
- docs/model-sources.md — Pydantic → IR ingestion in velarium (this package is the reverse direction)
- docs/stub-compatibility.md — how velotype renders
.pyitoday - Roadmap
- Repository README
- Documentation index
- velarium on PyPI — IR types morphra will consume
License
MIT — see LICENSE.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file morphra-0.6.0.tar.gz.
File metadata
- Download URL: morphra-0.6.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88ceeb78e1fefca62658e87130f8397fefa22171230c166aa1455caac0b8788c
|
|
| MD5 |
4778e03bd0d8def4da25d449cfc4921e
|
|
| BLAKE2b-256 |
37ca5cde1539edce88dc9b4779f90771511e02f15dd87ca368808cc4f3684c91
|
File details
Details for the file morphra-0.6.0-py3-none-any.whl.
File metadata
- Download URL: morphra-0.6.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11721698eb45ffe397dbdca6265d8689ece629d20e2a8747dee7514afb3c538b
|
|
| MD5 |
7937f60c0be01c48f8ea68d120bd95e8
|
|
| BLAKE2b-256 |
e92bbf830323cfcc8dd669e8850fbb5ea98468e9ff80fbafce6b6424c2d4a4a1
|