options 1.1.7

Simple, super-flexible options. Does magic upon request.

options helps represent option and configuration data in a clean, high-function way. Changes to options can "overlay" earlier or default settings.

For most functions and classes, options is overkill. Python's function arguments, *args, **kwargs, and inheritance patterns are elegant and sufficient for 99.9% of all development situations. options is for the top 0.1%:

  • highly functional classes (or functions),
  • with many different features and options,
  • which might be adjusted or overriden at any time,
  • yet that need "reasonable" or "intelligent" defaults, and
  • that yearn for a simple, unobtrusive API.

In those cases, Python's simpler built-in, inheritance-based model adds complexity. Non-trivial options and argument-management code spreads through many individual methods. This is where options's layered, delegation-based approach begins to shine.

For more backstory, see this StackOverflow.com discussion of how to combat "configuration sprawl". options full documentation can be found at Read the Docs. For examples of options in use, see say and show.

Author

Jonathan Eunice

Pip

options==1.1.7

Classifiers

  • Topic :: Software Development :: Libraries :: Python Modules
  • Programming Language :: Python :: Implementation :: PyPy
  • Programming Language :: Python :: Implementation :: CPython
  • Programming Language :: Python :: 3.4
  • Programming Language :: Python :: 3.3
  • Programming Language :: Python :: 3.2
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 2.6
  • Programming Language :: Python
  • Operating System :: OS Independent
  • License :: OSI Approved :: BSD License
  • Intended Audience :: Developers
  • Development Status :: 4 - Beta
File Type Python Version Uploaded On Downloads
options-1.1.7.zip Source Dec. 17, 2014 596
options-1.1.7.tar.gz Source Dec. 17, 2014 1,028
Version Release Date
1.1.7 Dec. 17, 2014
1.1.6 Dec. 17, 2014
1.1.5 Dec. 17, 2014
1.1.4 April 25, 2014
1.1.3 April 25, 2014
1.1.2 April 25, 2014
1.1.1 Oct. 29, 2013
1.1.0 Oct. 29, 2013
1.0.7 Oct. 25, 2013
1.0.6 Oct. 24, 2013
1.0.5 Oct. 24, 2013
1.0.4 Oct. 24, 2013
1.0.3 Sept. 23, 2013
1.0.2 Sept. 19, 2013
1.0.1 Sept. 14, 2013
1.0 Sept. 10, 2013
0.451 Feb. 24, 2013
0.426 Nov. 20, 2012
0.420 Nov. 16, 2012
0.417 Nov. 16, 2012
0.416 Nov. 16, 2012
0.411 Nov. 16, 2012
0.402 Nov. 15, 2012
0.327 Nov. 8, 2012
0.45 Feb. 23, 2013
0.5 Sept. 2, 2013
Date Package Version Action
April 18, 2015, 7:25 p.m. options 0.420 Release Created
April 18, 2015, 7:25 p.m. options 0.426 Release Created
April 18, 2015, 7:25 p.m. options 0.402 Release Created
April 18, 2015, 7:25 p.m. options 1.0.4 Release Created
April 18, 2015, 7:25 p.m. options 1.0.5 Release Created
April 18, 2015, 7:25 p.m. options 0.327 Release Created
April 18, 2015, 7:25 p.m. options 1.0.3 Release Created
April 18, 2015, 7:25 p.m. options 0.451 Release Created
April 18, 2015, 7:25 p.m. options 0.411 Release Created
April 18, 2015, 7:25 p.m. options 0.417 Release Created
April 18, 2015, 7:25 p.m. options 0.416 Release Created
April 18, 2015, 7:25 p.m. options 1.0.1 Release Created
April 18, 2015, 7:25 p.m. options 0.45 Release Created
April 18, 2015, 7:25 p.m. options 1.0.2 Release Created
April 18, 2015, 7:25 p.m. options 1.0 Release Created
April 18, 2015, 7:25 p.m. options 1.0.7 Release Created
April 18, 2015, 7:25 p.m. options 1.0.6 Release Created
April 18, 2015, 7:25 p.m. options 0.5 Release Created
April 18, 2015, 7:25 p.m. options 1.1.6 Release Created
April 18, 2015, 7:25 p.m. options 1.1.7 Release Created
April 18, 2015, 7:25 p.m. options 1.1.4 Release Created
April 18, 2015, 7:25 p.m. options 1.1.5 Release Created
April 18, 2015, 7:25 p.m. options 1.1.2 Release Created
April 18, 2015, 7:25 p.m. options 1.1.3 Release Created
April 18, 2015, 7:25 p.m. options 1.1.0 Release Created
April 18, 2015, 7:25 p.m. options 1.1.1 Release Created
April 18, 2015, 7:25 p.m. options Package Created