Skip to main content

Pydantic models of AsyncAPI schema

Project description

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

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.0.1.tar.gz (11.1 kB view hashes)

Uploaded Source

Built Distribution

pydantic_asyncapi-0.0.1-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

Supported by

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