Skip to main content

Lightweight API framework using an OpenAPI spec for routing and validation.

Project description

PyAPI Server

PyAPI Server is a Python library for serving REST APIs based on OpenAPI specifications. It is based on Starlette and is functionally very similar to connexion, except that it aims to be fully ASGI-compliant.

WARNING: This is still a work in progress and not quite ready for production usage. Until version 1.0 is released, any new release can be expected to break backward compatibility.

Quick Start

from pyapi.server import Application
from some.path import endpoints

app = Application.from_file("path/to/openapi.yaml", module=endpoints)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyapi_server-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file pyapi_server-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyapi_server-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Linux/5.15.0-46-generic

File hashes

Hashes for pyapi_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c8eafaff5db6e40e85e504379ba4b9cc4c8e5990070d31a5326c9a4565d1b620
MD5 15d395682b65d502857d78204f07945b
BLAKE2b-256 88162113d9bdc057a0eda2eb297390568c0b7f0a374355ed1d00c2dbec9739ad

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