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.6) [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.7.tar.gz (63.8 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.7-py3-none-any.whl (70.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mathipy-0.4.7.tar.gz
  • Upload date:
  • Size: 63.8 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.7.tar.gz
Algorithm Hash digest
SHA256 3dafdad5de2d49924cd3545508651d686fa41c634d15ffd8afd9d1f5626c2ee0
MD5 2302d86f12334b4fa7b10ff7af06042c
BLAKE2b-256 5ffc6437b619b83883f0bf91d412a06478288e4e46cff331f0d41588a9281f3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mathipy-0.4.7-py3-none-any.whl
  • Upload date:
  • Size: 70.2 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f4b56bfcf343ce68059d324acadac6f2c60340ca9f9dce644fa643ad9859410e
MD5 1def6ce7a5b4a1d76e09cab89fd09ab8
BLAKE2b-256 b717a88d87daedf28e6a5964cb826534dae8016305c4f86468e46b0599c64f59

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

This release

0.4.7 This release

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

0.4.0

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