Installation
pip install valbridge
# or
uv add valbridge
Quick start
from valbridge import create_valbridge
from _valbridge import schemas
valbridge = create_valbridge(schemas)
# Full namespace:id lookup
user_validator = valbridge("user:Profile")
# Validate data (Pydantic under the hood)
user_validator.validate_python({"name": "Alice", "email": "alice@example.com"})
Default namespace
valbridge = create_valbridge(schemas, default_namespace="user")
# Shorthand for "user:Profile"
profile = valbridge("Profile")
# Full key for other namespaces
config = valbridge("settings:AppConfig")
Key behaviors
- Runtime lookup -- only entries with a runtime validator appear in the schemas object
- Type safety -- invalid keys raise clear errors pointing to
valbridge generate - Pydantic integration -- generated validators are native Pydantic BaseModel classes
Related packages
| Package | Purpose |
|---|---|
valbridge-core |
Core IR and JSON Schema parser |
valbridge-pydantic |
Pydantic adapter for code generation |
valbridge-cli |
CLI to generate validators |
@vectorfyco/valbridge |
TypeScript equivalent |
Learn more
Metadata
Release files for valbridge 1.2.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 | Provenance | Actions |
|---|---|---|---|---|
| valbridge-1.2.0.tar.gz | 5.0 kB | With provenance | Details for valbridge-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| valbridge-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for valbridge-1.2.0-py3-none-any.whl |
Total release size: 9.2 kB
Release files / valbridge-1.2.0.tar.gz
| Download URL | valbridge-1.2.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1bc808cc18db9c4867b0fab758e8b54d5aac31beb3444985ffbe29e471a6ef66
|
|
BLAKE2b-256 checksum How to use checksums |
934acd82d694137c7f2cef23b74c994fb4dd77a83c40fab4a788b55bbde2d770
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 10, 2026.
Transparency logRelease files / valbridge-1.2.0-py3-none-any.whl
| Download URL | valbridge-1.2.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c2e7ffb0cdffb2942d52ead44be6903372505fb0f312077c75a08170a3e8efc
|
|
BLAKE2b-256 checksum How to use checksums |
e896020990b5d0d67e405bda7f8c607eb1d404a127d8b6528a8db92b205acda1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 10, 2026.
Transparency logSecurity for valbridge 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for valbridge-1.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.