Skip to main content

Multimodal item feature extraction for K-12 math assessment

Project description

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

Project details


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.2.0.tar.gz (371.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.2.0-py3-none-any.whl (361.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mathipy-0.2.0.tar.gz
  • Upload date:
  • Size: 371.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for mathipy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 302df2c07d73957d76db76f570f7e8ccd62de54f54c28876790d4f7093b6085c
MD5 7f1ac8a27b18ee266827b6aa2276b488
BLAKE2b-256 bf24bee556c5d30893174a53eb7cbbf24a4bf3671cf015f3311f32b544205205

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mathipy-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 361.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for mathipy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f482638b3177cb5182464a201a98fd721e2ec6854e8923f3cec7202f205452b0
MD5 7feb34055be77962401a31c9327b2201
BLAKE2b-256 5ec2ffcdc4fea36262bae9ce1e8b0357fb0f333c3d99320bc6c19c4291641dd6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page