CppClass4Python3
Example of using C++ class in Python3
Install / Use
/learn @JacekPierzchlewski/CppClass4Python3README
C++ FOR PYTHON3.
EXAMPLE OF USING C++ CLASS IN PYTHON3.
INTRODUCTION
The purpose of this repository is to be a crash course in using C++ objects in Python3.
If you are new to building Python3 modules in C++, I strongly recommend you to
firstly take a look at simplest_py_module add simple_py_module to skim
the basics of writing Python3 modules in C++. Afterwards, take a look at the
main part of the repo in car subdirectory.
NOTE: Software in this repo is compatible with cPython3 implementation only! It will not work with alternative Python3 implementations (e.g. pypy3). If you do not now what is cPython, you are probably using it anyway. Go to: https://en.wikipedia.org/wiki/CPython for more info,
CONTENTS
The repository is divided into three subdirectories.
-
simplest_py_module: Example of the simplest Python module coded in C++.
-
simple_py_module: Example of a simple Python module coded in C++.
-
car: The main example in the repository.
PLATFORM
Linux, Mac
AUTHOR
(c) 2017, Jacek Pierzchlewski, jacek@pierzchlewski.com http://www.speedupcode.com
LICENSE
BSD 2-CLAUSE.
