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.3.tar.gz
(1.5 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.3.tar.gz.
File metadata
- Download URL: serverless.py-0.0.3.tar.gz
- Upload date:
- Size: 1.5 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 |
d5548c63f035e72abb8f7aa35d05b0d1ea129a3add359051fd435cb610659fba
|
|
| MD5 |
617490a940e74369924a9784eeb5fafb
|
|
| BLAKE2b-256 |
4479a1c70d17e33cf3ee191fe5c20cd04907bb7a511f4f9f877ea2bf1c84a8a3
|
File details
Details for the file serverless.py-0.0.3-py3-none-any.whl.
File metadata
- Download URL: serverless.py-0.0.3-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 |
31aacc6017fc2bf75a23c3714b263c0ff32a9ba0e3f92fd868da05605171ecc5
|
|
| MD5 |
72dadee48c10e43c58c501fdf06b31d2
|
|
| BLAKE2b-256 |
ba888954c608974e16c579b1e1c229f24c261bc3c62948f6d98326e6fea45ac2
|