Skip to content

ajbennieston/try-cython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This repository holds some test code for playing with Cython to wrap a C library with callbacks in Python.

How do I build it?

Enter a Python environment with the cython package installed:

conda create -n cython-env cython ipython
source activate cython-env

Then build the extension module using the command below, which will trigger the C library build as well:

cd pyfoo
make

Run the test script either with

make test

or

python test_prog.py

About

Testing out Cython for wrapping C libraries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published