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.3-py3-none-any.whl
.
File metadata
- Download URL: pyapi_server-0.2.3-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.8.10 Linux/5.15.0-48-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 210eff87b282f6a3617121ea9f6f21cdb5c6c20831dc66c4465f7a57a2cd620f |
|
MD5 | 83f5ca53ea57fb35b4100d4eeef3def6 |
|
BLAKE2b-256 | 2a2a133d83074e26234a2db3bf118e5af344c8aba87b7ef803f7a23b19b8226e |