Skip to main content

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 1

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 2

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):

example 3

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)

Uploaded Source

Built Distribution

groupify-0.1.3-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page