Skip to main content

Core IR types, diagnostics, and conversion utilities for valbridge

Project description

valbridge-core

Core intermediate-representation types, diagnostics, and JSON Schema parsing utilities for the valbridge Python toolchain.

PyPI License


Installation

pip install valbridge-core
# or
uv add valbridge-core

What it provides

  • JSON Schema parser -- parse, parse_schema, and parse_enriched convert JSON Schema into the valbridge IR
  • IR node types -- shared intermediate-representation types used by all Python adapters
  • Diagnostics -- structured diagnostic codes matching the cross-runtime fidelity contract
  • Adapter CLI helpers -- stdin/stdout protocol utilities for adapter processes

Usage

from valbridge_core import parse_schema

schema = {
    "type": "object",
    "properties": {
        "id": {"type": "string", "format": "uuid"},
        "enabled": {"type": "boolean"}
    },
    "required": ["id"]
}

node = parse_schema(schema)

Related packages

Package Purpose
valbridge Runtime client for generated Python validators
valbridge-pydantic Render valbridge IR into Pydantic models
@vectorfyco/valbridge-core TypeScript equivalent

Learn more

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

valbridge_core-1.1.0.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

valbridge_core-1.1.0-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file valbridge_core-1.1.0.tar.gz.

File metadata

  • Download URL: valbridge_core-1.1.0.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for valbridge_core-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5bad7fd661021cccc9a451a18e5c2016e25cf3691570cf9ffb5b9c3ad08e5724
MD5 3275702ba66db2136c16ded7c57126c5
BLAKE2b-256 5bbb7a67efc904596726ccbb245af2706fe8b0f59369279413d0508bb06b8248

See more details on using hashes here.

Provenance

The following attestation bundles were made for valbridge_core-1.1.0.tar.gz:

Publisher: release-please.yml on vectorfy-co/valbridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file valbridge_core-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: valbridge_core-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for valbridge_core-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ff13710db00d3ca2a5e4838666e1734e1799675c4dc2ac75b11dccd1f24f4bd
MD5 74b3d64e6f55fec6cb56ec6dce0bdedd
BLAKE2b-256 8b7392de6106e66f3d553bb72177cdcb2f81b7b34b1d6e33c89feba502eeeb7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for valbridge_core-1.1.0-py3-none-any.whl:

Publisher: release-please.yml on vectorfy-co/valbridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page