Packages
Generates project directory structures and files from Jinja2 templates, supporting local paths, zip files, GitHub/GitLab repositories, and cookiecutter-style templates.
Dynamically creates Python functions at runtime with custom signatures, enabling programmatic generation of wrapper functions and decorators without manual boilerplate.
Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.
Malduck provides cryptographic, compression, and memory-analysis utilities for malware research, including AES, Blowfish, ChaCha20, Serpent, aPLib decompression, and tools to parse PE/ELF binaries and memory dumps.
Mamba-ssm implements state-space model architectures (Mamba, Mamba-2, Mamba-3) as alternatives to Transformers for sequence modeling, optimized for language tasks and information-dense data.
Converts Microsoft Word .docx documents to clean HTML or Markdown, using document styles to generate semantic markup rather than attempting to replicate visual formatting.
mando wraps argparse to let you build command-line applications with decorators, automatically generating argument parsing and help text from function signatures and docstrings.
Not recommended if you need ongoing support or are building a large, complex CLI that may require future enhancements.
Mandrill is a deprecated Python API client and CLI tool for sending emails through the Mandrill email service platform, now replaced by mailchimp-transactional.
Mangum adapts ASGI applications to run on AWS Lambda, handling events from Function URLs, API Gateway (HTTP and REST), Application Load Balancer, and Lambda@Edge.
Install it if you need to run an ASGI application on AWS Lambda or are considering Lambda for an existing ASGI codebase.
Manhole installs an in-process debugging service that listens on a Unix domain socket, allowing you to connect and inspect thread stacktraces or drop into an interactive Python shell within a running process.
Parses and reasons about Odoo addon manifests, detecting Odoo series from addon versions and converting manifest metadata to Python packaging format.
Manifold3d creates and operates on manifold triangle meshes—solid 3D geometry guaranteed to be topologically valid—with support for mesh Boolean operations, smoothing, and arbitrary vertex properties.
Install it if you need reliable mesh Boolean operations, CAD workflows, or 3D printing preparation; skip it if you only need basic mesh I/O or visualization.
Manim is an animation engine that creates precise, programmatic animations for explanatory math videos, rendering geometric shapes, transformations, and mathematical concepts as video output.
ManimPango is a C binding for Pango using Cython that renders non-LaTeX text for use in Manim animations and visualizations.
Converts Golang platform identifiers (GOOS and GOARCH) into Python platform tags for packaging and distributing Go binaries.
A Python client library for Mapbox web services, providing low-level access to APIs for directions, geocoding, map matching, static maps, uploads, and other geospatial operations.
No, not for new projects.
Fast 2D polygon triangulation using the Mapbox Earcut algorithm, with support for holes, twisted polygons, and self-intersections.
Install it if you need fast, robust polygon triangulation with holes support; skip it if you only work with simple convex polygons or have no triangulation requirement.
Encodes and decodes Mapbox Vector Tiles (MVT) in Protocol Buffer format, handling geometric data and properties across multiple layers with coordinate transformation support.
Mapclassify implements classification schemes for choropleth maps, determining the optimal number of classes and assigning observations to them for use with geovisualization packages.
Install it if you are building choropleth maps and need to classify continuous spatial data into discrete color classes.
Parses compiled binary map files (GNU ld, clang lld, Metrowerks ld formats) and provides CLI tools to extract symbol information, progress tracking, and metadata for decompilation projects.
However, verify the license terms first, as they are not clearly documented in the package metadata.
MAPIE computes prediction intervals and prediction sets for regression, classification, and time series, and controls risks for complex tasks like multi-label classification and semantic segmentation using conformal prediction methods.
Provides a lightweight, customizable multi-core apply function for Pandas DataFrames that distributes work across CPU cores using a shared queue for load balancing.
MariaDB Connector/Python provides a DB API 2.0-compliant interface for Python programs to connect to and query MariaDB and MySQL databases using a C-based client library.
A reactive Python notebook environment that automatically runs dependent cells when code changes, stores notebooks as pure Python files, and deploys as scripts or web apps.
Marionette Driver provides a Python client for automating Firefox through the Marionette protocol, enabling programmatic browser control and testing.
No, not recommended for new projects.
Marionette-harness is a test runner for automating Gecko-based applications like Firefox, allowing you to write and execute Python-based tests that control the browser UI, JavaScript, and DOM.
Install only if maintaining an existing legacy test suite with no alternative path.
Provides memory-efficient trie data structures for fast string lookups and prefix searches, using up to 50x-100x less memory than standard Python dicts while maintaining comparable lookup speed.
Converts Markdown text to HTML using a Python implementation of John Gruber's Markdown specification, with support for extensions.
Install it if you need to parse Markdown in Python.
Adds a cleaner block-level syntax to Markdown for creating highlighted admonition blocks (callouts) that degrade gracefully in vanilla renderers.
Executes code blocks embedded in Markdown files and replaces them with their output, supporting Python, bash, and other languages with optional ANSI color rendering.
A Markdown extension that converts inline Graphviz diagram definitions into embedded SVG or PNG images during document rendering.
However, maintenance is dormant (last release 2025-01-27), so verify compatibility with your specific Markdown and generator versions before relying on it for…
Adds an include directive to Python-Markdown that lets you embed the contents of other files into Markdown documents, with support for line-range selection and heading-depth adjustment.
A Markdown extension that converts inline Graphviz diagram definitions into embedded SVG or PNG images during Markdown processing.
However, the aging maintenance status (385 days since last release, minimal repository activity) means you should verify that it works with your current Markdown and…
A Python markdown parser that converts markdown to HTML following the CommonMark specification, with support for plugins and custom syntax rules.
Install it if you need reliable markdown-to-HTML conversion.
A Rust-backed Python Markdown parser that renders CommonMark, GitHub Flavored Markdown, and other dialects to HTML or AST, with a Python API compatible with markdown-it-py.
Not recommended if you require Python 3.8 support or dynamic plugin authorship in Python.
Converts markdown text to PDF files, with support for tables, images, hyperlinks, table of contents, custom CSS styling, and optional diagram rendering via plugins.
Generates Markdown-formatted tables from Python data structures.
Converts Markdown files to Confluence Storage Format and publishes them to Confluence wiki via REST API, handling text formatting, images, code blocks, diagrams, and tables.
Converts standard Markdown to Slack's mrkdwn format, handling headings, text formatting, lists, tables, code blocks, links, and other common Markdown elements for use in Slack messages.
Install it if you need to programmatically format Markdown for Slack; skip it only if you have no Slack integration needs.
Converts Markdown text to HTML using a fast, complete Python implementation of the Markdown specification.
Install it if you need reliable Markdown rendering without external dependencies.