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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyapi_server-0.7.0.tar.gz
(9.7 kB
view hashes)
Built Distribution
Close
Hashes for pyapi_server-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bfe841e0f2f2c76657e6d89eb59249e148dd4d412fd9a2bf232a67597d201f6 |
|
MD5 | 3ce463a5fbf2af9b8d0510d07160c49b |
|
BLAKE2b-256 | c65a63cb40b3b23ae3ca9f3ef2c8c07fc9642ad78bbb33be19fcb91e48995961 |