Skip to main content

Starlette API layer inherited from APIStar

Project description

Starlette API

Build Status codecov PyPI version

  • Version: 0.1.6
  • 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


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.6.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

starlette_api-0.1.6-py3-none-any.whl (78.7 kB view details)

Uploaded Python 3

File details

Details for the file starlette-api-0.1.6.tar.gz.

File metadata

  • Download URL: starlette-api-0.1.6.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.10 CPython/3.7.1 Linux/4.18.16-arch1-1-ARCH

File hashes

Hashes for starlette-api-0.1.6.tar.gz
Algorithm Hash digest
SHA256 19cdbd96b3968fa42f86762123479c31043332da7baa52b9a32aabd8c4fe213e
MD5 04654267ec6aba6591406ecf70480749
BLAKE2b-256 737a1666e37bd4d0a8c2c3e7dd940f440399245b2969b0cb2f9bd0e75e4a78ec

See more details on using hashes here.

File details

Details for the file starlette_api-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: starlette_api-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 78.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.10 CPython/3.7.1 Linux/4.18.16-arch1-1-ARCH

File hashes

Hashes for starlette_api-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 200fb504c421b352531a6e6bd7aec3129c83c099388c0a8fcabb1b61021c1fd4
MD5 81e3caf1a529febf5ebc37b5a3d499e1
BLAKE2b-256 7b6eb2f64915ffb272693bd2a496fbaa806882daac0ffed09f5bc592741c8e02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page