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.0a32.tar.gz (391.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: servey-2.0.0a32.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.0a32.tar.gz
Algorithm Hash digest
SHA256 0d77e443a3906b6db48daebdb79fa5ed95de3a8520132ae0519c664f8c8f6d4e
MD5 1615db0f70ee03366c50dc90f5633d60
BLAKE2b-256 72d28da8db770ae2fec0ff61e0c66b8dee5523b0e308685c87cadcf6df26985c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: servey-2.0.0a32-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.0a32-py3-none-any.whl
Algorithm Hash digest
SHA256 ed245d21021e364ffc6ff2f3d762b1803716f725f86ca5b638a49572b253f208
MD5 4bc3565051a9f90a7f46662bc1e81473
BLAKE2b-256 3d6e1fa88e983f332a2bd07719a8af0cef79314bf036dee2b4a20285f9c339b3

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