Skip to main content

Helper functions for loading configuration files. Useful to test/debug using config parameters.

Project description

Load Config

Test Coverage PyPI License Requirements Status Code Style Code Formatter Test Framework

Helper functions for loading configuration files. Useful to test/debug using config parameters.

Custom functions currently supported:

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

Python Logo

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

Published & supported by Hackt App

Logos provided by Clearbit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for load-config, version 0.2.0b6
Filename, size File type Python version Upload date Hashes
Filename, size load_config-0.2.0b6-py3-none-any.whl (11.8 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page