Skip to content

coderefinery/python-ctools-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status License

python-ctools-demo

Inspired by Kurt W. Smith's book on Cython

Examples

The first example make use of a simple C++ source code which implements two Taylor series sine() and cosine(). The point is to illustrate how C/C++ functions can be called from python with the use of Cython.

The second example is an implementation of the Soundex algorithm. The implementation is taken from Jeff Langr's book Modern C++ Programming with Test-Driven Development We will use Pybind11 to make a module of the C++-source code.

Lower-level learning goals

  • Show how distutils can be used to build a Python library
  • Show how CMake can be used to accomblish the same thing
  • Show how Pybind11 can be used

Requirements

  • Python
  • Cython
  • CMake
  • C++ compilers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published