Math Worksheet Generator (Web Version)
Website screenshot
Website URL
https://mathsworksheetgenerator.vercel.app
Worksheet screenshots
Background
januschung made a math worksheet generator that was a python CLI tool.
I decided that it would be a good idea to make a web version of the tool
So I took his permission made one using Django
Benefit of the Math Worksheet Generator
With the Math Worksheet Generator, you can create a PDF with unique questions, as needed, in a fraction of second.
There are five choices:
- Addition
- Subtraction
- Multiplication
- Division
- Mixed
How to run the Django project
- Install all dependencies with
pip install -r requirements.txt
- Goto
web
directory and runpython manage.py runserver
How to Use
- Go to https://mathsworksheetgenerator.herokuapp.com
- Select number of questions you want to generate (max 1200), number of digits you want all the sums to have (1 to 3) and finally what type of questions you would like
Choose from:
- Addition
- Subtraction
- Multiplication
- Division
- Mix of all
Click Generate and you will instantly get a PDF downloaded to your downloads folder
Sample
Code Overview
Everything for the CLI written in python in run.py
. You can play with the font and grid size with the variables under the # Basic settings
section.
The website is located in web
folder as a Django project. The project settings and main project urls are located in web/config/settings.py
and web/config/urls.py
The Django App that generates the worksheets is inweb/worksheetmaker
Contributing
I appreciate all suggestions or PRs which will help kids learn math better. Feel free to fork the project and create a pull request with your idea.
TODO
Keep the website up to date with newer versions of januschung's math worksheet generator