Skip to main content

A better API layer for python

Project description

This is very much a work in progress - I'll update this readme when it is production ready.

Philosophy: Get the most from AWS but allow local testing / not be completely dependent on it.

Actions Mounts, Handlers and Apps

Authorization should be explicit! That is why we inject it - one of the bits of magic

Why not use aws directly? Vendor lock in and lack of local test ability Less flexibility than fastapi - common elements.

Why not include explicit caching? The more I think about this the more I think it is needed.

Authentication vs Authorization

Default implementation mostly meant to be as annoying as possible while still working

TODO:

  • Finish aws integration
  • Test Coverage
  • Caching
  • Example / Mock interfaces - provide example inputs in action for documentation / mocking / unit test generation

rate limiting needs persistence, but can be in access_control - maybe add to persisty goodies

python -m servey --sls-generate

pip install setuptools wheel
python setup.py sdist bdist_wheel
pip install twine
python -m twine upload dist/*

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

servey-2.0.0a34.tar.gz (391.2 kB view details)

Uploaded Source

Built Distribution

servey-2.0.0a34-py3-none-any.whl (430.7 kB view details)

Uploaded Python 3

File details

Details for the file servey-2.0.0a34.tar.gz.

File metadata

  • Download URL: servey-2.0.0a34.tar.gz
  • Upload date:
  • Size: 391.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.0

File hashes

Hashes for servey-2.0.0a34.tar.gz
Algorithm Hash digest
SHA256 b83410c2a6518a7de6bd3ad96d8d90b8634abd4fda6ba373b50fbc2df71c9c3c
MD5 2ad50a6522ae5331023acab54f34f4a3
BLAKE2b-256 5d4a3952e1ace8b36f436ffb438563fc955217e21b1e3f8473654923d845e7f7

See more details on using hashes here.

File details

Details for the file servey-2.0.0a34-py3-none-any.whl.

File metadata

  • Download URL: servey-2.0.0a34-py3-none-any.whl
  • Upload date:
  • Size: 430.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.0

File hashes

Hashes for servey-2.0.0a34-py3-none-any.whl
Algorithm Hash digest
SHA256 64fe7f43e879c8229d641d0f4c3d15aa7987955fad914813dd8966bc53474e6d
MD5 80acd2f77b5221aed2c3adc6d2a38431
BLAKE2b-256 6a45de6d93d3001b3ff406b3fddc0ae6c333350cdfe96dbcdc1c48a22c440740

See more details on using hashes here.

Supported by

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