skip to navigation
skip to content

extras 0.0.3

Useful extra bits for Python - things that shold be in the standard library

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.


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

  • try_import
  • try_imports
  • safe_hasattr

Which do what their name suggests.


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 <>. Patches can also be submitted via github. You can mail the authors directly via the mailing list (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).


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


  • Martin Pool
File Type Py Version Uploaded on Size
extras-0.0.3.tar.gz (md5, pgp) Source 2013-01-21 6KB
  • Downloads (All Versions):
  • 2675 downloads in the last day
  • 52262 downloads in the last week
  • 204980 downloads in the last month