This release is a pre-release and may not be stable for production use.
Load Config
Helper functions for loading configuration files. Useful to test/debug using config parameters.
Custom functions currently supported:
- Load AWS SAM template
- Load AWS SAM configuration file
- Load AWS SAM local Lambda environment variables
- Load DynamoDB local (Docker) configuration templates
We built this library in Hackt to support local development of internal projects and public apps in our catalog. Learn more about other open-source libraries on lib.hackt.app.
Runtime support
This is the Python runtime library, compatible with Python3.6+. Currently there isn't support for other runtimes. A Javascript/nodejs version is planned, but unscheduled.
Installation and Usage
Install with pip: pip install load-config
Load AWS SAM template file:
import load_config
template = load_config.sam_template()
env_vars = template['Resources']['MyFunction']['Environment']['Variables']
By default, load_config will look for SAM templates in ./template.yaml. Optionally, specify a different path:
template = load_config.sam_template(filepath='my-project/template.yml')
Documentation
Documentation is available in the repository wiki.
License
This library is licensed under Apache 2.0.
Contributor guide
Please check out guidelines in the repository wiki.
Acknowledgements
Metadata
Release files for load-config 0.2.0b6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| load_config-0.2.0b6-py3-none-any.whl | Python 3 | none | any | Details for load_config-0.2.0b6-py3-none-any.whl |
Release files / load_config-0.2.0b6-py3-none-any.whl
| Download URL | load_config-0.2.0b6-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5a8e889e6f10d1c3809df34c3dc579b3fb2c059fbf4c30556cde062f7cc000a
|
|
BLAKE2b-256 checksum How to use checksums |
01fc4b6353d19a8388c6c5740fbcfab3a5368538c381ce293e9066bf489359cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2
|
Security for load-config 0.2.0b6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.