Jentic OpenAPI Data Models
Project description
jentic-openapi-datamodels
Low-level and high-level data models for OpenAPI specifications.
Overview
This package provides data model classes for representing OpenAPI specification objects in Python. The models are designed to be:
- Dict-like: Implement
MutableMappingfor easy data access - Unvalidated: Separate parsing from validation for performance
- Extensible: Support OpenAPI specification extensions (x-* fields)
- Version-aware: Currently implements OpenAPI 3.0.x (3.1.x planned)
Structure
datamodels.low.v30: Low-level models for OpenAPI 3.0.x
Usage
from jentic.apitools.openapi.datamodels.low.v30 import Schema
# Create a schema from raw data
schema = Schema({
"type": "object",
"properties": {
"name": {"type": "string"}
}
})
# Access via properties
print(schema.type) # "object"
# Access via dict
print(schema["type"]) # "object"
# Convert back to dict
data = schema.to_mapping()
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 jentic_openapi_datamodels-1.0.0a12.tar.gz.
File metadata
- Download URL: jentic_openapi_datamodels-1.0.0a12.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0940755dca9161ddb60c2c31bb19d6c5be70f6f0cfd592814290fca15259162
|
|
| MD5 |
7a860755fd2841c3ba76a21142db5f7a
|
|
| BLAKE2b-256 |
d425d24c151466c3af281aa5ac942177e0e36add1ab98ff4a592e0e7569eb718
|
Provenance
The following attestation bundles were made for jentic_openapi_datamodels-1.0.0a12.tar.gz:
Publisher:
release.yml on jentic/jentic-openapi-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jentic_openapi_datamodels-1.0.0a12.tar.gz -
Subject digest:
a0940755dca9161ddb60c2c31bb19d6c5be70f6f0cfd592814290fca15259162 - Sigstore transparency entry: 651810198
- Sigstore integration time:
-
Permalink:
jentic/jentic-openapi-tools@f4ee13d255b5a57bdc132d508b2f1e9316efea53 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jentic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f4ee13d255b5a57bdc132d508b2f1e9316efea53 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file jentic_openapi_datamodels-1.0.0a12-py3-none-any.whl.
File metadata
- Download URL: jentic_openapi_datamodels-1.0.0a12-py3-none-any.whl
- Upload date:
- Size: 26.0 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 |
ca5bea10db1c40538e810d8bec3ed425c7d17650d161e7d968ccad854f268b58
|
|
| MD5 |
cc0be86deaf5b8f754645310776ff66c
|
|
| BLAKE2b-256 |
ac5c6de101efc2b9798e3a4ccdae4e09d4490177e62216a6a4832bf846dd7691
|
Provenance
The following attestation bundles were made for jentic_openapi_datamodels-1.0.0a12-py3-none-any.whl:
Publisher:
release.yml on jentic/jentic-openapi-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jentic_openapi_datamodels-1.0.0a12-py3-none-any.whl -
Subject digest:
ca5bea10db1c40538e810d8bec3ed425c7d17650d161e7d968ccad854f268b58 - Sigstore transparency entry: 651810312
- Sigstore integration time:
-
Permalink:
jentic/jentic-openapi-tools@f4ee13d255b5a57bdc132d508b2f1e9316efea53 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jentic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f4ee13d255b5a57bdc132d508b2f1e9316efea53 -
Trigger Event:
workflow_dispatch
-
Statement type: