Skip to main content

A mental math training app.

Project description

mmath

A mental math training TUI application. Built with Python using the textual library.

Features

  • Covers many of the standard mental math challenges, including arithmetic, exponents, fractions, complex numbers, unit conversions, and day of the week questions.
  • Supports quizzes with an arbitrary maximum number limit and number of questions.
  • Options to set a limit on the time per question and make the question vanish after a specified period.
  • Detailed data screen with options to question type, question time, or number of mistakes

Guides

There are many resources available that detail methods to calculate quickly and accurately.

Gallery

Main Menu Question Screen
End Screen Data Screen

Usage

Run mmath from the command line to start the application. Press h to view the help screen which details the options.

Installation

1. With uv

mmath can be run with uv with the command

uvx mentalmath

It can be installed with

uv tool install mentalmath

and then run with mmath from the command line.

To build from source with uv, run

git clone https://github.com/kianbroderick/mmath.git
cd mmath
uv pip install -e .

to clone the repository and install the program to a virtual environment.

2. Using pip

Install mmath to your global or virtual environment with

pip install mentalmath

Run the application with mmath.

mmath can be built from source with the following commands:

git clone https://github.com/kianbroderick/mmath.git
cd mmath

Install textual in either the global or virtual evironment with

pip install textual

Run the application with

pip install -e .
mmath

Future improvements

  • add a screen to type in memorized digits of pi or e
  • more operations
  • add score tracking and statistics over multiple sessions

License

mmath is licensed under the terms of the MIT License.

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

mentalmath-0.1.6.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

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

mentalmath-0.1.6-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

Details for the file mentalmath-0.1.6.tar.gz.

File metadata

  • Download URL: mentalmath-0.1.6.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for mentalmath-0.1.6.tar.gz
Algorithm Hash digest
SHA256 97d9c93b5d9430f24eaaa8f20c288fa8789a7dd3679680e546d6dea955d73671
MD5 5f7197f6ba968ddbabda566c27c5d93a
BLAKE2b-256 5314e0c7f437d9b346f3cb2d1ccb4faca24126ae9cdef537ff7a2ab2cec9b2e3

See more details on using hashes here.

File details

Details for the file mentalmath-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: mentalmath-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for mentalmath-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f66952fcc296b5f4e82e7cda37e854377cc0dadadd80affe14e5586bddb18b6c
MD5 8d4823b85b8b08ac0617a824f3dd1a98
BLAKE2b-256 c00e8674610541fd688a7a5592ef6676553fd9b913c707a14991b41f5468d84c

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