Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Simple, scalable addition and subtraction homework generator using python and latex to create clean pdfs for early childhood

Project description

education_math_homework_generator Updates Documentation Status Python 3

A repository of simple, scalable mathematics homework generator using python and latex to create pdfs for early childhood education. Customizable tools are also included to be used as an aid, including customizable number lines and tables. This project was started for self-learning on common distribution tools and utilities, but given the number of families now homeschooling their children because of SARS-CoV-2, this seemed like the most useful side project to put out there for the world. Any feedback or requests are welcome as I continue to learn project structure and all the other tools defined in this template (link below).

Recently added gen_measurement code that allows the practice of measurements of common shapes: lines, rectangles, and circles. These are intended to be used with a ruler of some sort (or you can use the blocks variant for younger learners). This generator will probably be extended to younger age ranges by generating pairs to work on comparisons (larger/smaller) and extended to older age ranges by inclusion of area computation and/or 3d shapes. I am working on adding problem generators that include working with time, money, and ratios currently (reading up on the standards of a few states currently for ideas/guidance). I would also like to add generating N pages of a problem type as an user optioni (complete for gen_add_subtract) as well as more mixed mode types to work on attention and identification of the operators/shapes/etc as a progression option.

Proper credits to latex examples used in this repo have been added below as well as at the top of each respective source file. Apologies for not doing this from the start.


  • Generation of problems for learning addition, subtraction, and multiplication
  • Tools to aid the student such as customizable number lines and tables.


0.1.0 (2020-03-16)

  • First release on PyPI.


  • Added learning aids such as tables and number lines


  • Added measurement type problem generators


  • Added blocks to measurement problems for younger kids or to simply not use a ruler
  • Added ability to easily generate multiple copies for multiple kids or usage over multiple days (see –numpages in gen_add_subtract) which I plan to extend to all problem generators

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for education-math-homework-generator, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size education_math_homework_generator-0.2.0-py2.py3-none-any.whl (14.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size education_math_homework_generator-0.2.0.tar.gz (164.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page