./devel/py-confuse, Painless YAML configuration

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q3, Version: 1.6.0nb1, Package name: py310-confuse-1.6.0nb1, Maintainer: bsiegert

Confuse is a configuration library for Python that uses YAML. It takes
care of defaults, overrides, type checking, command-line integration,
human-readable errors, and standard OS-specific locations.

Here's what Confuse brings to the table:

- An utterly sensible API resembling dictionary-and-list structures
but providing transparent validation without lots of boilerplate
code.
- Combine configuration data from multiple sources. Using
layering, Confuse allows user-specific configuration to seamlessly
override system-wide configuration, which in turn overrides built-in
defaults.
- Look for configuration files in platform-specific paths.
- Integration with command-line arguments via argparse or optparse
from the standard library.


Master sites:

Filesize: 44.707 KB

Version history: (Expand)