Skip to main content

Build Status

Python 3.7

pydantic-openapi-helper

A small module to add additional post-processing to the OpenAPI schemas that are generated by Pydantic.

This module is designed to work with Ladybug Tools schema libraries such as honeybee-schema, dragonfly-schema and queenbee but might be also helpful for other projects.

The most important feature of the library is to generate an OpenAPI schema to use polymorphism. It adds referenced values to subclasses using allOf field as explained in this post: https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism

We are not intending to support the development for make this library work universally but you are more than welcome to fork and make your own version of the library.

installation

python3 -m pip install pydantic-openapi-helper

Metadata

Release files for pydantic-openapi-helper 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydantic-openapi-helper 1.0.5
File Size Uploaded Provenance Actions
pydantic_openapi_helper-1.0.5.tar.gz 17.0 kB Without provenance Details for pydantic_openapi_helper-1.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydantic-openapi-helper 1.0.5
File Interpreter ABI Platform Actions
pydantic_openapi_helper-1.0.5-py2.py3-none-any.whl Python 3, Python 2 none any Details for pydantic_openapi_helper-1.0.5-py2.py3-none-any.whl

Total release size: 27.4 kB

Release files / pydantic_openapi_helper-1.0.5.tar.gz

Download URL pydantic_openapi_helper-1.0.5.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
25400fe0dcb458fa10a637a0367930a38decb73788ac38cf27c26100c8bbece7
BLAKE2b-256 checksum
How to use checksums
6f6984b4096f10d3de88053b8ef5f776c98463d2a50d4f98b377ceaa4df177c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.13

Release files / pydantic_openapi_helper-1.0.5-py2.py3-none-any.whl

Download URL pydantic_openapi_helper-1.0.5-py2.py3-none-any.whl
Size 10.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5cefc7bb5f8ebcc722db63ceb2723e7b32c541048d9959d7815aeade3611ef04
BLAKE2b-256 checksum
How to use checksums
a020f85c4bac41a7ab513524093007ac502fc0b308bdddfd262b5a7dd1c32947
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.13

Security for pydantic-openapi-helper 1.0.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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