Top 19 Python Cython Projects
💫 Industrial-strength Natural Language Processing (NLP) in PythonProject mention: Two Methods to Scan for PII in Data Warehouses | dev.to | 2021-11-29
NLP libraries such as Stanford NER Detector and Spacy
The most widely used Python to C compilerProject mention: PyTorch: Where we are headed and why it looks a lot like Julia (but not exactly) | news.ycombinator.com | 2021-11-26
Run Linux Software Faster and Safer than Linux with Unikernels.
Virtual Python Environment builderProject mention: What happened when your CI is stopping you from releasing? | dev.to | 2021-04-13
We of cause, like all good developers do, put the error message online and look for clues, we quickly found a GitHub issue and boi, we are not the only souls that got crushed by a "timely" release of virtualenv just a few hours before us. Since the lastest version of virtualenv got installed every time we create the CI build job on Travis, it fails even we have done nothing. Of cause we didn't point fingers at other maintainers, they are just as hardworking as us and it's human to make mistakes. We are faced with 2 options, roll back to the previous release or wait for the patch of virtualenv to get released. As the devs of virtualenv did a lighting fast patch, we have chosen option 2.
Game Boy emulator written in PythonProject mention: My emulator runs Pokemon Red without any issues! | reddit.com/r/EmuDev | 2021-10-07
You can read my report on how PyBoy came along. It's not for technical reference like the Pan Docs, but just light descriptions of the Game Boy hardware with the intention to emulate it https://github.com/Baekalfen/PyBoy/raw/master/PyBoy.pdf
A Python wrapper for the tesseract-ocr APIProject mention: [Question] I am trying to segment the image using python. | reddit.com/r/opencv | 2021-08-09
If you’re using tesserocr then you can use OpenCV images directly, so you can just extract the relevant image rows (e.g. query_image = main_image[prev_line:this_line]) and process then without needing to save each image.
A modern yet simple multi-platform video cutter and joiner.Project mention: Video editing software free | reddit.com/r/pcmasterrace | 2021-10-23
Python audio and music signal processing libraryProject mention: Do you know any Onset Detection methods? | reddit.com/r/DSP | 2021-03-19
There are also online & offline onset detection approaches available as part of the Python madmom library https://github.com/CPJKU/madmom as binaries and Python classes. The methods included in madmom have shown state of the art results in multiple Music Information Retrieval Evaluation eXchange (MIREX) campaigns in recent years. Hope that's useful to you.
Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Compile Nim Extensions for Python On Import!Project mention: Comparing a Rust extension to other methods of speeding up python | reddit.com/r/Python | 2021-11-10
nimpy + nimporter is getting fairly mature. I've had my eye on the libraries for awhile now and I'm starting to seriously consider adding Nim to the build pipeline at werk.
Compute Sentence Embeddings Fast!Project mention: [D] Unsupervised document similarity state of the art | reddit.com/r/MachineLearning | 2021-04-09
Links: fse: https://github.com/oborchers/Fast_Sentence_Embeddings Sentence-transformers: https://github.com/oborchers/sentence-transformers
A framework for Smoothed Particle Hydrodynamics in PythonProject mention: I hear about Python being slow, but when has performance actually been an issue for you? | reddit.com/r/Python | 2021-04-21
Taking a quick look, PySPH looks pretty good... actually, this looks way, way better than what was around last time I looked! I haven't seen any validation tests in their examples yet, but overall the results look promising. Looks like you may still have to write quite a bit of code to get the simulation set up, but at least you won't have to write your own solver.
Locality Sensitive Hashing using MinHash in Python/Cython to detect near duplicate text documentsProject mention: D Efficient Way To Cluster Millions Of Face | reddit.com/r/MachineLearning | 2020-12-30
I'm looking into this, after reading the wikipedia entry of this it sound promissing! I already found a python lib https://github.com/mattilyra/LSH for this, I will get back to you once I tested this!
Streaming parser for multipart/form-data written in Python
A Nintendo Entertainment System (NES) emulator in Python and Cython. (by jameskmurphy)Project mention: Pyjion – A Python JIT Compiler | news.ycombinator.com | 2021-11-09
For example here's a Python project modified to work well on Cython - I think that's pretty substantially modified.
A fast asyncio MySQL driver with replication protocol supportProject mention: asyncmy, an asyncio MySQL driver accelerated by cython | reddit.com/r/Python | 2021-03-15
Alternative StdLib for Nim for Python targets, hijacks Python StdLib for Nim (by juancarlospaco)Project mention: Nim to write Python modules ? What about memory management ? | reddit.com/r/nim | 2021-10-14
What if I have a python object that contains Nim-managed pointers to nim objects that contain Python objects created by Nim's CPython ? How will GC(s) work ?
An alternative serializer implementation for REST framework written in cython built for speed.Project mention: GitHub - Mng-dev-ai/drf-turbo: An alternative serializer implementation for REST framework written in cython built for speed. | reddit.com/r/django | 2021-11-10
Fast Google Polyline encoding and decoding using a Rust binaryProject mention: Julia is the better language for extending Python | news.ycombinator.com | 2021-04-19
Rust doesn’t need to copy the data. It’s trivial to pass e.g. Numpy arrays to Rust as slices via Cython (let alone originating in Cython!), modify them, and return them, or use them as input for a new returned struct.
Each of those repos has links to the corresponding Rust “shim” libraries that provide FFIs for dealing with the incoming data, constructing Rust data structures from it, and then transforming it back on the way out.
As a more general comment, using a GC language as the FFI target from a GC language is begging for difficult-if-not-impossible-to-debug crashes down the line.
Simple SIMD based Product Quantization in PythonProject mention: Pyston v2.2: faster and open source | news.ycombinator.com | 2021-05-05
With Cython you can get C level performance. The cost is that your Python code has to be written just as you would write C.
See e.g. https://github.com/thomasahle/fast_pq/blob/main/_fast_pq.pyx... for how much fast Cython code can look like C.
Repository for the book High Performance Python for Data Analytics - published by ManningProject mention: Advanced Array access in Cython using a practical example | dev.to | 2021-06-09
All the code referred here can be found in https://github.com/tiagoantao/python-performance/tree/master/05-cython/sec6-quadlife
Python Cython related posts
Pyjion – A Python JIT Compiler
8 projects | news.ycombinator.com | 9 Nov 2021
why can't you compile an interpreted language?
3 projects | reddit.com/r/AskProgramming | 24 Oct 2021
How is python able to use c code?
1 project | reddit.com/r/learnpython | 18 Sep 2021
Is there a language that converts to C++ that allows you to make your life easier with the syntax?
2 projects | reddit.com/r/cpp_questions | 11 Sep 2021
Static typing like C
1 project | reddit.com/r/learnpython | 6 Sep 2021
Anon discovers the secret to good code
2 projects | reddit.com/r/4chan | 4 Sep 2021
Let's create the real pure cython..
1 project | reddit.com/r/ProgrammerHumor | 10 Aug 2021
What are some of the best open-source Cython projects in Python? This list will help you:
|12||Streaming multipart/form-data parser||98|
Are you hiring? Post a new remote job listing for free.