Skip to content

Python script for emailing secret santa participants

License

Notifications You must be signed in to change notification settings

rhysturner/secret-santa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

secret-santa can help you manage a list of secret santa participants by randomly assigning pairings and sending emails. It can avoid pairing couples to their significant other, and allows custom email messages to be specified.

Dependencies

pytz pyyaml

Usage

Copy config.yml.template to config.yml and enter in the connection details for your outgoing mail server. Modify the participants and couples lists and the email message if you wish.

cd secret-santa/
cp config.yml.template config.yml

Once configured, call secret-santa:

./secret_santa.py

Calling secret-santa without arguments will output a test pairing of participants.

To send the emails, call using the --send argument

./secret_santa.py --send

About

Python script for emailing secret santa participants

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%