Skip to main content

Stop writing your own scripts and let this package your python aws lambda zips for you

Project description

lambda-packager

Currently, requires python >=3.8 and later due to required features of copytree

##Usage

  • Just run the packager with:
$ lambda-packager
 # or if not in the project directory  
$ lambda-packager path/to/project/dir
  • lambda-packager will include any dependencies defined in
    • poetry (pyproject.toml)
    • requirements.txt
    • Pipenv (Coming soon!)
  • By default lambda-packager will include all src files that match *.py
  • You can customise this with the following config:
[tool.lambda-packager]
src_patterns = ["lambda_packager/*.py"]

Hidden files

  • hidden files and folders are ignored by default when including src files
  • if you wish to disable this then add the following config to you pyproject.toml
[tool.lambda-packager]
ignore_hidden_files = false

License

This code is open source software licensed under the Apache 2.0 License.

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

lambda-packager-0.5.0.tar.gz (8.7 kB view hashes)

Uploaded Source

Built Distribution

lambda_packager-0.5.0-py3-none-any.whl (10.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page