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 details)
Built Distribution
File details
Details for the file pydantic_asyncapi-0.2.1.tar.gz
.
File metadata
- Download URL: pydantic_asyncapi-0.2.1.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9894c09b5d5ad308d42da01c5f75f6dd0425d47744cd58e6abadc999b5edbe2 |
|
MD5 | 4b0e79cdbcad2b1cc11694d1b625aaa3 |
|
BLAKE2b-256 | 2b86699fb6125a321c536f3a17d4623bd0e743fb41fe240ca842cacb9e898a2c |
Provenance
File details
Details for the file pydantic_asyncapi-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: pydantic_asyncapi-0.2.1-py3-none-any.whl
- Upload date:
- Size: 10.8 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 | eefb5e37f27556cc42809b58481d6e3416cca3c2219b4155a1a67c4da747e137 |
|
MD5 | 35eff4a99d3d58a2a7754f3ca75422ea |
|
BLAKE2b-256 | 20a59648ef0235d78ca1220e8c8bddc9067092664336bc4bc4105d94d63667d6 |