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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pyapi_server-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: pyapi_server-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.8.10 Linux/5.15.0-46-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc25f5a44b7492022fb7483720e71fe58e581a57d654e50870c25b9ab592dfed |
|
MD5 | f7746178cf692d78aff969d9ffeabe66 |
|
BLAKE2b-256 | 22f17015c1a74133da7de6f8f49787354b609e55849b769d3cac059d941dd38b |