C++ Python

Open-source C++ projects categorized as Python

Top 23 C++ Python Projects

  • tensorflow

    An Open Source Machine Learning Framework for Everyone

    Latest mention: Rtx 3090 Is 14 Times Slower On Inference Compared | reddit.com/r/tensorflow | 2021-01-09

    That does seem to be the case. TF is much slower than pytorch for training, especially in backpropogation (depending on optimizers) https://github.com/tensorflow/tensorflow/issues/42475

  • pytorch

    Tensors and Dynamic neural networks in Python with strong GPU acceleration

    Latest mention: [P] Implementation of RealFormer using pytorch | reddit.com/r/MachineLearning | 2020-12-27

    Tip: Use torch.bmm instead of torch.einsum. The former is considerably faster. Take a look at Pytorchs own MHA implementation to see how you have to do the reshaping for it.

  • CNTK

    Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit

  • flatbuffers

    FlatBuffers: Memory Efficient Serialization Library

  • xbmc

    Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS and Windows.

    Latest mention: Valve Revises Steam's December 2020 Linux Marketshare To 0.74% | reddit.com/r/linux_gaming | 2021-01-03

    Linux supports modern hardware, the problem is the rest of the stack that we all rely on. Linux has had HDR support for ages now but does Xorg or any Wayland compositors support it? Nope (Xorg will probably never get support, Wayland is blocked on a colour management protocol)! The only thing that actually can use it is Kodi running on top of DRM+GBM (instead of an X11/Wayland environment the requirement for GBM probably means no Nvidia support but that's on them).

  • MMKV

    An efficient, small mobile key-value storage framework developed by WeChat. Works on Android, iOS, macOS, Windows, and POSIX.

  • dlib

    A toolkit for making real world machine learning and data analysis applications in C++

  • Sourcetrail

    Sourcetrail - free and open-source interactive source explorer

  • pybind11

    Seamless operability between C++11 and Python

    Latest mention: Need Ideas on a Good First Project in C++ (as my second programming language) | reddit.com/r/cpp | 2021-01-02

    Obligatory when working with Python and C++: https://github.com/pybind/pybind11

  • annoy

    Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk

  • ImHex

    A Hex Editor for Reverse Engineers, Programmers and people that value their eye sight when working at 3 AM.

    Latest mention: Tools & Info for Sysadmins - Hex Editor, Training Platform, Bug Tracking & More | reddit.com/r/sysadmin | 2021-01-19
  • catboost

    A fast, scalable, high performance Gradient Boosting on Decision Trees library, used for ranking, classification, regression and other machine learning tasks for Python, R, Java, C++. Supports computation on CPU and GPU.

  • DearPyGui

    Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies

    Latest mention: Is a commercial licence required for PyQT for an in-house GUI that will only be used to analyse testing data? | reddit.com/r/learnpython | 2021-01-19

    If you want to avoid licensing issues altogether, you might want to have a look at Dear PyGui. It's has a permissive MIT license. It's easy-to-use and fast (C++ and GPU-based). Admittedly, it doesn't offer Qt level features yet, but it offers fast graphs and tables, so it meets the basic requirements for data analysis. The core developers are very supportive and responsive.

  • Open3D

    Open3D: A Modern Library for 3D Data Processing

    Latest mention: LIDAR to OBJ similar to photogrammetry with Intel RealSense L515? | reddit.com/r/3DScanning | 2021-01-05
  • esphome

    ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.

    Latest mention: Take Max Value Over Time | reddit.com/r/Esphome | 2021-01-03

    I actually just wrote a lambda filter for a similar need (Trying to pull mic values from the adc). I based it off of the code for the sliding moving average filter and tweaked it as needed. I'm planning to make a PR to add this as an official filter, but in the mean time you can add this to your yaml!

  • panda3d

    Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU


    MITIE: library and tools for information extraction

    Latest mention: Is it possible to build a recommendation system or do sentiment analysis in plain c++? | reddit.com/r/AskComputerScience | 2021-01-14

    I would suggest you use something like LucenePlusPlus as the backbone of the system for processing the text, and maybe something like MITIE for further analysis (I've never used this to be honest).

  • open_spiel

    OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games.

    Latest mention: What sort of algorithm should I use ? Incomplete information, card game. (Flowchart for reference) | reddit.com/r/learnmachinelearning | 2021-01-12

    Probably the easiest way for you to get started is to implement your game on an open source RL framework that has working implementations of some basic CFR variations as well as some other self-play algorithms such as NFSP. OpenSpiel and RLCard are two that I am aware of. Depending on the complexity of your game and how strong your agent needs to play, you might be satisfied with the performance you get using by one of these frameworks.

  • gnuradio

    GNU Radio – the Free and Open Software Radio Ecosystem

    Latest mention: Help with gnu radio on Windows please. | reddit.com/r/RTLSDR | 2021-01-07
  • KlayGE

    KlayGE is a cross-platform open source game engine with plugin-based architecture.

  • datatable

    A Python package for manipulating 2-dimensional tabular data structures

    Latest mention: Ditching Excel for Python in a Legacy Industry (Reinsurance) | news.ycombinator.com | 2020-12-30

    h2o's data.table clone is fine


  • ITK

    Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.

  • bareos

    Main repository with the code for the libraries and daemons

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).


What are some of the best open-source Python projects in C++? This list will help you:

Project Stars
1 tensorflow 152,399
2 pytorch 45,558
3 CNTK 16,958
4 flatbuffers 15,664
5 xbmc 11,956
6 MMKV 11,729
7 dlib 9,803
8 Sourcetrail 9,403
9 pybind11 8,537
10 annoy 8,044
11 ImHex 7,759
12 catboost 5,645
13 DearPyGui 3,948
14 Open3D 3,914
15 esphome 2,934
16 panda3d 2,573
17 MITIE 2,560
18 open_spiel 2,549
19 gnuradio 2,547
20 KlayGE 1,475
21 datatable 1,086
22 ITK 781
23 bareos 640