Skip to main content

Pydantic models of AsyncAPI schema

Project description

Tests Build License Mypy Ruff Pydantic v2 security: bandit Python Format PyPi

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:

  1. Validate AsyncAPI documents
  2. Generate AsyncAPI documents from code
  3. 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.3.1.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydantic_asyncapi-0.3.1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file pydantic_asyncapi-0.3.1.tar.gz.

File metadata

  • Download URL: pydantic_asyncapi-0.3.1.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pydantic_asyncapi-0.3.1.tar.gz
Algorithm Hash digest
SHA256 12a1dae308e58a7620a81740339b4165f0f9c5f435da992a9073fa68fcd50326
MD5 6562040c5fa8a1c1a3a8ac48afdbb253
BLAKE2b-256 8c2cf8c2e761e7204f245ae364486c6cd0ddbe0e61ef5b6c1e31ac6c07ad500d

See more details on using hashes here.

File details

Details for the file pydantic_asyncapi-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pydantic_asyncapi-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f8f982460778e2cd6d94f898da345034546259e83f0005f3573406a03aac0f0
MD5 093669fe095a2840c2709385d4fc9a93
BLAKE2b-256 22bc02e8561de9008e2631496e09bada04136a88a6125b917e935960c47b802b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page