{"id":21831095,"url":"https://github.com/python-formate/snippet-fmt","last_synced_at":"2025-04-14T07:06:29.480Z","repository":{"id":38189963,"uuid":"393716528","full_name":"python-formate/snippet-fmt","owner":"python-formate","description":"Format and validate code snippets in reStructuredText files.","archived":false,"fork":false,"pushed_at":"2025-04-09T10:32:52.000Z","size":218,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T07:06:20.666Z","etag":null,"topics":["docs","formatting","linting","python"],"latest_commit_sha":null,"homepage":"https://snippet-fmt.readthedocs.io/en/latest","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/python-formate.png","metadata":{"files":{"readme":"README.rst","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,"publiccode":null,"codemeta":null},"funding":{"github":["domdfcoding"]}},"created_at":"2021-08-07T15:11:36.000Z","updated_at":"2025-04-08T15:24:55.000Z","dependencies_parsed_at":"2024-04-22T16:49:01.238Z","dependency_job_id":"8865cd70-d11c-4dea-a47f-7efedb75685e","html_url":"https://github.com/python-formate/snippet-fmt","commit_stats":{"total_commits":50,"total_committers":2,"mean_commits":25.0,"dds":0.38,"last_synced_commit":"e556d0305d8cf5afe205f50790d69f9973c43215"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-formate%2Fsnippet-fmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-formate%2Fsnippet-fmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-formate%2Fsnippet-fmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-formate%2Fsnippet-fmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python-formate","download_url":"https://codeload.github.com/python-formate/snippet-fmt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837279,"owners_count":21169374,"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","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":["docs","formatting","linting","python"],"created_at":"2024-11-27T19:08:34.044Z","updated_at":"2025-04-14T07:06:29.450Z","avatar_url":"https://github.com/python-formate.png","language":"Python","funding_links":["https://github.com/sponsors/domdfcoding"],"categories":[],"sub_categories":[],"readme":"============\nsnippet-fmt\n============\n\n.. start short_desc\n\n**Format and validate code snippets in reStructuredText files.**\n\n.. end short_desc\n\n\n.. start shields\n\n.. list-table::\n\t:stub-columns: 1\n\t:widths: 10 90\n\n\t* - Docs\n\t  - |docs| |docs_check|\n\t* - Tests\n\t  - |actions_linux| |actions_windows| |actions_macos| |coveralls|\n\t* - PyPI\n\t  - |pypi-version| |supported-versions| |supported-implementations| |wheel|\n\t* - Activity\n\t  - |commits-latest| |commits-since| |maintained| |pypi-downloads|\n\t* - QA\n\t  - |codefactor| |actions_flake8| |actions_mypy|\n\t* - Other\n\t  - |license| |language| |requires|\n\n.. |docs| image:: https://img.shields.io/readthedocs/snippet-fmt/latest?logo=read-the-docs\n\t:target: https://snippet-fmt.readthedocs.io/en/latest\n\t:alt: Documentation Build Status\n\n.. |docs_check| image:: https://github.com/python-formate/snippet-fmt/workflows/Docs%20Check/badge.svg\n\t:target: https://github.com/python-formate/snippet-fmt/actions?query=workflow%3A%22Docs+Check%22\n\t:alt: Docs Check Status\n\n.. |actions_linux| image:: https://github.com/python-formate/snippet-fmt/workflows/Linux/badge.svg\n\t:target: https://github.com/python-formate/snippet-fmt/actions?query=workflow%3A%22Linux%22\n\t:alt: Linux Test Status\n\n.. |actions_windows| image:: https://github.com/python-formate/snippet-fmt/workflows/Windows/badge.svg\n\t:target: https://github.com/python-formate/snippet-fmt/actions?query=workflow%3A%22Windows%22\n\t:alt: Windows Test Status\n\n.. |actions_macos| image:: https://github.com/python-formate/snippet-fmt/workflows/macOS/badge.svg\n\t:target: https://github.com/python-formate/snippet-fmt/actions?query=workflow%3A%22macOS%22\n\t:alt: macOS Test Status\n\n.. |actions_flake8| image:: https://github.com/python-formate/snippet-fmt/workflows/Flake8/badge.svg\n\t:target: https://github.com/python-formate/snippet-fmt/actions?query=workflow%3A%22Flake8%22\n\t:alt: Flake8 Status\n\n.. |actions_mypy| image:: https://github.com/python-formate/snippet-fmt/workflows/mypy/badge.svg\n\t:target: https://github.com/python-formate/snippet-fmt/actions?query=workflow%3A%22mypy%22\n\t:alt: mypy status\n\n.. |requires| image:: https://dependency-dash.repo-helper.uk/github/python-formate/snippet-fmt/badge.svg\n\t:target: https://dependency-dash.repo-helper.uk/github/python-formate/snippet-fmt/\n\t:alt: Requirements Status\n\n.. |coveralls| image:: https://img.shields.io/coveralls/github/python-formate/snippet-fmt/master?logo=coveralls\n\t:target: https://coveralls.io/github/python-formate/snippet-fmt?branch=master\n\t:alt: Coverage\n\n.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/python-formate/snippet-fmt?logo=codefactor\n\t:target: https://www.codefactor.io/repository/github/python-formate/snippet-fmt\n\t:alt: CodeFactor Grade\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/snippet-fmt\n\t:target: https://pypi.org/project/snippet-fmt/\n\t:alt: PyPI - Package Version\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/snippet-fmt?logo=python\u0026logoColor=white\n\t:target: https://pypi.org/project/snippet-fmt/\n\t:alt: PyPI - Supported Python Versions\n\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/snippet-fmt\n\t:target: https://pypi.org/project/snippet-fmt/\n\t:alt: PyPI - Supported Implementations\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/snippet-fmt\n\t:target: https://pypi.org/project/snippet-fmt/\n\t:alt: PyPI - Wheel\n\n.. |license| image:: https://img.shields.io/github/license/python-formate/snippet-fmt\n\t:target: https://github.com/python-formate/snippet-fmt/blob/master/LICENSE\n\t:alt: License\n\n.. |language| image:: https://img.shields.io/github/languages/top/python-formate/snippet-fmt\n\t:alt: GitHub top language\n\n.. |commits-since| image:: https://img.shields.io/github/commits-since/python-formate/snippet-fmt/v0.1.5\n\t:target: https://github.com/python-formate/snippet-fmt/pulse\n\t:alt: GitHub commits since tagged version\n\n.. |commits-latest| image:: https://img.shields.io/github/last-commit/python-formate/snippet-fmt\n\t:target: https://github.com/python-formate/snippet-fmt/commit/master\n\t:alt: GitHub last commit\n\n.. |maintained| image:: https://img.shields.io/maintenance/yes/2025\n\t:alt: Maintenance\n\n.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/snippet-fmt\n\t:target: https://pypi.org/project/snippet-fmt/\n\t:alt: PyPI - Downloads\n\n.. end shields\n\nInstallation\n--------------\n\n.. start installation\n\n``snippet-fmt`` can be installed from PyPI.\n\nTo install with ``pip``:\n\n.. code-block:: bash\n\n\t$ python -m pip install snippet-fmt\n\n.. end installation\n\n\n.. code-block:: python\n\n\tdef foo(bar):\n\t\tprint(\"hello\")\n\n\n.. code-block:: TOML\n\n\thello = \"world\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-formate%2Fsnippet-fmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-formate%2Fsnippet-fmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-formate%2Fsnippet-fmt/lists"}