Skip to main content

generate OpenAPI document and validate request & response with Python annotations.

Project description

Spectree

GitHub Actions pypi downloads versions Yet another library to generate OpenAPI document and validate request & response with Python annotations.

Features

  • Less boilerplate code, annotations are really easy-to-use :sparkles:
  • Generate API document with Redoc UI or Swagger UI :yum:
  • Validate query, JSON data, response data with pydantic :wink:

Quick Start

install with pip: pip install spectree

Demo

Project details


Release history Release notifications | RSS feed

This version

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spectree-0.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

spectree-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spectree-0.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for spectree-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4a5eb4beccacf0cf2852e6901ac0464d94d882d837a9a739aa009dca228dce97
MD5 19f32f19c2e00e8156509cc77d5b7f58
BLAKE2b-256 05bba427823c32930c9cf03b02837674cbe4ccfa65fe78b9f79e33899147f68d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spectree-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for spectree-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c851453f6413068976550f4e56a29781d036e363c93d609daeffd2caaf349393
MD5 4da96d5c5ee7a2a4b4b21ba2c9b3adb6
BLAKE2b-256 df3a15fff52440d538763fd6da08343f2774d0ea01bd36b00f471ae40baee706

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