{"id":15893089,"url":"https://github.com/ansible-community/ansible-pygments","last_synced_at":"2025-10-12T18:08:08.213Z","repository":{"id":43223207,"uuid":"372724550","full_name":"ansible-community/ansible-pygments","owner":"ansible-community","description":"Provides Pygments highlighter for Ansible output for use in Sphinx","archived":false,"fork":false,"pushed_at":"2025-09-08T19:22:14.000Z","size":240,"stargazers_count":6,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-10-04T03:36:19.071Z","etag":null,"topics":["ansible","lexer","pygments","pygments-lexer","sphinx","sphinx-extension"],"latest_commit_sha":null,"homepage":"https://pypi.org/p/ansible-pygments","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansible-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-01T06:29:49.000Z","updated_at":"2025-09-08T19:22:18.000Z","dependencies_parsed_at":"2024-06-19T06:17:11.649Z","dependency_job_id":"6b380478-0161-47e6-92e8-74034150ad66","html_url":"https://github.com/ansible-community/ansible-pygments","commit_stats":{"total_commits":122,"total_committers":4,"mean_commits":30.5,"dds":0.180327868852459,"last_synced_commit":"0ddab3516217ac2067b6e980f5b2a6b2ac1be3fa"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ansible-community/ansible-pygments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fansible-pygments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fansible-pygments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fansible-pygments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fansible-pygments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansible-community","download_url":"https://codeload.github.com/ansible-community/ansible-pygments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fansible-pygments/sbom","scorecard":{"id":198167,"data":{"date":"2025-08-11","repo":{"name":"github.com/ansible-community/ansible-pygments","commit":"48ed921386a9126d27ed0247c7c1f51469f22017"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.8,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":5,"reason":"7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 2/8 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci-cd.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:95: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:122: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:142: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:194: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:232: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:282: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:399: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:426: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:446: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:476: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:544: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:549: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:601: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:634: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:662: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:678: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:709: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:736: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:766: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:772: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:796: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:802: update your workflow using https://app.stepsecurity.io/secureworkflow/ansible-community/ansible-pygments/ci-cd.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci-cd.yml:136","Warn: pipCommand not pinned by hash: .github/workflows/ci-cd.yml:312","Warn: pipCommand not pinned by hash: .github/workflows/ci-cd.yml:440","Warn: pipCommand not pinned by hash: .github/workflows/ci-cd.yml:618","Info:   0 out of  16 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/ci-cd.yml:745"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T22:13:58.271Z","repository_id":43223207,"created_at":"2025-08-16T22:13:58.271Z","updated_at":"2025-08-16T22:13:58.271Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012492,"owners_count":26085131,"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-10-12T02:00:06.719Z","response_time":53,"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":["ansible","lexer","pygments","pygments-lexer","sphinx","sphinx-extension"],"created_at":"2024-10-06T08:07:26.315Z","updated_at":"2025-10-12T18:08:08.198Z","avatar_url":"https://github.com/ansible-community.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![🧪 GitHub Actions CI/CD workflow tests badge]][GHA workflow runs list]\n[![pre-commit.ci status badge]][pre-commit.ci results page]\n[![Codecov badge]][Codecov coverage page]\n\n# [Pygments] lexer and style Ansible snippets\n\nThis project provides a [Pygments] lexer that is able to handle\n[Ansible] output. It may be used anywhere Pygments is integrated.\nThe lexer is registered globally under the name `ansible-output`.\n\nIt also provides a [Pygments] style for tools needing to highlight\ncode snippets.\n\nThe code is licensed under the terms of the [BSD 2-Clause license].\n\n## Using the lexer in [Sphinx]\n\nMake sure this library in installed in the same env as your [Sphinx]\nautomation via `pip install ansible-pygments sphinx`. Then, you should\nbe able to use a lexer by its name `ansible-output` in the code blocks\nof your RST documents. For example:\n\n```rst\n.. code-block:: ansible-output\n\n    [WARNING]: Unable to find '/nosuchfile' in expected paths (use -vvvvv to see paths)\n\n    ok: [localhost] =\u003e {\n        \"msg\": \"\"\n    }\n```\n\n## Using the style in [Sphinx]\n\nIt is possible to just set `ansible` in `conf.py` and it will \"just\nwork\", provided that this project is installed alongside [Sphinx] as\nshown above.\n\n```python\npygments_style = 'ansible'\n```\n\n[Codecov badge]:\nhttps://img.shields.io/codecov/c/github/ansible-community/ansible-pygments\n[Codecov coverage page]:\nhttps://codecov.io/gh/ansible-community/ansible-pygments\n\n[🧪 GitHub Actions CI/CD workflow tests badge]:\nhttps://github.com/ansible-community/ansible-pygments/actions/workflows/ci-cd.yml/badge.svg?branch=main\u0026event=push\n[GHA workflow runs list]: https://github.com/ansible-community/ansible-pygments/actions/workflows/ci-cd.yml?query=branch%3Amain\n\n[pre-commit.ci results page]:\nhttps://results.pre-commit.ci/latest/github/ansible-community/ansible-pygments/main\n[pre-commit.ci status badge]:\nhttps://results.pre-commit.ci/badge/github/ansible-community/ansible-pygments/main.svg\n\n[Ansible]: https://www.ansible.com/?utm_medium=github-or-pypi\u0026utm_source=ansible-pygments--readme\n[Pygments]: https://pygments.org\n[Sphinx]: https://www.sphinx-doc.org\n[BSD 2-Clause license]: https://opensource.org/licenses/BSD-2-Clause\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansible-community%2Fansible-pygments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansible-community%2Fansible-pygments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansible-community%2Fansible-pygments/lists"}