Skip to content

Python tool for scheduling one on ones across a team

Notifications You must be signed in to change notification settings

thieman/one_on_one

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Goal

The goal of this project was to provide a basic tool for scheduling One on Ones at a company.

Code Structure / Program Pieces

The project has three key classes, all of which should be subclassed:

  • Group: The group class returns a dictionary of {'GroupName': [group_list, ...]}
  • Pair: Takes in the dictionary output by Group and returns a list pairs of people [(Person1, Person2), ...]
  • Schedule: Takes in a list of pairs and schedules meetings for those pairs. Scheduling meetings can be whatever is needed for your company

I have implemented 1 subclass for each class type to be use at GameChanger

Running and Testing Locally

Follow these steps to run and test locally

  • Setup a virtualenv
  • Run source <name_of_virtualenv>/bin/activate
  • In this repo run pip install -r requirements.txt; pip install -r test_requirements.txt
  • Run export PYTHONPATH=$PYTHONPATH; python one_on_one/web_app/main.py

Note: You might need to run the web app on a different port then 80. You can do this by setting the environment variable: ONE_ON_ONE_PORT -> (export ONE_ON_ONE_PORT=8000)

About

Python tool for scheduling one on ones across a team

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.3%
  • HTML 14.7%