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.10) [Computer software]. https://github.com/mshin77/mathipy
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mathipy-0.4.10.tar.gz.
File metadata
- Download URL: mathipy-0.4.10.tar.gz
- Upload date:
- Size: 64.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7e82abaeb572595ee7154c4716eec949a635d484a8b3a3cec65aef8f072d93a
|
|
| MD5 |
c38af429ea06ff811c17f8c20a040604
|
|
| BLAKE2b-256 |
01511b6b318575d677fc13486e183defc7837077335cceec251ecb7e144a92a4
|
File details
Details for the file mathipy-0.4.10-py3-none-any.whl.
File metadata
- Download URL: mathipy-0.4.10-py3-none-any.whl
- Upload date:
- Size: 70.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d78752d1e100b756583b7b71d47f4640f27c58fc2c96b6cc4a0941fc7bc35214
|
|
| MD5 |
7148e188d7f9282f606029445db64ee6
|
|
| BLAKE2b-256 |
433006d391792ac9e2903dc2bb512ce684159eef14834e19d09eb380f570ceca
|