An example C extension module for Python Clone, build and run the example extension module: git clone https://github.com/saidvandeklundert/c_extension.git cd c_extension pip install src/ python src/test.py To remove: pip uninstall c_extension