Pydantic models of AsyncAPI schema
Project description
Pydantic AsyncAPI
Pydantic models for AsyncAPI
Installation
pip install pydantic-asyncapi
About
This package provides Pydantic models for AsyncAPI.
Currently versions 2.6.0
and 3.0.0
are supported.
The package can be used to:
- Validate AsyncAPI documents
- Generate AsyncAPI documents from code
- Create Python frameworks/applications based on AsyncAPI specification
Usage
from pydantic_asyncapi import AsyncAPI
# v2 or v3 based on on 'asyncapi' version field
model = AsyncAPI.model_validate(...)
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
pydantic_asyncapi-0.0.1.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file pydantic_asyncapi-0.0.1.tar.gz
.
File metadata
- Download URL: pydantic_asyncapi-0.0.1.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59bdd3b4b9de09ff7614c5b8e7b5f284088bc8549d8d34204d1c57bf8cfab860 |
|
MD5 | 2621fa334b50c99ca3f6c134d565d6e0 |
|
BLAKE2b-256 | 8ef9c6bb8dea00249bc71850d96e06ca9c9044602905741a5616a810e3d3a4c4 |
Provenance
File details
Details for the file pydantic_asyncapi-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pydantic_asyncapi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 723747463ce2d1ed22ebd6431721ac9cf8ffcf98ea3104736ef5d1210a6c322d |
|
MD5 | b293979fbf58558d803b06e09852297c |
|
BLAKE2b-256 | 40b263f81d42ba4aaeab864967923e9952d8474e5a8f146dacfd273ee9067cfc |