Workspace-local Pydantic extraction utilities for valbridge
Project description
valbridge-pydantic-extractor
Workspace-local extraction utilities for turning Pydantic models into JSON Schema enriched for valbridge.
Installation
pip install valbridge-pydantic-extractor
CLI usage
valbridge-pydantic-extractor app.models:User --python-path .
The extractor prints JSON with:
schema: the extracted schema documentdiagnostics: import or extraction diagnostics when the target cannot be resolved cleanly
Options
--python-path <path>: prepend an import path before loading the target module--module-root <path>: add one or more module roots for project-local imports--stub-module <module>: install placeholder modules for optional imports during extraction--env KEY=VALUE: inject environment variables before importing the model
Notes
- the target must use
module:Classformat - the target class must inherit from
pydantic.BaseModel - extracted output preserves
x-valbridgeannotations needed by downstream code generation
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 valbridge_pydantic_extractor-0.4.0.tar.gz.
File metadata
- Download URL: valbridge_pydantic_extractor-0.4.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bb2911b5352d53985d3b4a366c10733ee1c6c76194e6ea48cab13dfe05ddca3
|
|
| MD5 |
dba274fc1f1d4e36b11bce32337fbb5c
|
|
| BLAKE2b-256 |
f2924e683908e5214e35f19979d9c5f16600590fafe3e28cf54ded537c456b28
|
Provenance
The following attestation bundles were made for valbridge_pydantic_extractor-0.4.0.tar.gz:
Publisher:
release-please.yml on vectorfy-co/valbridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
valbridge_pydantic_extractor-0.4.0.tar.gz -
Subject digest:
8bb2911b5352d53985d3b4a366c10733ee1c6c76194e6ea48cab13dfe05ddca3 - Sigstore transparency entry: 1247470987
- Sigstore integration time:
-
Permalink:
vectorfy-co/valbridge@859f8b735a9120512ea1908d3a9ae4b3bcfac61f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/vectorfy-co
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@859f8b735a9120512ea1908d3a9ae4b3bcfac61f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file valbridge_pydantic_extractor-0.4.0-py3-none-any.whl.
File metadata
- Download URL: valbridge_pydantic_extractor-0.4.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e594157ef434e5f0c6e2ce668e07fd3af9adfd5c991e2fe3b6dde0966e213cc3
|
|
| MD5 |
3dee58f328a0eaf302355e84b2a3ae92
|
|
| BLAKE2b-256 |
8a106d5a3c1d8dc4b66ab78c871f2d5b63592488cafbc063e25793ed1121aaa3
|
Provenance
The following attestation bundles were made for valbridge_pydantic_extractor-0.4.0-py3-none-any.whl:
Publisher:
release-please.yml on vectorfy-co/valbridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
valbridge_pydantic_extractor-0.4.0-py3-none-any.whl -
Subject digest:
e594157ef434e5f0c6e2ce668e07fd3af9adfd5c991e2fe3b6dde0966e213cc3 - Sigstore transparency entry: 1247471022
- Sigstore integration time:
-
Permalink:
vectorfy-co/valbridge@859f8b735a9120512ea1908d3a9ae4b3bcfac61f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/vectorfy-co
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@859f8b735a9120512ea1908d3a9ae4b3bcfac61f -
Trigger Event:
workflow_dispatch
-
Statement type: