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.13) [Computer software]. https://github.com/mshin77/mathipy

Metadata

Release files for mathipy 0.4.13

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.13
File Size Uploaded
mathipy-0.4.13.tar.gz 69.7 kB Details

Built distribution (wheel)

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

Total release size: 145.9 kB

Release files / mathipy-0.4.13.tar.gz

Download URL mathipy-0.4.13.tar.gz
Size 69.7 kB
Tags Source
SHA-256 checksum
How to use checksums
452bcf5cbba3740541fe820da092378635c48e236e12a36a90fd243f3438d005
BLAKE2b-256 checksum
How to use checksums
97b4d2ab46bed1d7fb7d981a80825b76bd5a4af8d38ef264e5a7bf2df3d3e687
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

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

Download URL mathipy-0.4.13-py3-none-any.whl
Size 76.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd3617623a0b3de41225cf576b4324caddb6811dc3bc4ab3a5309463cf88c176
BLAKE2b-256 checksum
How to use checksums
6d191358e795173e83424e8a48737f8b66cd541314cf2393b36c60cd67c24497
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release history Release notifications | RSS feed

0.4.15

2 release files

0.4.14

2 release files

This release

0.4.13 This release

2 release files

0.4.12

2 release files

0.4.11

2 release files

0.4.10

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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