options 1.3.1

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 regular 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.

Apache License 2.0

Author

Jonathan Eunice

Pip

options==1.3.1

Classifiers

  • Development Status :: 5 - Production/Stable
  • Intended Audience :: Developers
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 2.6
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.2
  • Programming Language :: Python :: 3.3
  • Programming Language :: Python :: 3.4
  • License :: OSI Approved :: Apache Software License
  • Topic :: Software Development :: Libraries :: Python Modules
  • Programming Language :: Python :: Implementation :: CPython
  • Programming Language :: Python :: Implementation :: PyPy
  • Programming Language :: Python :: 3.5
File Type Python Version Uploaded On Downloads
options-1.3.1-py2.py3-none-any.whl Wheel 2.7 Aug. 26, 2015 0
Version Release Date
1.3.1 Aug. 26, 2015
1.3.0 Aug. 25, 2015
1.2.5 Aug. 18, 2015
1.2.2 Aug. 12, 2015
1.2.1 Aug. 4, 2015
1.2.0 July 22, 2015
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
Aug. 26, 2015, 2:10 a.m. options 1.3.0 Release Created
Aug. 26, 2015, 2:10 a.m. options 1.3.1 Release Created
Aug. 24, 2015, 11:55 p.m. options 0.420 Release Created
Aug. 24, 2015, 11:55 p.m. options 0.426 Release Created
Aug. 24, 2015, 11:55 p.m. options 0.402 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.0.4 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.0.5 Release Created
Aug. 24, 2015, 11:55 p.m. options 0.411 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.2.1 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.2.0 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.2.2 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.2.5 Release Created
Aug. 24, 2015, 11:55 p.m. options 0.327 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.0.3 Release Created
Aug. 24, 2015, 11:55 p.m. options 0.451 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.0.2 Release Created
Aug. 24, 2015, 11:55 p.m. options 0.417 Release Created
Aug. 24, 2015, 11:55 p.m. options 0.416 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.0.1 Release Created
Aug. 24, 2015, 11:55 p.m. options 0.45 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.0 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.0.7 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.0.6 Release Created
Aug. 24, 2015, 11:55 p.m. options 0.5 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.1.6 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.1.7 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.1.4 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.1.5 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.1.2 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.1.3 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.1.0 Release Created
Aug. 24, 2015, 11:55 p.m. options 1.1.1 Release Created
Aug. 24, 2015, 11:55 p.m. options Package Created