Skip to main content

A small package to automatically find a configuration file.

Project description

A very simple and small utility to provide a way to search for configuration files. For now it is only tested on posix systems, but it should also work on Windows.

For posix systems it will search for config files in the following order:

  • A file named in the environment variable <APP_NAME>_CONFIG

  • The current active working directory (of the running process)

  • ~/.<group_name>/<app_name>/<conf_name>

  • /etc/<group_name>/<app_name>/<conf_name>

The complete search path can be overwritten by setting the environment variable <APP_NAME>_PATH, separating the different paths by either : (posix) or ; (windows).

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

config_resolver-1.1.tar.gz (2.8 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