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 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file groupify-0.1.5.tar.gz.
File metadata
- Download URL: groupify-0.1.5.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98c0aa5f6492432486d9e87ba86aa3dd8a7d37f3b5d5c09d1e367ad36246783f
|
|
| MD5 |
2368d65263307909271beffc59ae8f8a
|
|
| BLAKE2b-256 |
7728c4523d39e94c3a50ca2ba4751b90b23aa1077cdf2542b289e8915a6d0a0a
|
File details
Details for the file groupify-0.1.5-py3-none-any.whl.
File metadata
- Download URL: groupify-0.1.5-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b220388a2c7b04920dc8b30ad7e52d0418d3fcf597fce4524fd5fbfe3805d40
|
|
| MD5 |
1ac16b3b5fd3e89e6f6d40a8f5831780
|
|
| BLAKE2b-256 |
78ff620addeb0136f7371f0fd51f925cdbd22161126a117e71a986c2edecfae4
|