RETIRED, further work has moved to Debian project infrastructure
Go to file
Robert Collins e3b5a1b7bd Release 1.0.0. 2016-05-18 21:16:56 +12:00
extras Release 1.0.0. 2016-05-18 21:16:56 +12:00
.gitignore Release 0.0.1. 2012-10-27 22:41:36 +13:00
.testr.conf Initial extraction of code from testtools. 2012-10-27 22:27:55 +13:00
.travis.yml Add a .travis.yml. 2016-05-18 17:35:40 +12:00
LICENSE Initial extraction of code from testtools. 2012-10-27 22:27:55 +13:00
MANIFEST.in Initial extraction of code from testtools. 2012-10-27 22:27:55 +13:00
Makefile Release 0.0.2, removing Makefile cruft. 2012-12-13 21:32:30 +13:00
NEWS Release 1.0.0. 2016-05-18 21:16:56 +12:00
README.rst Note the functions in the README, for discoverability. 2012-10-27 22:32:34 +13:00
setup.cfg Support universal wheels 2016-05-18 17:42:01 +12:00
setup.py Add trove classifiers specifying Python 3 support. 2014-03-07 15:46:19 -05:00
tox.ini Add a tox.ini for testing with. 2016-05-18 17:13:29 +12:00

README.rst

extras

extras is a set of extensions to the Python standard library, originally written to make the code within testtools cleaner, but now split out for general use outside of a testing context.

Documentation

pydoc extras is your friend. extras currently contains the following functions:

  • try_import
  • try_imports
  • safe_hasattr

Which do what their name suggests.

Licensing

This project is distributed under the MIT license and copyright is owned by the extras authors. See LICENSE for details.

Required Dependencies

  • Python 2.6+ or 3.0+

Bug reports and patches

Please report bugs using github issues at <https://github.com/testing-cabal/extras>. Patches can also be submitted via github. You can mail the authors directly via the mailing list testtools-dev@lists.launchpad.net. (Note that Launchpad discards email from unknown addresses - be sure to sign up for a Launchpad account before mailing the list, or your mail will be silently discarded).

History

extras used to be testtools.helpers, and was factored out when folk wanted to use it separately.

Thanks

  • Martin Pool