[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#784317: marked as done (ITP: python-configargparse -- replacement for argparse allowing options to also be set via config files and/or environment variables)



Your message dated Sun, 14 Jun 2015 21:54:38 +0000
with message-id <20150614215438.GB23063@master.debian.org>
and subject line ITP: python-configargparse
has caused the Debian Bug report #784317,
regarding ITP: python-configargparse -- replacement for argparse allowing options to also be set via config files and/or environment variables
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
784317: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784317
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wnpp
Severity: wishlist
Owner: Sebastien Delafond <seb@debian.org>

* Package name    : python-configargparse
  Version         : 0.9.3
  Upstream Author : Zorro
* URL             : https://github.com/zorro3/ConfigArgParse
* License         : MIT
  Programming Lang: Python
  Description     : replacement for argparse allowing options to also be set via config files and/or environment variables

Applications with more than a handful of user-settable options are best
configured through a combination of command line args, config files,
hard-coded defaults, and in some cases, environment variables.
.
Python’s command line parsing modules like argparse have very limited
support for config files and environment variables, so this module
extends argparse to add these features.
.
Features:
.
 - command-line, config file, env var, and default settings can now be
   defined, documented, and parsed in one go using a single API (the
   order of precedence is: command line args > environment variables >
   config file values > defaults)
 - config files can have .ini or .yaml style syntax (eg. key=value or
   key: value)
 - user can specify a config file path using regular command line syntax
   (eg. -c config.txt) rather than the argparse-style @config.txt
 - all argparse functionality is fully supported, so this module can
   serve as a drop-in replacement for argparse
 - env vars and config file keys & syntax are automatically documented
   in the help message
 - print_values() can be used to log values and their sources
   (eg. command line, env var, config file, or default) for improved
   reproducibility
 - lite-weight (simple API, no dependencies on 3rd-party libraries),
 - extensible (the following methods can be over-ridden to change config
   file and environment variable parsing: parse_config_file,
   get_possible_config_keys, convert_setting_to_command_line_arg)
 - unittested using the tests that came with argparse, and using tox to
   test python versions >= 2.7

--- End Message ---
--- Begin Message ---
Already in Debian, see 787319.

--- End Message ---

Reply to: