Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
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/migration-ir.md — JSON
format_versionfor IR snapshots - 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.
Metadata
Release files for morphra 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| morphra-0.8.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| morphra-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / morphra-0.8.0.tar.gz
| Download URL | morphra-0.8.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04ed9a618e737d907a3909cf02d0141c064f2f99b049e07ab681b055c878b4d9
|
|
BLAKE2b-256 checksum How to use checksums |
0fa4cf90e96ae91a830b10239b5a7cb6ea074c9a2f4c3be8222658f0912e355d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / morphra-0.8.0-py3-none-any.whl
| Download URL | morphra-0.8.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9cbd40bd8d239249b9ffbc1c3b194eab66710e47c563c1de54c9dfa6bacca42
|
|
BLAKE2b-256 checksum How to use checksums |
1cb00a63f5519c8d6280faf457174476673dc30fb57be01f495f543834ddc50c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|