Skip to main content

Starlette API layer inherited from APIStar

Project description

Starlette API

Build Status codecov PyPI version

  • Version: 0.1.7
  • 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.7.tar.gz (24.0 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.7-py3-none-any.whl (79.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: starlette-api-0.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 a60bc76e0c9151452a7897dc4da21ba0ca483ef8ac4b79edfc4b769b569445ec
MD5 1e451e9524976738d998ba0c3df647b2
BLAKE2b-256 4e9a2d8b7d5ed44f3bc2351c84faef8f672349c574cd9fddc747b2ad0a77d848

See more details on using hashes here.

File details

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

File metadata

  • Download URL: starlette_api-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 79.0 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 554fa3d55243e1823f2223523148e5fba7aa9a52f0573e3aac4150ce255e5677
MD5 148ddce3dac7117beb67dc42ad40d434
BLAKE2b-256 cbfe9f425ae5b7af2909e33dd015358efd2f2dbbdcd22b5ad69d920fef0d675e

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