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)
| File | Size | Uploaded | |
|---|---|---|---|
| mathipy-0.4.13.tar.gz | 69.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|