Skip to main content

Pydantic models of AsyncAPI schema

Project description

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

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

Uploaded Source

Built Distribution

pydantic_asyncapi-0.1.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydantic_asyncapi-0.1.0.tar.gz
  • Upload date:
  • Size: 11.2 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.1.0.tar.gz
Algorithm Hash digest
SHA256 38c9a41ed3619f08b2c682ab580f56a49553d3b85c67e834ed2b99e640b03e63
MD5 81847e7750ccb427c4dad93d40ae1b36
BLAKE2b-256 3bd3c5aae1cca157adb5b20df749e9f15f0d0b98a7a24e00a716edc895fd90e8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pydantic_asyncapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f133ce4e2dbbfef7958785fdf01eca4c5e07b0d5fe613cd852defe078a32a58b
MD5 dc4b202f8c535833c6c224aec4a02b6f
BLAKE2b-256 e46f3671183e41b90d54c43433fd53c8893bc898d407f0d3c672023109233840

See more details on using hashes here.

Provenance

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