Skip to main content
mathipy Logo

PyPI version Python versions License: MIT

Multimodal item feature extraction for K-12 math assessment. Reads item text and images through one entry point, with math-aware normalization via textstat and NLTK. Measure readability, Common Core State Standards for Mathematics domain, cognitive load, and the relations carried by wording or by notation. Classify item images into visual types with an instructional role, read shape subtypes with OpenCV and Pillow, and extract text through Gemini and OpenAI vision APIs.

Installation

pip install mathipy

With optional dependencies:

pip install "mathipy[nlp]"        # readability (textstat, nltk)
pip install "mathipy[vision]"     # visual analysis (opencv, pillow)
pip install "mathipy[ocr]"        # OCR via vision LLMs (httpx)
pip install "mathipy[documents]"  # document parsing (python-docx, pdfplumber)
pip install "mathipy[all]"        # all features

From GitHub:

pip install "mathipy[all] @ git+https://github.com/mshin77/mathipy.git"

Getting Started

See Quick Start and Analyzing Math Items for tutorials.

Citation

  • Shin, M. (2026). mathipy: Multimodal item feature extraction for K-12 math assessment (Python package version 0.4.17) [Computer software]. https://github.com/mshin77/mathipy

Metadata

Release files for mathipy 0.4.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mathipy 0.4.17
File Size Uploaded Provenance Actions
mathipy-0.4.17.tar.gz 78.5 kB Without provenance Details for mathipy-0.4.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mathipy 0.4.17
File Interpreter ABI Platform Actions
mathipy-0.4.17-py3-none-any.whl Python 3 none any Details for mathipy-0.4.17-py3-none-any.whl

Total release size: 163.3 kB

Release files / mathipy-0.4.17.tar.gz

Download URL mathipy-0.4.17.tar.gz
Size 78.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dd6982832d464f019e0543b1bdcaf6859f704fc3c836f9635a5bb1f2ffe90748
BLAKE2b-256 checksum
How to use checksums
d9d75b9da55ad510bb38111242f898e45436ffa51a146a93c2c03b0fdfa209f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / mathipy-0.4.17-py3-none-any.whl

Download URL mathipy-0.4.17-py3-none-any.whl
Size 84.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f34ec553dd44b655bf6f109c31b1cc32c024ea1aff40eef3c179e59ed36bda03
BLAKE2b-256 checksum
How to use checksums
581f59bd35e5ca2a59e75007f6d520ae570b49c4ca76fc059b99e5b5c82f09d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for mathipy 0.4.17

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page