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.2.0.tar.gz
(11.3 kB
view hashes)
Built Distribution
Close
Hashes for pydantic_asyncapi-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98aff8975b398c30c42ff7b529b56aa1ce7a7149adfa9b58c64d745c6c83be04 |
|
MD5 | 47cb55456d1af02bf85a4530c71c1aca |
|
BLAKE2b-256 | 49668d7ededfa72beb96260bc6a0a191db0c0f1fe1866eec56d07a2d5e6cb841 |