Skip to content

mEsUsah/mathHaxor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math Haxor

App to generate math problems

  • Run as a interractive terminal or GUI tool.
  • Can output to CLI or PDF

Windows Prerequesites

  • Install wkhtmltopdf and add the bin directory to the PATH environement variable.
  • Python ^3.10

Windows Installation

python3 -m venv venv
venv\Scripts\actiavate.bat
pip install -r requriements.txt

Linux (Ubuntu 22) Installation

sudo apt install python3-tk
sudo apt install wkhtmltopdf
python3 -m venv venv
chmod +x venv/bin/activate
source venv/bin/activate
pip install -r requirements.txt 

GUI tool

To use the GUI tool run it from the terminal, of execute from the file by double clicking on it.

python3 gui.py

Interactive terminal tool

python3 interactive.py

CLI tool

python3 cli.py -h
# Show help

python3 cli.py add 2 2 -n 20 
# Will output 20 addition problems WITHOUT solution

python3 cli.py add 2 2 -sn 20 
#Will output 20 additon problems WITH solution

Roadmap

Features I want to implement are:

Binary Problem generator

  • Binary number reading
  • Binary addition
  • Binary subraction
  • Binary shift
  • Binary to ASCII
  • ASCII to binary

Trigonometry problem generator

  • Triangle angles
  • Square angles

PDF generator

  • Swith from HTML2PDF to proper user of pdfkit without the use of webkit
  • Logo, and credits on page
  • Default filename to include problem type and creation date.

About

Math problem generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published