Skip to main content
mathipy Logo

PyPI version Python versions License: MIT

Multimodal item feature extraction for K-12 math assessment. Analyze readability with math-aware normalization via textstat and NLTK, classify math content by Common Core State Standards for Mathematics domain, estimate cognitive load components, extract visual complexity features from images using OpenCV and Pillow, classify item images into 26 visual representation types with an instructional function label, and perform multimodal optical character recognition (OCR) 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 git+https://github.com/mshin77/mathipy.git[all]

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.3.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.3.0.tar.gz (364.9 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.3.0-py3-none-any.whl (365.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mathipy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0186a27d109f0205ea4b1531638a4d93de31683c4b74f0123e7b86d78055e946
MD5 b1c0c0ccc10e60b731c96cc75dcd259c
BLAKE2b-256 1196b3a68c91bc8c8c34edf732819ccea8e391bef0534dfea977442da4f920de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mathipy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 365.1 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e06ca5257b96e5625b8f48b7aa372467c7bbd8090c6f5a4cd02db993af81112
MD5 84eef251bc3bf599ae29420a762de65f
BLAKE2b-256 f19ab42fa62ddf511b41f86ddffd434628d5b69b02b4b37568458d6433eb566a

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

0.4.0

2 files

This release

0.3.0 This release

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