Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

serverless.py-0.0.3-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

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

Hashes for serverless.py-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d5548c63f035e72abb8f7aa35d05b0d1ea129a3add359051fd435cb610659fba
MD5 617490a940e74369924a9784eeb5fafb
BLAKE2b-256 4479a1c70d17e33cf3ee191fe5c20cd04907bb7a511f4f9f877ea2bf1c84a8a3

See more details on using hashes here.

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

Hashes for serverless.py-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 31aacc6017fc2bf75a23c3714b263c0ff32a9ba0e3f92fd868da05605171ecc5
MD5 72dadee48c10e43c58c501fdf06b31d2
BLAKE2b-256 ba888954c608974e16c579b1e1c229f24c261bc3c62948f6d98326e6fea45ac2

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