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.dev1.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.dev1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: serverless.py-0.0.5.dev1.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.dev1.tar.gz
Algorithm Hash digest
SHA256 7ed81ce7a5dde796d60a068a3e9a99327a4a5e0d8f65ae7f358b7a7a1da4460f
MD5 3a681d6457d3294df3b25066f91cb59d
BLAKE2b-256 70140436fe3567b5e8b823fe272f84bc2d5579b73752bd793318c6f914c54f01

See more details on using hashes here.

File details

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

File metadata

  • Download URL: serverless.py-0.0.5.dev1-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.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 b09bed9f7cd64984178dfa6c4185ea7b3aecaa84da068066a7ea45f4217b95bd
MD5 5a012b2023b4659f463cf4dbbc284f13
BLAKE2b-256 6588d5fb2c0f52d35259d7ad14d78604da54febaaa314a9a9aff74e1d9828370

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