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 hashes)
Built Distribution
Close
Hashes for pydantic_asyncapi-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 723747463ce2d1ed22ebd6431721ac9cf8ffcf98ea3104736ef5d1210a6c322d |
|
MD5 | b293979fbf58558d803b06e09852297c |
|
BLAKE2b-256 | 40b263f81d42ba4aaeab864967923e9952d8474e5a8f146dacfd273ee9067cfc |