Skip to content

Make random attributions of people for a secret santa-style gift exchange. Results will always be a loop (fully connected graph) and no similar attribution will be made twice in successive runs.

Notifications You must be signed in to change notification settings

Perdu/secret-santa-attributions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Secret santa attributions

Make random attributions of people for a secret santa-style gift exchange. Results will always be a loop (fully connected graph) and no similar attribution will be made twice in successive runs.

Run

Create your people.csv file (see people.csv.example), then run:

python tirage.py

Attributions are stored in tuples.csv and similar ones will not be made in subsequent runs.

Example run

python tirage.py

Elsa -> Doug
Doug -> Casey
Casey -> Zahid
Zahid -> Evan
Evan -> Paige
Paige -> Izzie
Izzie -> Sam
Sam -> Julia
Julia -> Gretchen
Gretchen -> Elsa

About

Make random attributions of people for a secret santa-style gift exchange. Results will always be a loop (fully connected graph) and no similar attribution will be made twice in successive runs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages