Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Load Config

Test Coverage 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:

from local_config_loader import load_sam_template

template = load_sam_template('template.yaml')

env_vars = template['Resources']['MyFunction']['Environment']['Variables']

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

Logos provided by Clearbit

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

load_config-0.1.0b0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file load_config-0.1.0b0-py3-none-any.whl.

File metadata

  • Download URL: load_config-0.1.0b0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for load_config-0.1.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 84d26ee14c06ebab84b7654de676309f9f589105fd7c960ead95ef019bdc2c87
MD5 dfcb987508e2e56bddeb6ab0d959ce60
BLAKE2b-256 eb7f5ee3c4447c3e92f1c4a660f19f00d6a97bc78382a42cb4a00565a14376ae

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 Sentry Error logging StatusPage Status page