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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openresponses_types-2.4.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

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

openresponses_types-2.4.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file openresponses_types-2.4.0.tar.gz.

File metadata

  • Download URL: openresponses_types-2.4.0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for openresponses_types-2.4.0.tar.gz
Algorithm Hash digest
SHA256 cd55e7fa17230d8edd46e254ef34666ca6f250b7efa3712a110aac546c7dc8d5
MD5 9534a9effe425f8a1e1a464875f779d7
BLAKE2b-256 dbebcb4a855a27c6cf04af2d47c896b6549040a86bb75e6a59cb687a8bcf19aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for openresponses_types-2.4.0.tar.gz:

Publisher: release.yml on mozilla-ai/openresponses-python

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

File details

Details for the file openresponses_types-2.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openresponses_types-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 186406592bc115bf12d9ee88320f8051ab1ade0a8fa8941fd1e44b0be16684f1
MD5 6829543603b9623affd1c3a102608cd8
BLAKE2b-256 5bef2605d7219b0fa648e66ab15043bae492f4e8d3c4de4fdad85fc5eadb95a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for openresponses_types-2.4.0-py3-none-any.whl:

Publisher: release.yml on mozilla-ai/openresponses-python

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 Sentry Error logging StatusPage Status page