Packages
Converts HTML to Markdown, with fine-grained control over which tags to convert, how headings and lists are formatted, and how special elements like code blocks and images are handled.
Install it if you need reliable HTML-to-Markdown conversion.
Extends Streamlit's markdown rendering with additional custom markdown commands and formatting options built on the Python-Markdown library.
No—not recommended for new projects.
Marker converts PDFs, images, and other document formats (PPTX, DOCX, XLSX, HTML, EPUB) to markdown, JSON, HTML, or chunks with layout-aware OCR and table reconstruction.
However, the 21 runtime dependencies (especially torch and transformers) create significant installation and memory overhead.
Python client library that wraps the Marketo REST API, handling authentication, error handling, and rate limiting (100 calls per 20 seconds) to simplify programmatic access to Marketo lead, list, activity, and campaign data.
Install it if you need straightforward Marketo REST API access in Python and can tolerate a source tarball distribution; avoid it if you require cutting-edge…
Converts various file formats (PDF, Excel, Word, HTML, images, and others) to Markdown via a Python API or command-line tool.
Install it if you need to convert files to Markdown for indexing, analysis, or documentation pipelines.
Exposes MarkItDown's document-to-markdown conversion as an MCP server, callable via STDIO, HTTP, or SSE with a single tool that accepts http, https, file, or data URIs.
Converts various file formats (PDF, Excel, Word, HTML, images, and more) to Markdown via a Python API or command-line tool, useful for indexing and text analysis workflows.
Marko is a pure Python markdown parser that converts markdown text to HTML while adhering to CommonMark specification v0.31.2, with built-in support for extensions like footnotes, table of contents, and syntax highlighting.
Install it if you need reliable spec-compliant markdown parsing; skip it if you prioritize raw parsing speed over standards compliance.
MarkupPy generates HTML and XML markup from Python code using an intuitive, pythonic API without external dependencies.
Install it if you need to build markup from Python code without external dependencies or template syntax overhead.
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
Marshmallow converts complex Python objects to and from native Python datatypes, enabling validation, deserialization, and serialization for APIs and data interchange.
Install it if you're building APIs, handling external data, or need schema-based validation anywhere in your stack.
Provides an Enum field type for Marshmallow schemas, enabling serialization and deserialization of Python Enum objects with customizable load/dump behavior.
However, be cautious: the package is unmaintained since 2019.
Extends marshmallow to handle polymorphic schema (de)serialization by automatically routing objects to the correct schema based on type, adding a type discriminator field to the output.
However, the aging maintenance status (no updates since initial release on 2025-09-02) and very low repository stars (1) suggest limited community adoption and…
Produces JSON API 1.0-compliant output from Python objects using marshmallow schemas, with built-in support for relationships, resource linkage, and typed resources.
Converts marshmallow schemas into JSON Schema Draft v7 documents, enabling schema validation and form rendering outside Python environments.
Generates marshmallow schemas automatically from mongoengine document models, enabling serialization and deserialization of MongoDB data with minimal boilerplate.
However, note that the last release was 2023-03-14; verify compatibility with your specific versions of mongoengine and marshmallow before adopting, and monitor the…
Extends marshmallow to handle polymorphic serialization and deserialization by routing objects to type-specific schemas based on object type.
Install it if you need to serialize or deserialize multiple object types through a single schema interface.
Extends Marshmallow with a PolyField class that handles serialization and deserialization of polymorphic types by selecting the appropriate schema based on the object's runtime type.
However, it has been dormant since 2022-10-26 with no active maintenance—install only if you can tolerate potential incompatibilities with future Marshmallow releases.
Generates marshmallow schemas from SQLAlchemy models to serialize and deserialize database objects to and from JSON or other formats.
Install it if you're building APIs or services that need to serialize SQLAlchemy models.
Adds union field support to marshmallow, allowing a single field to deserialize and serialize values that match any of several candidate field types.
Marvin is a Python framework for building AI workflows that produce structured outputs and delegate tasks to language models. It provides utilities for extracting, casting, classifying, and generating data, plus a task-and-agent system for orchestrating multi-step agentic processes.
Official Python client for Massive's REST and WebSocket APIs, providing access to real-time and historical market data including trades, quotes, aggregates, and options chains.
Install it if you need programmatic access to Massive's market data APIs; the REST and WebSocket clients are straightforward to use and handle pagination and…
Generates OAuth 1.0a-compliant signatures for Mastercard API requests using RSA-SHA256 or RSA-PSS-SHA256 cryptographic methods.
Python wrapper for the Mastodon API that lets you authenticate, read timelines, and post to Mastodon servers programmatically.
Install it if you need to automate or integrate with Mastodon servers from Python.
Loads MATLAB 7.3 .mat files (stored as HDF5) into Python dictionaries with support for struct attribute access and selective variable loading.
Maps tokenized words and phrases back to their character offsets in the original, untokenized source text, handling whitespace normalization and Unicode characters.
However, consider maintenance risk: no updates since 2022-10-03, and any bugs in Unicode or edge-case handling will not be fixed.
Generates Material Design 3 color schemes and palettes from source colors or images, implementing Google's official Material You color algorithms.
Evaluates mathematical expressions from LLM outputs by parsing LaTeX and plain expressions, converting them to a common symbolic form, and comparing them against gold-standard answers for equivalence.
matplotlib creates static, animated, and interactive visualizations in Python, producing publication-quality figures in multiple formats for scripts, shells, web servers, and graphical interfaces.
Install it if you need to visualize data, generate publication-quality figures, or embed plots in applications.
Enables Japanese text rendering in matplotlib plots by automatically configuring the IPAexGothic font after import.
Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.
Adds a matplotlib artist that renders a calibrated scale bar on images, with customizable size, position, units, and appearance.
Plots area-weighted two- and three-circle Venn diagrams using Matplotlib, with optional support for cost-based layout optimization via Shapely.
Python SDK for building machine learning projects, datasets, models, and inference pipelines on the Matrice.ai platform, with support for training, deployment, and monitoring workflows.
Provides post-processing and analytics for inference pipeline results, with configurable use cases for people counting and customer service analysis using numpy and scipy.
However, the proprietary license is unclear—verify licensing terms before use.
matrice_common provides authentication, RPC client, streaming, and utility components for Matrice.ai services, including token management, API communication, Kafka/Redis streaming, and error logging.
Provides common server utilities for Matrice.ai services, compiled with mypyc for performance.
However, the Beta status and sparse public documentation mean you should verify the specific utilities match your needs before adopting it as a dependency.
matrice_streaming provides Cython-compiled streaming, client, and deployment utilities for Matrice.ai services, including real-time streaming gateways, camera management, and deployment orchestration.
Python client library for connecting to and interacting with Matrix homeservers via the client-server API, supporting both low-level HTTP calls and high-level room and user operations.
No, not for new projects.
Extends Python's built-in Enum to support multi-dimensional enum members with multiple attributes and reversible lookups by any attribute value.