Skip to main content

zetamac-tui

TUI zetamac clone (identical core interface) plus SQLite tracking, replay, and flash anzan (also mental arithmetic), built with Textual.

Python Textual License

Screenshots

Settings Play View runs

Features

  • All features from arithmetic.zetamac.com with an identical interface and functionality (as shown above), like addition, subtraction, division.

  • Local SQLite run history with per-problem timings (only runs with default setting though)

  • A pretty interface for selecting runs with summaries for each

  • Able to replay any run, or replay all the hardest questions (questions which took the longest time)

  • Per-run analytics to identify weak spots

  • Fully keyboard-driven terminal UI (what Textual does).

  • An additional flash anzan gamemode, although that doesn't have the logging the core does

  • Written in python, so can descend into a python or sqlite shell for directly interacting with the state. For dev, and can be normally used with helper functions defined.

Installation / Quick Start

Requires Python 3.10+.

pipx install "zetamac-tui[opt]"

Using pip

pip install "zetamac-tui[opt]"

Install from github

git clone https://github.com/yaofanfish/zetamac-tui.git
cd zetamac-tui
pipx install -e ".[opt]"

Usage

zetamac-tui

The interface is generally straightforward, and as mentioned before, the core is identical to the web zetamac. Configure settings, start a round, review past runs, or replay difficult questions directly from the menu.

Data Storage

  • Settings: ~/.local/state/zetamac-tui/settings.json (%LOCALAPPDATA%\zetamac-tui\settings.json on windows)
  • Run history: ~/.local/share/zetamac-tui/runs.db (%LOCALAPPDATA%\zetamac-tui\runs.db on windows)
  • Python rc file: ~/.config/zetamac-tui/pyrc.py (%APPDATA%\zetamac-tui\pyrc.py on windows)

Contributing

Issues and pull requests are welcome.

git clone https://github.com/yaofanfish/zetamac-tui.git
cd zetamac-tui
pip install -e ".[dev,opt]"

License

GPL-3.0

Acknowledgments

Inspired by Zetamac by Zach Wissner-Gross.

Metadata

Release files for zetamac-tui 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zetamac-tui 1.0.3
File Size Uploaded Provenance Actions
zetamac_tui-1.0.3.tar.gz 940.6 kB Without provenance Details for zetamac_tui-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zetamac-tui 1.0.3
File Interpreter ABI Platform Actions
zetamac_tui-1.0.3-py3-none-any.whl Python 3 none any Details for zetamac_tui-1.0.3-py3-none-any.whl

Total release size: 1.0 MB

Release files / zetamac_tui-1.0.3.tar.gz

Download URL zetamac_tui-1.0.3.tar.gz
Size 940.6 kB
Tags Source
SHA-256 checksum
How to use checksums
613f14b88152e066c5813460a26c8ed5396ed0b1ff5436f6dd6c64953d47c238
BLAKE2b-256 checksum
How to use checksums
43f8a91fb00626078244e8272d33d7e0493439d80b45bc7e1a66dd6695f423eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / zetamac_tui-1.0.3-py3-none-any.whl

Download URL zetamac_tui-1.0.3-py3-none-any.whl
Size 88.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9617f58bc83ca017e820734a61f46e0f37a36da7eabe014ec9d683e21c895f32
BLAKE2b-256 checksum
How to use checksums
32a0a7103a13c57f3122810df15ac273e554600823373c9bed3eac79c4c78b46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Security for zetamac-tui 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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