{"id":26927531,"url":"https://github.com/lmmx/comrak","last_synced_at":"2025-04-02T04:16:34.030Z","repository":{"id":277632568,"uuid":"933051678","full_name":"lmmx/comrak","owner":"lmmx","description":"Python bindings for the Comrak Rust library, a fast CommonMark/GFM parser","archived":false,"fork":false,"pushed_at":"2025-03-24T22:06:45.000Z","size":70,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T23:20:02.042Z","etag":null,"topics":["markdown","markdown-renderer","markdown-to-html"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/comrak","language":"Rust","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/lmmx.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,"publiccode":null,"codemeta":null}},"created_at":"2025-02-15T03:14:11.000Z","updated_at":"2025-03-24T22:06:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"d62cb3b9-5c18-4e94-996f-699ac5ec73d3","html_url":"https://github.com/lmmx/comrak","commit_stats":null,"previous_names":["lmmx/comrak"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmmx%2Fcomrak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmmx%2Fcomrak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmmx%2Fcomrak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmmx%2Fcomrak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmmx","download_url":"https://codeload.github.com/lmmx/comrak/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246752629,"owners_count":20827987,"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":["markdown","markdown-renderer","markdown-to-html"],"created_at":"2025-04-02T04:16:33.307Z","updated_at":"2025-04-02T04:16:34.021Z","avatar_url":"https://github.com/lmmx.png","language":"Rust","readme":"# comrak\n\n\u003c!-- [![downloads](https://static.pepy.tech/badge/comrak/month)](https://pepy.tech/project/comrak) --\u003e\n[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)\n[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm.fming.dev)\n[![PyPI](https://img.shields.io/pypi/v/comrak.svg)](https://pypi.org/project/comrak)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/comrak.svg)](https://pypi.org/project/comrak)\n[![License](https://img.shields.io/pypi/l/comrak.svg)](https://pypi.python.org/pypi/comrak)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/lmmx/comrak/master.svg)](https://results.pre-commit.ci/latest/github/lmmx/comrak/master)\n\nPython bindings for the Comrak Rust library, a fast CommonMark/GFM parser\n\n## Installation\n\n```bash\npip install comrak\n```\n\n### Requirements\n\n- Python 3.9+\n\n## Features\n\nFast Markdown to HTML parser in Rust, shipped for Python via PyO3.\n\n### Options\n\nAll options are exposed in a simple manner:\n\n```py\n\u003e\u003e\u003e import comrak\n\u003e\u003e\u003e opts = comrak.ExtensionOptions()\n\u003e\u003e\u003e comrak.render_markdown(\"foo :smile:\", extension_options=opts)\n'\u003cp\u003efoo :smile:\u003c/p\u003e\\n'\n\u003e\u003e\u003e opts.shortcodes = True\n\u003e\u003e\u003e comrak.render_markdown(\"foo :smile:\", extension_options=opts)\n'\u003cp\u003efoo 😄\u003c/p\u003e\\n'\n```\n\nRefer to the [Comrak docs](https://docs.rs/comrak/latest/comrak/struct.Options.html) for all available options.\n\n## Benchmarks\n\nTested with small (8 lines) and medium (1200 lines) markdown strings\n\n- vs. [markdown](https://pypi.org/project/markdown): 15x faster (S/M)\n- vs. [markdown2](https://pypi.org/project/markdown2): 20x (S) - 60x (M) faster\n\n## Contributing\n\nMaintained by [lmmx](https://github.com/lmmx). Contributions welcome!\n\n1. **Issues \u0026 Discussions**: Please open a GitHub issue or discussion for bugs, feature requests, or questions.\n2. **Pull Requests**: PRs are welcome!\n   - Install the dev extra (e.g. with [uv](https://docs.astral.sh/uv/): `uv pip install -e .[dev]`)\n   - Run tests (when available) and include updates to docs or examples if relevant.\n   - If reporting a bug, please include the version and the error message/traceback if available.\n\n## License\n\nLicensed under the 2-Clause BSD License. See [LICENSE](https://github.com/lmmx/comrak/blob/master/LICENSE) for all the details.\n","funding_links":[],"categories":["Text Processing \u0026 Parsing"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmmx%2Fcomrak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmmx%2Fcomrak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmmx%2Fcomrak/lists"}