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.0.tar.gz (12.8 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.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pydantic_asyncapi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 91aa6ff9ea5b4335a83274dd1d7043ce34a916e0c0024035e727ad6960ec5e4c
MD5 12ab3f8075a0ef3b1e6078e0065b8c0e
BLAKE2b-256 90c1d09d587d3668266c7c1879b8fcad2996c2e31c11087c1540735d3bd76979

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pydantic_asyncapi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c5563f4464a57c475f988cbf56167e3c0b7320d680aa3d13aa07ee03ac9e337
MD5 d84144886fe8233a739a792d3d07c40c
BLAKE2b-256 cf0fa8032356cd1fe5904fb55526233817590b3bfb1c53dfcf699f71581237a5

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