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.8.0.tar.gz
(10.1 kB
view details)
Built Distribution
File details
Details for the file pyapi_server-0.8.0.tar.gz
.
File metadata
- Download URL: pyapi_server-0.8.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.17.1 CPython/3.8.10 Linux/5.15.0-92-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d890f1adaf0d9539897602f4488655a292b7207fc31d03211fe5b0df07c5f998 |
|
MD5 | aef53678b33d98205267da26b6c5b032 |
|
BLAKE2b-256 | 47438e58b5099f3f42c3270dd300da461005ad1f1cd173f5c04163399dea6f0d |
File details
Details for the file pyapi_server-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: pyapi_server-0.8.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.17.1 CPython/3.8.10 Linux/5.15.0-92-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b4843b9616f78f52282d4aec1658d3e55cca83622766ae59343beff38706e98 |
|
MD5 | a10f55f52bdd6c7a2ed506f3cad47391 |
|
BLAKE2b-256 | 10a2df668079e707932c11c9cc2a1dc21573708886364d896317e657bc6fde52 |