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
- Host: GitHub
- URL: https://github.com/nsevent/cpp_in_python
- Owner: NSEvent
- Created: 2019-07-27T22:28:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-03T19:32:28.000Z (almost 7 years ago)
- Last Synced: 2023-09-29T12:57:06.526Z (over 2 years ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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