Skip to content

Application for sending emails to people who owe you a drink.

Notifications You must be signed in to change notification settings

StudentTraineeCenter/pay-me-a-drink

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pay me a drink

Application for sending emails to people who owe you a drink. The application uses Azure Text Analytics to analyze the text of the email and determine if the person write a character in the drink list. If the person writes a character in the drink list, the application sends an email to the person with the list of people who owe him a drink.

To set up the environment variables, create a .env file in the root directory of your project with the following content:

# .env
AZURE_ENDPOINT=""
AZURE_API_KEY=""
GMAIL_MY_ADDRESS=""
GMAIL_PASSWORD=""

Gmail password is an app password, not your real password. You can create one here.

Install the dependencies:

pip install -r requirements.txt

Structure of input csv file:

name;email

Recognizable characters in the drink list: K , P.

About

Application for sending emails to people who owe you a drink.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%