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 0.2.0

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 0.2.0
File Size Uploaded Provenance Actions
pydantic-openapi-helper-0.2.0.tar.gz 14.4 kB Without provenance Details for pydantic-openapi-helper-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 23.8 kB

Release files / pydantic-openapi-helper-0.2.0.tar.gz

Download URL pydantic-openapi-helper-0.2.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9b194d9367c9ed94ed0a455f08b21a4542c7f78c5c4f7f013732fd983a6dab2c
BLAKE2b-256 checksum
How to use checksums
24fe6f53bb222a2f7c71cef18a3712d0410067c839d2c208d3ad4ab2f01d7a55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

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

Download URL pydantic_openapi_helper-0.2.0-py2.py3-none-any.whl
Size 9.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
423b264743251fb1bb04cb2f6e7ac02ccea84a2b2df965975307dc1989df8f4d
BLAKE2b-256 checksum
How to use checksums
6e685b121909edbe5e70d6de00913d1577aae8443358947f576132a433bffd5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

Security for pydantic-openapi-helper 0.2.0

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