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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydantic_asyncapi-0.0.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for pydantic_asyncapi-0.0.1.tar.gz
Algorithm Hash digest
SHA256 59bdd3b4b9de09ff7614c5b8e7b5f284088bc8549d8d34204d1c57bf8cfab860
MD5 2621fa334b50c99ca3f6c134d565d6e0
BLAKE2b-256 8ef9c6bb8dea00249bc71850d96e06ca9c9044602905741a5616a810e3d3a4c4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pydantic_asyncapi-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 723747463ce2d1ed22ebd6431721ac9cf8ffcf98ea3104736ef5d1210a6c322d
MD5 b293979fbf58558d803b06e09852297c
BLAKE2b-256 40b263f81d42ba4aaeab864967923e9952d8474e5a8f146dacfd273ee9067cfc

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