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.

Installation

To install on Unix/Linux:

pip install groupify

To install in an IDE simply search for the package groupify and install it.

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.4.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

groupify-0.1.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file groupify-0.1.4.tar.gz.

File metadata

  • Download URL: groupify-0.1.4.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for groupify-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a57b08b8fcf00314ae704f35d4eb7ea94a6156dce784b58c4a66eb3ff8c62141
MD5 a6b269ed1a96d7c0ffc0a7a24c81c5ae
BLAKE2b-256 947b3c05c2c4bbaeed7396363c52cd7f200da35b2d99eac17c9e91610c32f23a

See more details on using hashes here.

File details

Details for the file groupify-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: groupify-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for groupify-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cba86fee406af690f8097c3116be0ce57f9786d13be480998b798393c6aaf523
MD5 4c3d3d8166334671a959d832a9ec3dff
BLAKE2b-256 4400e4bbb9bd3a7cc447e61a9a69b99ab18f7d3e46c5b8bb70c653af33a8735b

See more details on using hashes here.

Supported by

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