Snip Snipping Tool Chrome Extension Convert API Secure Conversion Service
Make Documents Accessible Process Chemical Documents Collaborate on Documents Developer Solutions Train Language Models Support Academic Research Artificial Intelligence Fintech Edtech Pharma & Chemical Universities & Schools
Handwriting Recognition Digital Ink On-prem PDF Cloud Mathpix Markdown All Supported Languages Image Conversion PDF Conversion Markdown Conversion Table OCR Mathpix CLI PDF Search PDF Reader PDF Data Extraction Chrome Extension View Conversion Gallery
Snip Convert API SCS
Mobile Desktop Web Chrome Extension
Mathpix Snip Apps Convert API Mathpix Markdown Python SDK
About Blog Careers Contact
Get Started

Getting Started with Mathpix Python SDK

This guide explains how to install the Mathpix Python SDK (mpxpy) and authenticate with Mathpix services.

Installation

Install the SDK via PyPI:
pip install mpxpy
Alternatively, install it directly from GitHub for development purposes:
# Clone the repository
git clone https://github.com/Mathpix/mpxpy.git
cd mpxpy

# Install in development mode
pip install -e .
Once installed, you can initialize the client and begin processing files.
See the Authentication and Environment section to configure your credentials and environment.