Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A small package to automatically find a configuration file.

Project description
Full Documentation

config_resolver provides a simple, yet flexible way to provide configuration to your applications. It follows the XDG Base Dir Spec (This instance is based on 0.8 of this spec) for config file locations, and adds additional ways to override config locations. The aims of this package are:

  • Provide a simple API
  • Follow well-known standards for config-file locations
  • Be as close to pure-Python as possible
  • Be framework agnostic
  • Allow custom configutaion types (.ini and .json support is shipped by default)
  • Allow to provide system-wide defaults but allow overriding of values for more specific environments. These are (in increasing order of specificity):
    1. System-wide configuration (potentially requiring root-access to modify)
    2. User-level configuration (for all instances running as that user)
    3. Current Working Directory configuration (for a running instance)
    4. Per-Instance configuration

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 config-resolver, version 5.0.2
Filename, size File type Python version Upload date Hashes
Filename, size config_resolver-5.0.2-py2-none-any.whl (13.3 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size config_resolver-5.0.2.tar.gz (9.9 kB) File type Source Python version None 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