pygments-pytest
A pygments lexer for pytest output
See some demos! Or see it in action on pytest.org.
Installation
pip install pygments-pytest
Usage
This library provides a pygments lexer called pytest.
.. code-block:: pytest
$ pytest test.py
========================== test session starts ===========================
platform linux -- Python 3.6.6, pytest-4.0.1.dev43+g0d529847.d20181123, py-1.7.0, pluggy-0.8.0
rootdir: /home/asottile/workspace/pytest, inifile: tox.ini
collected 1 item
test.py . [100%]
======================== 1 passed in 0.01 seconds ========================
This library also provides a sphinx extension. It can be enabled by adding
'pygments_pytest' to the extensions setting in your conf.py.
The colors can be tweaked using the sphinx setting (in conf.py)
pygments_pytest_ansi_colors:
pygments_pytest_ansi_colors = {
'Cyan': '#06989a',
'Green': '#4e9a06',
'Red': '#c00',
'Yellow': '#c4A000',
}
Metadata
Release files for pygments-pytest 2.5.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 | |
|---|---|---|---|---|
| pygments_pytest-2.5.0.tar.gz | 4.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygments_pytest-2.5.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.2 kB
Release files / pygments_pytest-2.5.0.tar.gz
| Download URL | pygments_pytest-2.5.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
564b1a9bb9d254b93586361cf26a58011d71c66f8af20c33eaf5c3505e35ef28
|
|
BLAKE2b-256 checksum How to use checksums |
5848a9ac927fa4373ce149fbb6309472bfd047e4bafc09185275dfb0ee63e166
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / pygments_pytest-2.5.0-py2.py3-none-any.whl
| Download URL | pygments_pytest-2.5.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6b4539166327bf169860ebf4818ba7f8d683d211be3462cb381ed5146721f110
|
|
BLAKE2b-256 checksum How to use checksums |
0122286c1676324b2a38376b6d5bb38870d943b418f98d12b15523b44d4bdcd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for pygments-pytest 2.5.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.