Skip to main content

Configuration tool

Project description

Divine

Divine is a configuration utility with unique features:

  • Ability to chain configs together, composing the whole from pieces
  • Ability to quickly grab a nested key using notation like c.get('abc/xyz/foo/bar')
  • Integrated f-strings for composable values and DRY patterns
  • Auto-callable config entries to instantiate a class or call a function with args and kwargs automatically from the config (yes, this is a security risk; don't parse any config from unknown sources)

Divine accepts YAML or JSON files. It can be manually configured or auto-configured with an environment variable pointing to a config file. This allows for many processes to use the config without having to explicitly initialize the config in each process.

Project details


Release history Release notifications

This version

0.0.1

Download files

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

Files for divine, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size divine-0.0.1.tar.gz (1.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page