Secret Santa Generator
Project description
xsanta
Secret Santa sender / receiver generator
Installation
pip install xsanta
Example
In python:
>>> from secret import santa
>>> invited = [
... 'Iron Man', 'Captain America', 'Thanos', 'Hulk',
... 'Black Widow', 'Thor', 'Loki', 'Wanda Maximoff',
... ]
>>> excluded = [
... ('Iron Man', 'Captain America'),
... ('Thor', 'Loki'),
... ('Black Widow', 'Hulk'),
... ]
>>> santa.run(invited, excluded)
Thor 🎁 >> Thanos 🎁 >> Loki 🎁 >> Hulk 🎁 >> Iron Man 🎁 >> Thor
Captain America 🎁 >> Black Widow 🎁 >> Wanda Maximoff 🎁 >> Captain America
In command line:
python santa.py "['Iron Man', 'Captain America', 'Thanos']" --emoji=False
Captain America >> Thanos >> Iron Man >> Captain America
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
xsanta-0.1.4b1.tar.gz
(4.3 kB
view hashes)