Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Announce] Python bindings for comrak on PyPI 🐍 💓 🦀 #538

Open
lmmx opened this issue Feb 16, 2025 · 2 comments
Open

[Announce] Python bindings for comrak on PyPI 🐍 💓 🦀 #538

lmmx opened this issue Feb 16, 2025 · 2 comments

Comments

@lmmx
Copy link

lmmx commented Feb 16, 2025

Hi there!

I wanted to pop in to let you know that I packaged up some very simple Python bindings for Comrak (Python package + repo), and saw benchmarks of 15-60x faster than the other Python packages for this task when tested with hyperfine (details in repo). It re-uses the Rust library under the hood via PyO3 in the standard way as a cdylib, so Python users can now get Comrak’s speed and CommonMark/GFM features. I thought you might like to know 😁 Do feel free to mention it in your README as a related or downstream project if you wish to signpost to others but no need at all, and thanks for all your work on Comrak, this has been really fun to piece together. I have some initial test coverage here and all seems working as planned. I think if anything I am more likely to do docs as a priority.

All the best :-)

Louis

@digitalmoksha
Copy link
Collaborator

Wow, very cool!

@kivikakk
Copy link
Owner

Ah, how lovely :) Thank you! It occurs to me we don't have a bindings section at all in the README; we should definitely fix that and list this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants