Skip to main content

Core IR types, diagnostics, and enriched schema parsing 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.0.2.tar.gz (31.6 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.0.2-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: valbridge_core-1.0.2.tar.gz
  • Upload date:
  • Size: 31.6 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.0.2.tar.gz
Algorithm Hash digest
SHA256 a17f6ccc502db239639d6f477a3d530c11c39b65d15f143d0985448978b21aa0
MD5 87489c20808a0d06b3950bbc006d0692
BLAKE2b-256 f28bcdb42b7a5d3222e0a6a3154ff6fabbca1eb48d6a4141a6ab69d933891fc2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: valbridge_core-1.0.2-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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 369d1db9d696ccbb1b447f9f17a8b7ee39c96581c399c2499ff2285f45bd159c
MD5 a0a8dc06fc406e73be5dda22abb2da1a
BLAKE2b-256 ca39c84d95cacc1a99c7c31bdbf001af5f092b07e059d189caa625739ca05367

See more details on using hashes here.

Provenance

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