Packages
Annotates Python abstract syntax trees with the positions of tokens and source code text, enabling tools to map AST nodes back to their originating code for refactoring, analysis, and transformation.
PyInstaller bundles a Python application and all its dependencies into a single standalone executable or folder that runs without requiring a Python interpreter or installed modules on the target system.
Install it if you need to distribute Python applications as standalone executables.
Parsy is a parser combinator library that lets you build complex text parsers by combining small, reusable parser functions together in a declarative style.
Install it if you need to parse structured text and prefer a functional, composable approach over regex or hand-rolled parsing logic.
Arpeggio is a recursive descent parser with memoization that implements PEG (Packrat) grammars, letting you define and parse custom languages or structured text formats.
Install it if you need to build a parser for a custom grammar or language; if you want a higher-level interface for language definition, consider textX instead.
Embeds the Wasmtime WebAssembly runtime in Python, allowing you to compile, instantiate, and execute WebAssembly modules and components directly from Python code.
Install it if you need to execute WebAssembly from Python; verify the license terms for your use case first.
Generates parsers from ABNF grammars as specified in RFC 5234 and RFC 7405, with 30+ built-in grammar modules for common RFCs like HTTP headers, email addresses, and URIs.
Install it if you need to parse or validate structured text defined by RFCs or custom ABNF grammars.
EmPy is a templating system that embeds Python code directly into text documents using customizable markup (default `@`), processing the combined source to produce output with Python expressions, statements, and control structures evaluated inline.
Executes WebAssembly modules from Python with a complete runtime that compiles and runs WASM binaries safely and sandboxed.
Suitable for production use of existing WASM code, but not recommended for new projects requiring ongoing maintenance or support.
Provides the Cranelift compiler backend for WebAssembly compilation and execution in Python applications.
However, verify that Cranelift meets your performance and compatibility needs—the package has not been updated since January 2022, so check whether recent WebAssembly…
Hachoir parses and displays binary files as a tree of typed fields, letting you inspect and edit individual bits, bytes, and structures within any binary stream.
Executes JavaScript code inside a WebAssembly sandbox from Python, with support for ES modules, TypeScript stripping, async/await, and Python-to-JS function bridging.
textX is a meta-language for building Domain-Specific Languages (DSLs) in Python by defining a grammar that automatically generates a parser and meta-model for your language.
Bashkit is a sandboxed bash interpreter for Python that runs bash scripts in-process with native bindings to a Rust core, providing full bash syntax support and 164 built-in commands without containers or subprocess overhead.
A Python wrapper for the CEL C++ implementation that compiles and evaluates Common Expression Language (CEL) expressions with support for custom functions, protobuf messages, and type checking.
Provides Jupyter kernels that integrate Python code execution with Spyder's interactive console, enabling both interactive and file-based code execution within the Spyder IDE.
Provides Cling, an LLVM-based interactive C++ interpreter, packaged as a library backend for cppyy to enable Python code to call C++ directly.
However, the dormant maintenance status means security updates and compatibility fixes may lag; verify that the package works with your target Python and C++ versions…
pyPEG2 is a PEG (Parsing Expression Grammar) parser generator that lets you write your own parsers in Python, supporting both Python 2.7 and Python 3.x with Unicode handling.