Skip to main content

Starlette API layer inherited from APIStar

Project description

Starlette API

Build Status codecov PyPI version

  • Version: 0.2.0
  • 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.2.0.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

starlette_api-0.2.0-py3-none-any.whl (80.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for starlette-api-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8aeb18a9e9816f4637a81cc66a98621e30a9182269e080c53aee2867f9f9ad78
MD5 83d1542592d4379fc1df76b8ce8418ae
BLAKE2b-256 fdd620135825608d64c99788dc67b5a28cb67948a7ab80aa398d27565a0c8574

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for starlette_api-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03ccaf9a2f0d7e52df66461648c637accbafd93e0b9a83d996eee8403be6291b
MD5 3629dc0ed750b3d0010230a819a6e91c
BLAKE2b-256 0731146e82d62a7eb69d28889cbc0924c93d16fbc86f290e3cc6040d50b92d91

See more details on using hashes here.

Supported by

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