Skip to main content

Decorators who avoid code repetition in their lambda function

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.5.dev2.tar.gz (1.6 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.5.dev2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file serverless.py-0.0.5.dev2.tar.gz.

File metadata

  • Download URL: serverless.py-0.0.5.dev2.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

Hashes for serverless.py-0.0.5.dev2.tar.gz
Algorithm Hash digest
SHA256 7de9f36c3f2667cc60c2b836f23a316676dadf2011a4ed35d3e89574f7f62c48
MD5 f7380f7c0b5919992a3a016645c559a2
BLAKE2b-256 bd1b7fe888bf572bd80a1d05681bf989fea4f53075c416252855787c9ee6754e

See more details on using hashes here.

File details

Details for the file serverless.py-0.0.5.dev2-py3-none-any.whl.

File metadata

  • Download URL: serverless.py-0.0.5.dev2-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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.5.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 642f04ce2e0a62778b20a30a82bb374a2ba0394580be740415861a6734ab7a77
MD5 80213f2c9977e3d82fd2ef6bb1a765a3
BLAKE2b-256 79bf3995ec83348a517e65324c7a3fcc1c5b82b33eddc9e945f000ea5431cb1e

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