Skip to content

spuhpointer/python_cpp_example

Repository files navigation

python_cpp_example

This repository contains an example Python module which wraps C++ code. The code presented here was designed to meet four requirements:

  1. Python bindings for C++ code (using pybind11).
  2. Unit tests for C++ code (using Catch).
  3. Unit tests for Python code (using unittest).
  4. A setuptools setup.py script for building, installation, and testing.

About

An example of a hybrid python/C++ package with unit tests

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 72.6%
  • C++ 18.4%
  • CMake 9.0%