python2.7-pyrexc

compile native-code modules for Python from Python-like syntax

Install

All systems
curl cmd.cat/python2.7-pyrexc.sh
Debian Debian
apt-get install python-pyrex
Ubuntu
apt-get install python-pyrex
image/svg+xml Kali Linux
apt-get install python-pyrex
Windows (WSL2)
sudo apt-get update sudo apt-get install python-pyrex
Raspbian
apt-get install python-pyrex

python-pyrex

compile native-code modules for Python from Python-like syntax

Pyrex lets you write code that mixes Python and C data types any way you want, and compiles it into a C extension for Python. You can get very large speedups for tasks that don't need all the dynamic features of Python, with very small differences in syntax and much less hassle than writing your modules from scratch in C.