Automatically generates random groups from a class list.
Project description
groupify
groupify is a Python package for automatically creating random groups in the classroom from a classlist.
NOTE: there is currently no way to ensure that Newton and Leibniz are not in the same group. They must cooperate if necessary.
Basic examples
Example 1
import groupify
classlist = "sample_class.txt"
groupify.create(
classlist=classlist,
group_size=4,
)
groupify.savefig(dirname="../figures/", fname="example_1.svg")
groupify.show()
This will generate the following groups (randomly):
Example 2
import groupify
classlist = "sample_class.txt"
groupify.create(
classlist=classlist,
group_size=3,
)
groupify.savefig(dirname="../figures/", fname="example_2.svg")
groupify.show()
This will generate the following groups (randomly):
Example 3
import groupify
classlist = "sample_class.txt"
groupify.create(
classlist=classlist,
group_size=2,
)
groupify.savefig(dirname="../figures/", fname="example_3.svg")
groupify.show()
This will generate the following groups (randomly):
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
groupify-0.1.3.tar.gz
(4.2 kB
view hashes)