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
Release files for extras 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| extras-1.0.0.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| extras-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 14.0 kB
Release files / extras-1.0.0.tar.gz
| Download URL | extras-1.0.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
132e36de10b9c91d5d4cc620160a476e0468a88f16c9431817a6729611a81b4e
|
|
BLAKE2b-256 checksum How to use checksums |
be180b7283f0ebf6ad4bb6b9937538495eadf05ef097b102946b9445c4242636
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / extras-1.0.0-py2.py3-none-any.whl
| Download URL | extras-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f689f08df47e2decf76aa6208c081306e7bd472630eb1ec8a875c67de2366e87
|
|
BLAKE2b-256 checksum How to use checksums |
03e9e915af1f97914cd0bc021e125fd1bfd4106de614a275e4b6866dd9a209ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |