Skip to main content

Starlette API layer inherited from APIStar

Project description

Starlette API

Build Status codecov PyPI version

  • Version: 0.1.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.1.0.tar.gz (23.9 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.1.0-py3-none-any.whl (78.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for starlette-api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d56ab15fcfc820adf19fa7c612f0ef2d7954a099385fd44e7d277de7a5974948
MD5 6212baf12728038108b1b59d3f7fe8d6
BLAKE2b-256 6c65c64525e754f389744d35737599058b73761648ffd962fcf309dcd5436ec1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for starlette_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9eb84e2190406fb91b54042d0183fee26d4ab796164aee2fbbaea1cfcc7a6487
MD5 fa1e0dc7c99c5aa02431b54caf83200d
BLAKE2b-256 46b33339880d9141ddb04d61fa5790998463e5f39dd6e5d36be7f42007cc6407

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