qmetrics.net

pybind11

Header-only C++11 bindings generator for Python

pybind11 screenshot

pybind11 exposes C++ types in Python and vice versa with minimal boilerplate. It targets extension authors who want a compact alternative to large binding stacks.

Overview

pybind11 is a lightweight, header-only library for creating Python bindings to existing C++ code and bridging types between the languages. Its design goals parallel Boost.Python—reducing boilerplate through compile-time introspection—while avoiding a dependency on the full Boost distribution.

Core mappings include functions with value, reference, or pointer semantics; instance and static methods; overloaded functions; attributes; exceptions; enumerations; callbacks; iterators; operators; inheritance; STL containers; and smart pointers. Virtual C++ methods can be overridden from Python, and integrated NumPy support is documented.

The library stays in a small set of headers with no extra link libraries required. It supports CPython, PyPy, and GraalPy through an implementation-agnostic interface, uses C++11 features such as lambdas and variadic templates, and documents buffer protocol exposure, vectorized NumPy calls, slice access, and optional pickling for bound types.

Tutorial and API reference material is published on pybind11.readthedocs.io, with build examples for CMake, setuptools, scikit-build, and related tooling. Continuous integration exercises multiple operating systems, Python versions, and compilers, though specific OS names are not enumerated in the summary source beyond general platform coverage.

Key features

  • Header-only binding macros
  • C++11 lambda and STL support
  • NumPy and buffer protocol integration
  • Multiple and virtual inheritance
  • Smart pointer reference counting
  • Overloaded functions and operators
  • CPython, PyPy, and GraalPy support
  • Pickle support for bound types

Use cases

  • Wrapping performance-critical C++ for Python
  • Exposing C++ classes to Python packages
  • Migrating off heavier binding frameworks
  • NumPy-accelerated scientific extensions

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

  • Planning and review agents
  • Skills and command library
  • Runtime hooks and memory
JavaScriptCLIDetails →
★ 316.2k⟳ 14 days agoMIT

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

  • Declarative UI rendering
  • Encapsulated stateful components
  • JSX markup beside JavaScript logic
JavaScriptWebDetails →
★ 252.7k⟳ todayMIT

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

  • Multi-format file to Markdown conversion
  • Command-line and Python APIs
  • Optional Azure document services
PythonDocker, CLIDetails →
★ 199.7k⟳ yesterdayMIT

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

  • Unified PyTorch model definitions
  • Hugging Face Hub checkpoint loading
  • Pipeline task inference helpers
PythonCLIDetails →
★ 169.6k⟳ todayApache-2.0

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

  • Local tree-sitter AST code parsing
  • Queryable knowledge graph output
  • EXTRACTED and INFERRED edge tags
PythonLinux, macOS, Windows, CLIDetails →
★ 156.9k⟳ todayApache-2.0

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

  • Agent-oriented website build workflow
  • Dealt palettes, type, and hero layouts
  • Licensed photograph and icon resolution
JavaScriptCLIDetails →
★ 125.4k⟳ 7 days agoMIT