{"id":28545595,"url":"https://github.com/pytest-dev/pygments-pytest","last_synced_at":"2025-12-11T22:46:15.206Z","repository":{"id":33465854,"uuid":"158642235","full_name":"pytest-dev/pygments-pytest","owner":"pytest-dev","description":"A pygments lexer for pytest output","archived":false,"fork":false,"pushed_at":"2025-11-07T21:28:04.000Z","size":694,"stargazers_count":23,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-15T06:04:13.513Z","etag":null,"topics":["pygments","pytest","sphinx"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pytest-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-11-22T04:27:10.000Z","updated_at":"2025-11-07T21:27:43.000Z","dependencies_parsed_at":"2023-01-15T01:02:22.149Z","dependency_job_id":"37c20766-c2d2-4dca-bbd3-b5ad584f142c","html_url":"https://github.com/pytest-dev/pygments-pytest","commit_stats":{"total_commits":136,"total_committers":3,"mean_commits":"45.333333333333336","dds":0.4558823529411765,"last_synced_commit":"60400ee41c84c4474fe467457a435e168a315aac"},"previous_names":["pytest-dev/pygments-pytest","asottile/pygments-pytest"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/pytest-dev/pygments-pytest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpygments-pytest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpygments-pytest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpygments-pytest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpygments-pytest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pytest-dev","download_url":"https://codeload.github.com/pytest-dev/pygments-pytest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpygments-pytest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285615878,"owners_count":27202259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-21T02:00:06.175Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pygments","pytest","sphinx"],"created_at":"2025-06-09T23:08:11.298Z","updated_at":"2025-12-11T22:46:15.202Z","avatar_url":"https://github.com/pytest-dev.png","language":"Python","readme":"[![build status](https://github.com/asottile/pygments-pytest/actions/workflows/main.yml/badge.svg)](https://github.com/asottile/pygments-pytest/actions/workflows/main.yml)\n[![Build Status](https://github.com/asottile/pygments-pytest/actions/workflows/deploy.yml/badge.svg)](https://github.com/asottile/pygments-pytest/actions)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/asottile/pygments-pytest/main.svg)](https://results.pre-commit.ci/latest/github/asottile/pygments-pytest/main)\n\npygments-pytest\n===============\n\nA pygments lexer for pytest output\n\nSee [some demos](https://asottile.github.io/pygments-pytest)!  Or\n[see it in action on pytest.org](https://pytest.org).\n\n## Installation\n\n```bash\npip install pygments-pytest\n```\n\n## Usage\n\nThis library provides a pygments lexer called `pytest`.\n\n```rst\n.. code-block:: pytest\n\n    $ pytest test.py\n    ========================== test session starts ===========================\n    platform linux -- Python 3.6.6, pytest-4.0.1.dev43+g0d529847.d20181123, py-1.7.0, pluggy-0.8.0\n    rootdir: /home/asottile/workspace/pytest, inifile: tox.ini\n    collected 1 item\n\n    test.py .                                                          [100%]\n\n    ======================== 1 passed in 0.01 seconds ========================\n```\n\nThis library also provides a sphinx extension.  It can be enabled by adding\n`'pygments_pytest'` to the `extensions` setting in your `conf.py`.\n\nThe colors can be tweaked using the sphinx setting (in `conf.py`)\n`pygments_pytest_ansi_colors`:\n\n```python\npygments_pytest_ansi_colors = {\n    'Cyan': '#06989a',\n    'Green': '#4e9a06',\n    'Red': '#c00',\n    'Yellow': '#c4A000',\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytest-dev%2Fpygments-pytest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytest-dev%2Fpygments-pytest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytest-dev%2Fpygments-pytest/lists"}