Giter Site home page Giter Site logo

annalenalamprecht / coffee-partner-lottery Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 19.0 33 KB

small project from Covid-19 times, for generating random pairings of people who can have a virtual chat and coffee together

License: MIT License

Python 100.00%

coffee-partner-lottery's Introduction

Coffee Partner Lottery

A small project from Covid-19 times, for generating random pairings of people who can have a virtual chat and coffee together. The Python script in this repo takes care of the generation, my whole process for the lottery is as follows:

  1. Let interested people sign up. I use MS Forms for the Coffee Partner Lottery at UU's Department of Information and Computing Sciences (template available here), but Google Forms or another similar tool will also do. You can download the responses and save them as a CSV file (recommended name "Coffee Partner Lottery participants.csv"), which is the input for the Python script.
  2. Run the Python script to generate a set of pairs. It will store all pairs ever generated in another CSV file ("Coffee Partner Lottery all pairs.csv"), to keep track of already generated pairs and thus making sure that new people meet each time. The new set of pairs is written to a separate CSV file ("Coffee Partner Lottery new pairs.csv").
  3. Use Thunderbird's MailMerge plugin to automatically generate e-mails with the information from "Coffee Partner Lottery new pairs.csv", to inform people that they have been paired. I haven't tried, but probably MS Outlook and other e-mail clients have similar functionality. Alternatively, you can just copy the list of pairs from the program output or from the file "Coffee Partner Lottery new pairs.txt" and send them to a Teams chat, group mailing list, or similar.

Other Versions

Different people have implemented variations of the same idea. Some that I am aware of:

coffee-partner-lottery's People

Contributors

tobias-klein avatar tymees avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

coffee-partner-lottery's Issues

Support Mail Merge Wizard of MS Word / Outlook

It would be nice to also support the Mail Merge Wizard of MS Word / Outlook. In that case the CSV output file needs to be structured slightly different, though.

image

Word/Outlook does not support having multiple receiver addresses per pairing. This then requires that each of the receivers of each pair gets their own record/line in the CSV file, so essentially one would have to iterate through each pair and generate multiple lines based on the number of pairing participants (2 or 3).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.