morphra 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- morphra-0.1.0/.gitignore +61 -0
- morphra-0.1.0/LICENSE +21 -0
- morphra-0.1.0/PKG-INFO +38 -0
- morphra-0.1.0/README.md +18 -0
- morphra-0.1.0/morphra/__init__.py +3 -0
- morphra-0.1.0/morphra/py.typed +0 -0
- morphra-0.1.0/pyproject.toml +39 -0
morphra-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Byte-compiled / optimized
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
|
|
7
|
+
# Virtual environments
|
|
8
|
+
.venv/
|
|
9
|
+
venv/
|
|
10
|
+
ENV/
|
|
11
|
+
env/
|
|
12
|
+
|
|
13
|
+
# Packaging / build
|
|
14
|
+
build/
|
|
15
|
+
dist/
|
|
16
|
+
packages/*/dist/
|
|
17
|
+
*.egg-info/
|
|
18
|
+
*.egg
|
|
19
|
+
.eggs/
|
|
20
|
+
pip-wheel-metadata/
|
|
21
|
+
share/python-wheels/
|
|
22
|
+
|
|
23
|
+
# Hatch / setuptools
|
|
24
|
+
.hatch/
|
|
25
|
+
|
|
26
|
+
# Testing / coverage
|
|
27
|
+
.pytest_cache/
|
|
28
|
+
.coverage
|
|
29
|
+
.coverage.*
|
|
30
|
+
htmlcov/
|
|
31
|
+
.tox/
|
|
32
|
+
.nox/
|
|
33
|
+
coverage.xml
|
|
34
|
+
*.cover
|
|
35
|
+
.hypothesis/
|
|
36
|
+
|
|
37
|
+
# Type checkers / linters
|
|
38
|
+
.mypy_cache/
|
|
39
|
+
.dmypy.json
|
|
40
|
+
dmypy.json
|
|
41
|
+
.ruff_cache/
|
|
42
|
+
.pytype/
|
|
43
|
+
|
|
44
|
+
# IDEs / editors
|
|
45
|
+
.idea/
|
|
46
|
+
.vscode/
|
|
47
|
+
*.swp
|
|
48
|
+
*.swo
|
|
49
|
+
*~
|
|
50
|
+
|
|
51
|
+
# OS
|
|
52
|
+
.DS_Store
|
|
53
|
+
Thumbs.db
|
|
54
|
+
|
|
55
|
+
# Local env / secrets
|
|
56
|
+
.env
|
|
57
|
+
.env.*
|
|
58
|
+
!.env.example
|
|
59
|
+
|
|
60
|
+
# Cursor / tooling (optional local state)
|
|
61
|
+
*.log
|
morphra-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) stubber contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
morphra-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: morphra
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Velarium IR to Pydantic models — scaffold
|
|
5
|
+
Project-URL: Homepage, https://github.com/eddiethedean/velarium
|
|
6
|
+
Project-URL: Repository, https://github.com/eddiethedean/velarium
|
|
7
|
+
Project-URL: Documentation, https://github.com/eddiethedean/velarium/blob/main/docs/README.md
|
|
8
|
+
Project-URL: Changelog, https://github.com/eddiethedean/velarium/blob/main/CHANGELOG.md
|
|
9
|
+
Author: Velarium contributors
|
|
10
|
+
License: MIT
|
|
11
|
+
Keywords: ir,pydantic,typing,velarium
|
|
12
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
21
|
+
# morphra
|
|
22
|
+
|
|
23
|
+
**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.
|
|
24
|
+
|
|
25
|
+
| | |
|
|
26
|
+
|---|---|
|
|
27
|
+
| **PyPI** | `morphra` (scaffold) |
|
|
28
|
+
| **Status** | **Scaffold** — no code generation yet |
|
|
29
|
+
|
|
30
|
+
## Planned use cases
|
|
31
|
+
|
|
32
|
+
- FastAPI / service layers that want models aligned with the same IR as stubs
|
|
33
|
+
- Shared typing story between static stubs (**stubber**) and runtime validation
|
|
34
|
+
|
|
35
|
+
## See also
|
|
36
|
+
|
|
37
|
+
- [docs/valarium.md](../../docs/valarium.md) — backend placement in the pipeline
|
|
38
|
+
- [**velarium**](../velarium/README.md) — IR types morphra will consume
|
morphra-0.1.0/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# morphra
|
|
2
|
+
|
|
3
|
+
**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.
|
|
4
|
+
|
|
5
|
+
| | |
|
|
6
|
+
|---|---|
|
|
7
|
+
| **PyPI** | `morphra` (scaffold) |
|
|
8
|
+
| **Status** | **Scaffold** — no code generation yet |
|
|
9
|
+
|
|
10
|
+
## Planned use cases
|
|
11
|
+
|
|
12
|
+
- FastAPI / service layers that want models aligned with the same IR as stubs
|
|
13
|
+
- Shared typing story between static stubs (**stubber**) and runtime validation
|
|
14
|
+
|
|
15
|
+
## See also
|
|
16
|
+
|
|
17
|
+
- [docs/valarium.md](../../docs/valarium.md) — backend placement in the pipeline
|
|
18
|
+
- [**velarium**](../velarium/README.md) — IR types morphra will consume
|
|
File without changes
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "morphra"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
description = "Velarium IR to Pydantic models — scaffold"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [{ name = "Velarium contributors" }]
|
|
13
|
+
keywords = ["typing", "ir", "pydantic", "velarium"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Programming Language :: Python :: 3.10",
|
|
18
|
+
"Programming Language :: Python :: 3.11",
|
|
19
|
+
"Programming Language :: Python :: 3.12",
|
|
20
|
+
"Programming Language :: Python :: 3.13",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
[project.urls]
|
|
24
|
+
Homepage = "https://github.com/eddiethedean/velarium"
|
|
25
|
+
Repository = "https://github.com/eddiethedean/velarium"
|
|
26
|
+
Documentation = "https://github.com/eddiethedean/velarium/blob/main/docs/README.md"
|
|
27
|
+
Changelog = "https://github.com/eddiethedean/velarium/blob/main/CHANGELOG.md"
|
|
28
|
+
|
|
29
|
+
[tool.hatch.version]
|
|
30
|
+
path = "morphra/__init__.py"
|
|
31
|
+
|
|
32
|
+
[tool.hatch.build.targets.sdist]
|
|
33
|
+
include = ["morphra", "README.md"]
|
|
34
|
+
|
|
35
|
+
[tool.hatch.build.targets.sdist.force-include]
|
|
36
|
+
"../../LICENSE" = "LICENSE"
|
|
37
|
+
|
|
38
|
+
[tool.hatch.build.targets.wheel]
|
|
39
|
+
packages = ["morphra"]
|