Skip to content

JacekPierzchlewski/CppClass4Python3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

1. simplest_py_module:  Example of the simplest Python module coded in C++.

2. simple_py_module:    Example of a simple Python module coded in C++.

3. 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.

About

Example of using C++ class in Python3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published