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.1.0.tar.gz
(11.2 kB
view details)
Built Distribution
File details
Details for the file pydantic_asyncapi-0.1.0.tar.gz
.
File metadata
- Download URL: pydantic_asyncapi-0.1.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38c9a41ed3619f08b2c682ab580f56a49553d3b85c67e834ed2b99e640b03e63 |
|
MD5 | 81847e7750ccb427c4dad93d40ae1b36 |
|
BLAKE2b-256 | 3bd3c5aae1cca157adb5b20df749e9f15f0d0b98a7a24e00a716edc895fd90e8 |
Provenance
File details
Details for the file pydantic_asyncapi-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pydantic_asyncapi-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f133ce4e2dbbfef7958785fdf01eca4c5e07b0d5fe613cd852defe078a32a58b |
|
MD5 | dc4b202f8c535833c6c224aec4a02b6f |
|
BLAKE2b-256 | e46f3671183e41b90d54c43433fd53c8893bc898d407f0d3c672023109233840 |