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

Metadata

Release files for mathipy 0.4.15

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.15
File Size Uploaded
mathipy-0.4.15.tar.gz 67.1 kB Details

Built distribution (wheel)

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

Total release size: 140.5 kB

Release files / mathipy-0.4.15.tar.gz

Download URL mathipy-0.4.15.tar.gz
Size 67.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e57fdd7f73da2658575da6bdf72084c933275a7a6d3452f0c3b079bf813da808
BLAKE2b-256 checksum
How to use checksums
1f90fd034b91104e5735d4c9d71f840e0d37591ee7329fc047dda15852eb8383
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.15-py3-none-any.whl

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

Release history Release notifications | RSS feed

This release

0.4.15 This release

2 release files

0.4.14

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