Python SDK for OpenResponses specification
Project description
OpenResponses Types
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openresponses_types-2.3.0.post1.tar.gz.
File metadata
- Download URL: openresponses_types-2.3.0.post1.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11b8896d3621d2ac2439f6ff106f34ddcb1bbd517c317a6c852a9df2e98a0753
|
|
| MD5 |
ab4fc702e404b952887ad3dff531d0d9
|
|
| BLAKE2b-256 |
d926b612c3215f5599714fa94d63eb5ee59b4eb66dbdeeaf86bb4d848359484d
|
Provenance
The following attestation bundles were made for openresponses_types-2.3.0.post1.tar.gz:
Publisher:
release.yml on mozilla-ai/openresponses-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openresponses_types-2.3.0.post1.tar.gz -
Subject digest:
11b8896d3621d2ac2439f6ff106f34ddcb1bbd517c317a6c852a9df2e98a0753 - Sigstore transparency entry: 845096565
- Sigstore integration time:
-
Permalink:
mozilla-ai/openresponses-python@b75712110dc20b711b84b76578fd17d8dcd66a53 -
Branch / Tag:
refs/tags/v2.3.0.post1 - Owner: https://github.com/mozilla-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b75712110dc20b711b84b76578fd17d8dcd66a53 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openresponses_types-2.3.0.post1-py3-none-any.whl.
File metadata
- Download URL: openresponses_types-2.3.0.post1-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88f6abcef9cad839203abff420dd080978bf6eb33cc06ddc5d78da4ccdba7613
|
|
| MD5 |
210bd99ae17c1334df230e87674c4dd3
|
|
| BLAKE2b-256 |
b25fe16dad89ed24f586da5b01b9b206d3adbf21fe1af8e4dc55d5b93158fde6
|
Provenance
The following attestation bundles were made for openresponses_types-2.3.0.post1-py3-none-any.whl:
Publisher:
release.yml on mozilla-ai/openresponses-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openresponses_types-2.3.0.post1-py3-none-any.whl -
Subject digest:
88f6abcef9cad839203abff420dd080978bf6eb33cc06ddc5d78da4ccdba7613 - Sigstore transparency entry: 845096570
- Sigstore integration time:
-
Permalink:
mozilla-ai/openresponses-python@b75712110dc20b711b84b76578fd17d8dcd66a53 -
Branch / Tag:
refs/tags/v2.3.0.post1 - Owner: https://github.com/mozilla-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b75712110dc20b711b84b76578fd17d8dcd66a53 -
Trigger Event:
push
-
Statement type: