Skip to content

AndelaOSP/shufflebox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shufflebox v0.0.1

Author: Andela Kenya

Overview

A randomizer package for shuffling.

Installation / Usage

To install use pip: [COMING SOON]

 $ pip install shufflebox

Or clone the repo:

$ git clone https://github.com/Habu-Kagumba/shufflebox.git

Install locally:

$ python setup.py install

Or install in project environment:

# Inside environment, navigate to shufflebox directory
$ pip install -e .

Contributing

TBD

Example

from shufflebox import Randomizer

# create the dataset
items = list(range(90))

rand = Randomizer(items)

# get random item
rand.get_random()

# create groups of 4 items
rand.create_groups(4)

About

🔀 A dataset shuffling package

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published