Skip to main content

OpenResponses Types

PyPI version Python versions License

Python SDK providing Pydantic models for the OpenResponses API specification.

Installation

pip install openresponses-types

Development

Setup

# Clone the repository
git clone https://github.com/mozilla-ai/openresponses-python.git
cd openresponses-python

# Create virtual environment and install dependencies
uv venv && source .venv/bin/activate
uv sync --group dev

Generate Types

The types are generated from the OpenResponses OpenAPI specification:

# Generate types (fetches spec if changed)
uv run python scripts/generate_types.py

# Force regeneration
uv run python scripts/generate_types.py --force

# Check if spec has changed
uv run python scripts/generate_types.py --check

# Show current spec hash
uv run python scripts/generate_types.py --version

Versioning

This package follows Semantic Versioning:

  • Major: Breaking changes to helper types/API
  • Minor: New types from spec updates, new helpers
  • Patch: Bug fixes, documentation updates

The package includes a __spec_hash__ attribute to track which OpenAPI spec version was used to generate the types.

License

Apache 2.0 - see LICENSE for details.

Links

Metadata

Release files for openresponses-types 2.4.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 openresponses-types 2.4.0
File Size Uploaded
openresponses_types-2.4.0.tar.gz 22.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openresponses-types 2.4.0
File Interpreter ABI Platform
openresponses_types-2.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.2 kB

Release files / openresponses_types-2.4.0.tar.gz

Download URL openresponses_types-2.4.0.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cd55e7fa17230d8edd46e254ef34666ca6f250b7efa3712a110aac546c7dc8d5
BLAKE2b-256 checksum
How to use checksums
dbebcb4a855a27c6cf04af2d47c896b6549040a86bb75e6a59cb687a8bcf19aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 5, 2026.

Transparency log

Release files / openresponses_types-2.4.0-py3-none-any.whl

Download URL openresponses_types-2.4.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
186406592bc115bf12d9ee88320f8051ab1ade0a8fa8941fd1e44b0be16684f1
BLAKE2b-256 checksum
How to use checksums
5bef2605d7219b0fa648e66ab15043bae492f4e8d3c4de4fdad85fc5eadb95a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.4.0 This release

2 release files

2.3.0

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