SkillAgentSearch skills...

CppClass4Python3

Example of using C++ class in Python3

Install / Use

/learn @JacekPierzchlewski/CppClass4Python3
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated5y ago
Forks3

Languages

C++

Security Score

70/100

Audited on May 15, 2020

No findings