1
0
Fork
You've already forked secret-santa
0
Secret Santa Matcher Application
  • Python 62.1%
  • Dockerfile 21.4%
  • Nix 16.5%
2024年11月22日 12:30:46 -05:00
.devcontainer Minor cleanup 2021年11月08日 20:27:03 +00:00
.github/workflows string instead of number 2021年11月08日 20:11:39 +00:00
stubs Check types with mypy (sorta) 2020年11月30日 15:21:30 -05:00
.gitignore Allow text-based output 2023年12月04日 13:04:36 -05:00
devenv.lock Turn off manylinux 2024年11月22日 12:21:59 -05:00
devenv.nix Turn off manylinux 2024年11月22日 12:21:59 -05:00
devenv.yaml Turn off manylinux 2024年11月22日 12:21:59 -05:00
LICENSE Add a license 2023年11月28日 19:37:36 -05:00
main.py Allow text-based output 2023年12月04日 13:04:36 -05:00
poetry.lock Bump deps 2024年11月22日 12:30:46 -05:00
pyproject.toml Bump deps 2024年11月22日 12:12:33 -05:00
README.md Update readme 2023年12月04日 13:08:40 -05:00
requirements.txt Bump deps 2024年11月22日 12:12:33 -05:00

Secret Santa

An app to text people with secret santa stuff.

Assumptions

  1. That there is a solution (will keep going until it finds one)
  2. You have a first and last name
  3. The input data is of good quality
  4. The Phone Numbers are from the US Region
  5. That you're me and are using the data I put in

Rules

There are a few rules in the engine:

  1. You don't get your partner (users Partner ID)
  2. You don't end up with a cycle (A has B and B has A)
  3. You don't get yourself

user-list.csv format

Field Name Description Type
ID Sequential ID integer
Name The person's name string
Phone The person's phone number string
Relation ID A reference to the person's partner null or integer

Environment Variables

Name Description
TWILIO_ACCOUNT_SID The Account SID for your Paid Twilio.com account
TWILIO_AUTH_TOKEN The Production Auth Token for your Paid Twilio.com account
TWILIO_FROM The from number, that you own in Twilio, in e164 format
TWILIO_ENABLE If twilio should be enabled (will text output) true or 1 to enable