Coder Social home page Coder Social logo

calttc_pipeline's Introduction

CalTTC Pipeline

Cal Table Tennis automated pipeline for signups.

Setup

  • Setup virtualenv for Python 3.7.4. (Instructions tbd if you don't know how)
  • Clone this repo
  • run pip install -r requirements.txt inside your virtualenv

How to Use

  1. Get the right input sheet. a) For nt and rr, Download the sheet from the Google Signup Form in CSV FORM(!!!) for that week. b) For donuts, you have to create the csv. Easiest way to do it is go into Excel/Google Sheets, and create two columns: One named "OFFICERS" and one named "GENERAL". In each column should be the names of officers, and all members (including officers). Export this as a csv file.
  2. Move the file into calttc_pipeline/inputs/
  3. Run: python pipeline.py --form=form --input=input_filename --output=output_filename
  4. The form options are: 'nt', 'at', 'rr', 'donut_weekly', 'donut_semester'.
  5. Your file should appear in calttc_pipeline/outputs/ under the output name.
  6. Go to Google Sheets and import the csv! If it is donuts, it is stored as a .txt file, so you just have to open it in Word/Google Docs.

For example, let's say you are making the advanced training list and it is called at_week9_input.csv. You want it to show up as at_week9_output.csv. Therefore the command you would type is: python pipeline.py --form=at --input=at_week9_input.csv --output=at_week9_output.csv

Notes:

  • Make sure you remember it's in CSV form and that '.csv'
  • Do not commit real input files with people's real SIDs.

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.