Simple .rc file loading for your Python projects
Project description
dotrc
Simple .rc file loading for your Python projects. Looks for config files in typical locations based on your app name:
- .apprc
- ~/.config/app
Files are loaded such that files earlier in the above list override settings in later ones. The content of each file is parsed as YAML, falling back to JSON if that fails.
Usage
import dotrc
# Loads .apprc, ~/.config/app, etc.
config = dotrc.load('app')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dotrc-0.1.tar.gz
(1.8 kB
view hashes)