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

Bug#1015142: RFP: presets -- python module to manipulate default function parameters



Package: wnpp
Severity: wishlist
Control: block 968467 by -1

* Package name    : presets
  Upstream Author : Brian McFee
* URL             : https://github.com/bmcfee/presets
* License         : ISC
  Programming Lang: Python
  Description     : python module to manipulate default function parameters

Presets provides an object interface that can override common default parameter settings for all functions within a target module or package.

It's simple to use. Simply construct a Preset object with the target module as an argument, then set the default parameters via a dict-like interface. After that, your new object will act just as the target module, but it replaces the default arguments of any functions with values that you set.


Reply to: