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.2.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.2.0-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: valbridge_core-1.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 d8bd9949e1612a0749f5bbb1dbd7c609446f2aff4965129b5fb76f7396d868bf
MD5 9ce4cf0e884e3e063faa66c407574183
BLAKE2b-256 1a0d363b072a6bcc92344814f380a852c44b145b3b8be89a633059b632144b9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for valbridge_core-1.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: valbridge_core-1.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0f90bac86ef6d918b30b47f966c9ace0319fd17e67656b4c17bb44c9cf1e0e1
MD5 5fee4da78882471fb22a19abbf6dec74
BLAKE2b-256 7515d52bdcc3a64c89928ed079872a9f71e6f9578e9283f1ef599b822f471f4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for valbridge_core-1.2.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