BSD Ports

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

SystemPortVersion
NetBSDdevel/py-confuse2.2.1
FreeBSDdevel/py-confuse2.2.1
DragonFlydevel/py-confuse2.0.1_1
HardenedBSDdevel/py-confuse2.2.1
GhostBSDdevel/py-confuse2.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.

RepositoryVersion
NetBSD 10.1 x86_642.2.1
NetBSD 10.1 aarch642.2.0
SmartOS / illumos x86_642.3.0
macOS 15 arm642.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

Commit history 3

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10
4eee50b412 wiz py-confuse: update to 2.3.0.
Bugfix release.
08c72b2b22 wiz py-confuse: update to 2.2.1.
Require typing_extensions on older Python versions (and use typing on newer versions). #189 Narrow Path template shorthand handling to concrete pathlib.Path values for more accurate type checking. Fix confuse.Path which now points to confuse.templates.Path instead of pathlib.Path.