pybind11 VS PEGTL

Compare pybind11 vs PEGTL and see what are their differences.

Our great sponsors
  • JetBrains Dev Survey - What’s up with the C++ ecosystem in 2023?
  • Onboard AI - ChatGPT with full context of any GitHub repo.
  • WorkOS - The modern API for authentication & user identity.
  • InfluxDB - Power Real-Time Data Analytics at Scale
pybind11 PEGTL
42 12
14,459 1,830
2.3% 1.3%
8.8 7.9
9 days ago 3 days ago
C++ C++
GNU General Public License v3.0 or later Boost Software License 1.0
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.


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.


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

What are some alternatives?

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

PyO3 - Rust bindings for the Python interpreter

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

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

lexy - C++ parsing DSL

cpp-peglib - A single file C++ header-only PEG (Parsing Expression Grammars) library

setuptools-rust - Setuptools plugin for Rust support

spirit - spirit module

C++ B-tree - Git mirror of the official (mercurial) repository of cpp-btree

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

sparsehash - C++ associative containers

py2many - Transpiler of Python to many other languages

dynamic_bitset - Simple Useful Libraries: C++17/20 header-only dynamic bitset