Python-C-Extension

Skeletal code to create exposed C, C++ Extensions for Python

Just wrote some generic handy code which I thought I'd upload. Performance boost of using C, C++ extensions in some operations is quite significant and proven. Use this code to add pre-written C, C++ code and build it in a way that it's functions are exposed as python packages.

The code has been hosted on github HERE.

Build to a shared object to access the c library as a python package.

usage:

> import helloworld

>helloworld.printhelloworld()


Θ Ω Sushant ♂

Popular posts from this blog

6 Ways for Product Managers to keep their developers happy and inspired

Startup founders cheatsheet (Chief product officer)

Image Cropping and Scaling Algorithm using linear algebra