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.1.tar.gz
(11.3 kB
view hashes)
Built Distribution
Close
Hashes for pydantic_asyncapi-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eefb5e37f27556cc42809b58481d6e3416cca3c2219b4155a1a67c4da747e137 |
|
MD5 | 35eff4a99d3d58a2a7754f3ca75422ea |
|
BLAKE2b-256 | 20a59648ef0235d78ca1220e8c8bddc9067092664336bc4bc4105d94d63667d6 |