qmetrics.net

PyO3

Rust bindings and tools for Python

Frameworks & PlatformsDesktop/CLI app
PyO3 screenshot

PyO3 lets Rust code expose native Python modules or embed a Python interpreter in Rust binaries. It supports CPython, PyPy, and GraalPy versions listed in the docs.

Overview

PyO3 provides Rust crates and macros for two main paths: implementing Python extension modules in Rust, and running Python from within a Rust executable. It sits on the Python C API and is the binding layer many Rust Python packages build on.

For Python importers, typical workflows use maturin, setuptools-rust, or manual builds to produce wheels or editable installs. Developers define pymodule and pyfunction exports in Rust, then install into a virtual environment for import tests. Release builds use optimized maturin develop flags when benchmarking.

For Rust binaries, you enable auto-initialize features, link against a Python shared library, and call Python::attach to import modules and evaluate code. Ubuntu and RPM families need development packages installed so libpython is available at link time.

Supported interpreters include CPython 3.9+, PyPy 7.3 with Python 3.11+, and GraalPy 25.4+ on Python 3.13+. The user guide and API docs cover type conversions, async bridges, and ecosystem helpers such as numpy and serde integrations maintained as separate crates.

Key features

  • Native Python modules from Rust
  • Embed Python in Rust binaries
  • maturin-friendly module layout
  • CPython, PyPy, GraalPy support
  • pyfunction and pymodule macros
  • Python C API safe wrappers
  • setuptools-rust compatible builds
  • Ecosystem crates for numpy and async

Use cases

  • High-performance Python extensions
  • Rust apps scripting with Python
  • Publishing Rust crates as pip wheels
  • Mixing Python ML with Rust services

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.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

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.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT