Skip to main content

Python SDK for OpenResponses specification

Project description

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

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

openresponses_types-2.3.0.tar.gz (23.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.3.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openresponses_types-2.3.0.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openresponses_types-2.3.0.tar.gz
Algorithm Hash digest
SHA256 3d17d9a67c71a2288d2ac857c0a874ef067cafe4e2346bb2944fec46a431f1cd
MD5 88a0e7002d325d7f6fdc010db6aa6bfb
BLAKE2b-256 b5db7bb49640b24751d5314b4e69a1739ef8763ebf78b502d8381e45311273bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for openresponses_types-2.3.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.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openresponses_types-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79f5ac2f4a3fcc5e266f85f9631450e9fe6fc9dffa8e20ac9d98f972078a4294
MD5 306803dad5214450fc9a68c3fccef50d
BLAKE2b-256 657ee187f8bebc817524993a8ef014ad50ea5d23ac4bd07ec06358f31a5e0959

See more details on using hashes here.

Provenance

The following attestation bundles were made for openresponses_types-2.3.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 Pingdom Monitoring Sentry Error logging StatusPage Status page