devel/py-confuse 2.2.1 NetBSD
Painless YAML configuration
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
65c9b1c391- License
- mit
- Categories
- devel, python
- Package size
- 54.1 KiB, 305.9 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/py-confuse | 2.2.1 |
| FreeBSD | devel/py-confuse | 2.2.1 |
| DragonFly | devel/py-confuse | 2.0.1_1 |
| HardenedBSD | devel/py-confuse | 2.2.1 |
| GhostBSD | devel/py-confuse | 2.2.1 |
Install
Binary package:
pkgin install py312-confuse
From pkgsrc:
cd /usr/pkgsrc/devel/py-confuse && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.2.1 |
| NetBSD 10.1 aarch64 | 2.2.0 |
| SmartOS / illumos x86_64 | 2.3.0 |
| macOS 15 arm64 | 2.3.0 |
Dependencies
Run dependencies 3
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py313-confuse-2.2.1,py314-confuse-2.2.1