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.2.1.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

pydantic_asyncapi-0.2.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

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

Hashes for pydantic_asyncapi-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d9894c09b5d5ad308d42da01c5f75f6dd0425d47744cd58e6abadc999b5edbe2
MD5 4b0e79cdbcad2b1cc11694d1b625aaa3
BLAKE2b-256 2b86699fb6125a321c536f3a17d4623bd0e743fb41fe240ca842cacb9e898a2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pydantic_asyncapi-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eefb5e37f27556cc42809b58481d6e3416cca3c2219b4155a1a67c4da747e137
MD5 35eff4a99d3d58a2a7754f3ca75422ea
BLAKE2b-256 20a59648ef0235d78ca1220e8c8bddc9067092664336bc4bc4105d94d63667d6

See more details on using hashes here.

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