pybind11 VS pythran

Compare pybind11 vs pythran and see what are their differences.

pybind11

Seamless operability between C++11 and Python (by pybind)

pythran

Ahead of Time compiler for numeric kernels (by serge-sans-paille)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
pybind11 pythran
42 7
14,741 1,964
1.7% -
8.7 8.0
7 days ago 17 days ago
C++ C++
GNU General Public License v3.0 or later BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pybind11

Posts with mentions or reviews of pybind11. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-06.

pythran

Posts with mentions or reviews of pythran. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-08.

What are some alternatives?

When comparing pybind11 and pythran you can also consider the following projects:

PyO3 - Rust bindings for the Python interpreter

rust-numpy - PyO3-based Rust bindings of the NumPy C-API

nanobind - nanobind: tiny and efficient C++/Python bindings

setuptools-rust - Setuptools plugin for Rust support

Optional Argument in C++ - Named Optional Arguments in C++17

RustPython - A Python Interpreter written in Rust

codex_py2cpp - Converts python code into c++ by using OpenAI CODEX.

sol2 - Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:

shedskin - Shed Skin is a restricted-Python-to-C++ compiler. Read the introduction below to learn about the restrictions.

PEGTL - Parsing Expression Grammar Template Library

Nuitka - Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.