Starlette API layer inherited from APIStar
Project description
Starlette API
- Version: 0.1.3
- Status: Production/Stable
- Author: José Antonio Perdiguero López
Features
That library aims to bring a layer on top of Starlette framework to provide useful mechanism for building APIs. It's based on API Star, inheriting some nice ideas like:
- Schema system based on Marshmallow that allows to declare the inputs and outputs of endpoints and provides a reliable way of validate data against those schemas.
- Dependency Injection that ease the process of managing parameters needed in endpoints.
- Components as the base of the plugin ecosystem, allowing you to create custom or use those already defined in your endpoints, injected as parameters.
- Starlette ASGI objects like
Request
,Response
,Session
and so on are defined as components and ready to be injected in your endpoints.
Credits
That library started mainly as extracted pieces from APIStar and adapted to work with Starlette.
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
starlette-api-0.1.3.tar.gz
(23.9 kB
view hashes)
Built Distribution
Close
Hashes for starlette_api-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a6f1adc58c75b3a1dfdbc610dd984373a3d4a95f7f6af82af0408ee0115dfbf |
|
MD5 | deb859acb55b2788d59e5508be311375 |
|
BLAKE2b-256 | 50f16de87f7245b0c51bd5386f47699a221e6167cf6f10de1c4ab0971d46509b |