An open API service indexing awesome lists of open source software.

https://github.com/astrofrog/calling-c-libraries-from-python

Experiments with linking to C libraries from Python
https://github.com/astrofrog/calling-c-libraries-from-python

Last synced: 18 days ago
JSON representation

Experiments with linking to C libraries from Python

Awesome Lists containing this project

README

          

Examples of wrapping C libraries with Python
--------------------------------------------

### ctypes

To run the example:

```
cd ctypes
./do.sh
```

This makes a shared C library, then interfaces to it from Python using ctypes.

### Cython

To run the example:

```
cd ctypes
./do.sh
```

This makes a shared C library, then interfaces to it from Python using Cython.