Alternatives to pybind11
Other tools in this directory that do similar work, with a verified install command for each. pybind11 itself: install pybind11.
typeshare
Typeshare is the ultimate tool for synchronizing your type definitions between Rust and other languages for seamless FFI
uv
An extremely fast Python package and project manager, written in Rust
ruff
An extremely fast Python linter and code formatter, written in Rust
pyenv
Simple Python version management
black
The uncompromising Python code formatter
poetry
Python packaging and dependency management made easy
pipenv
Python Development Workflow for Humans
mypy
Optional static typing for Python
kubectx
Faster way to switch between clusters and namespaces in kubectl
pyright
Static Type Checker for Python
py-spy
Sampling profiler for Python programs
pipx
Install and Run Python Applications in Isolated Environments
bandit
Bandit is a tool designed to find common security issues in Python code
matterbridge
bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft team
pyenv-virtualenv
a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)
pyoxidizer
A modern Python application packaging and distribution tool
shimmy
⚡ Pure-Rust WebGPU inference engine — OpenAI-API compatible, GGUF native, runs on any GPU. No Python. No llama.cpp. Single binary
maturin
Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages
autorest
OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python
autopep8
A tool that automatically formats Python code to conform to the PEP 8 style guide
erg
A statically typed language compatible with Python
unoconv
Universal Office Converter - Convert between any document format supported by LibreOffice/OpenOffice
Printrun
Pronterface, Pronsole, and Printcore - Pure Python 3d printing host software
dep-tree
Tool for helping developers keep their code bases clean and decoupled. It allows visualising a code base complexity using a 3d force-directed graph of
How we picked these
We match on what the tool does and how it installs, then order by how widely each project is used. We're not saying these are better or worse than pybind11 — that depends on what you're building. We're saying they're the projects people reach for in the same situations, and each one has an install command we checked against its documentation.
pybind11 is developed by its own authors and this page is an independent reference; we are not affiliated with or sponsored by any project listed, and nothing here is a paid placement.