This is an example project which used Cython to interface with C code. Base64 algorithm is implemented in C, command-line interface is implemented in Python.
python3.6 -m pip install git+https://github.com/wvxvw/b64.git@master
b64 input.file output.file
b64 -d input.file output.file