This project has been archived by its maintainers, and is no longer receiving any updates.
coverage_python_version
Overview
coverage_python_version is a coverage.py plugin that provides a very basic means for you to exclude code from your coverage measurements based on the version of Python that it is executed on.
Usage
Add coverage_python_version to plugins option in the run section of your coverage.py configuration.
Use the comment # pragma: PY2 to notate blocks of code that should be measured under Python 2, and # pragma: PY3 to notate blocks for Python 3.
License
coverage_python_version is released under the terms of the MIT License.
Metadata
Release files for coverage-python-version 0.2.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 | Provenance | Actions |
|---|---|---|---|---|
| coverage_python_version-0.2.0.tar.gz | 2.9 kB | Without provenance | Details for coverage_python_version-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coverage_python_version-0.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for coverage_python_version-0.2.0-py2.py3-none-any.whl |
Total release size: 6.2 kB
Release files / coverage_python_version-0.2.0.tar.gz
| Download URL | coverage_python_version-0.2.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
474e310e1fb500410e103a8b0b931931ce39b2f74df5b5a63e55ff85290645fe
|
|
BLAKE2b-256 checksum How to use checksums |
544501131385fe66e3748030bb3dad267dd6b0a48f71b66c5632f99b23d61afb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.4
|
Release files / coverage_python_version-0.2.0-py2.py3-none-any.whl
| Download URL | coverage_python_version-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
eff41297bdb5d122c8c5ae265eca1477317bd5a6e157a03cb2966691f4d65678
|
|
BLAKE2b-256 checksum How to use checksums |
719f9c6b6ff315142da13bf1f718b90fbbaa64cf1fa34451ade7b07be43cc354
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.4
|
Security for coverage-python-version 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.