Skip to main content

oxa-types

Pydantic models generated from the OXA JSON Schema.

Installation

pip install oxa-types

Or with uv:

uv add oxa-types

Usage

from oxa_types import Document, Paragraph, Text, Block, Inline

# Create a simple document
doc = Document(
    metadata={},
    title=[Text(value="Hello World")],
    children=[
        Paragraph(children=[Text(value="This is a paragraph.")])
    ]
)

# Serialize to JSON
print(doc.model_dump_json(indent=2))

Development

This package is automatically generated from the OXA JSON Schema. Do not edit the generated files directly.

To regenerate the types:

pnpm codegen py

Metadata

Release files for oxa-types 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oxa-types 0.1.0
File Size Uploaded
oxa_types-0.1.0.tar.gz 18.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oxa-types 0.1.0
File Interpreter ABI Platform
oxa_types-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.2 kB

Release files / oxa_types-0.1.0.tar.gz

Download URL oxa_types-0.1.0.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f23637d0c598e8b03fae726bc7f02b5f8e342d93aa00b9bd384d51f88e7e1d18
BLAKE2b-256 checksum
How to use checksums
3e3961457ca3f1a261d3e5ff1c7faeabf264edfd28ff10e41d81bb5d5e563f92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 24, 2025.

Transparency log

Release files / oxa_types-0.1.0-py3-none-any.whl

Download URL oxa_types-0.1.0-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c9175895c4980b93af732602d892dcdad383d9ffbd96b7b72fa7bb409e17b68
BLAKE2b-256 checksum
How to use checksums
c1f8686a79195000c87780e6fc0dfb34775bd226c01d595eb62f948eb0312b73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 24, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page