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.3.4.tar.gz
(9.2 kB
view details)
Built Distribution
File details
Details for the file pyapi-server-0.3.4.tar.gz
.
File metadata
- Download URL: pyapi-server-0.3.4.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 026c3ae968f9b889f5d5a721f760e39c9e1094aa004e86b664b39946059ac021 |
|
MD5 | 1f497620bc8f03942b0296756a18558e |
|
BLAKE2b-256 | 0efcc7a8105801d65fabce78a43c630dc34829ec068c5760929cbdbb2771d3e4 |
File details
Details for the file pyapi_server-0.3.4-py3-none-any.whl
.
File metadata
- Download URL: pyapi_server-0.3.4-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f373f1ff7cfba53e9e88941a4017190c01f473bb4213470a3d975107610cac5 |
|
MD5 | a9bff6e74eda126e04147520450bd4bf |
|
BLAKE2b-256 | af8659db79e1f0260103a8a6c1ced51ab7eb41d6ced73fc90cbe4b26a9fd27dc |