Skip to content

A worksheet/assessment generator for teachers who want to simplify their workflow.

Notifications You must be signed in to change notification settings

seankmmt/worksheetgen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

worksheetgen

A worksheet generator

Installation

You can install worksheetgen via pip: pip install worksheetgen

Basic Usage

from worksheetgen.wg import Worksheet

# Instantiates the worksheet object and titles it
ws = Worksheet(title='Example Worksheet')
# Adds an instruction segment with the given text to the worksheet
ws.add_instruction('Evaluate the following math problems')
# Adds the problem given to the worksheet
ws.add_problem('What is 9 + 10?')
ws.add_problem('What is the square root of 9?')
ws.add_problem('f(x)=3x-4, f(2)=?', type='math')
# Export pdf to ws.pdf
ws.write_pdf()

This produces the following pdf:

Image of output pdf

Documentation

About

A worksheet/assessment generator for teachers who want to simplify their workflow.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 79.5%
  • HTML 20.5%