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.0) [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

mathipy-0.4.0.tar.gz (68.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mathipy-0.4.0-py3-none-any.whl (75.3 kB view details)

Uploaded Python 3

File details

Details for the file mathipy-0.4.0.tar.gz.

File metadata

  • Download URL: mathipy-0.4.0.tar.gz
  • Upload date:
  • Size: 68.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.9

File hashes

Hashes for mathipy-0.4.0.tar.gz
Algorithm Hash digest
SHA256 4dc43f8d99bcc27ca6a1ce41757cc41f4b41ca6b48645979be9a3ba8b2be5189
MD5 83058080629bb4e3dfa26449b5b89540
BLAKE2b-256 220cddaa5d2610538ecfa91b341353f15798a5181f1123f9ffd1f720d6f32cd6

See more details on using hashes here.

File details

Details for the file mathipy-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: mathipy-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 75.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.9

File hashes

Hashes for mathipy-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd7cf6510882b0a9800632f4e4213fe4e19121185cc7b2663e3f72f54a1a1259
MD5 43ffc4e8c3537c5d58c2a7bd5f0d5867
BLAKE2b-256 94d74ce5c1d5c7b321d855081f0ff5a7b16f5619fb312c3e5fd58ba4e567c1be

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.12

2 files

0.4.11

2 files

0.4.10

2 files

0.4.9

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

This release

0.4.0 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 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