A Simple Decorator to create a REST Python API in serverless
Project description
Decorators who avoid code repetition in their lambda function
Installation
$ pip install serverless
Usage
@serverless
def your_function(req):
return {
"statusCode": 200,
"body": {
message: "serverless.py"
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
serverless.py-0.0.4.tar.gz
(1.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file serverless.py-0.0.4.tar.gz.
File metadata
- Download URL: serverless.py-0.0.4.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3f93643726e87fb0b5e338be8f6b663ed00d2cf203e0a8cf117b1d385827d39
|
|
| MD5 |
dddb3badf9f3f9734bddfd31b3fdddf4
|
|
| BLAKE2b-256 |
f04cfd8f6763552d1e5b2edd9f32bd7033c286c75b3f42615312302024ff61b9
|
File details
Details for the file serverless.py-0.0.4-py3-none-any.whl.
File metadata
- Download URL: serverless.py-0.0.4-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c3eed2c3f0fd8c5791a7e6f43f32e1a57dc32a2dd8ec12add3d5bfc0c29d6b7
|
|
| MD5 |
a5c793b45b8e0a8ecb3713cafa7d2cab
|
|
| BLAKE2b-256 |
bfad452d7c7768a7339389973e9273e317f1f3cf36e03cdd2e15a30a18faa2bb
|