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

https://github.com/nsevent/cpp_in_python

Examples for how to use ccmpy library, running cpp code in python
https://github.com/nsevent/cpp_in_python

Last synced: about 2 months ago
JSON representation

Examples for how to use ccmpy library, running cpp code in python

Awesome Lists containing this project

README

          

# cpp_in_python
This repo has examples for how to use [ccmpy](https://cppyy.readthedocs.io/en/latest/index.html) for calling C++ in Python.

cppyy is an automatic Python-C++ bindings generator, based on [Cling](https://root.cern.ch/cling), for calling C++ from Python and Python from C++, designed for large scale programs in high performance computing that use modern C++, fully including the latest standard, C++17.
ccmpy allows running cpp code in python.

## setup
```
pip install cppyy
```

## run
```
python3 example.py
```

# Author
Kevin Tang