Skip to main content

Configuration tool

Project description


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

Download files

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

Source Distribution

divine-0.0.1.tar.gz (1.4 kB view hashes)

Uploaded source

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