Skip to content
This repository was archived by the owner on Sep 12, 2022. It is now read-only.
dylanhanschPublic archive

About

Automate painfully tedious time entry for MNSU eServices

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MnsuTimeAutomation

MNSU eServices time entry is painfully tedious and takes quite a bit of time to complete every pay cycle. This script automates the majority of the process so it takes roughly 5% as much time to get time entered.

Installation

  1. Install pipenv if you don't already have it.
  2. Install dependencies. From the project root run: pipenv install.
  3. Install a supported webdriver somewhere on your system.
  4. Rename config/config.dist.json to config/config.json.
  5. Update values in the config as needed (e.g. webdriver driver, webdriver absolute path, eservices username, etc.).
  6. Create a schedule config in config/schedules - use example.json as an example. Name your default schedule config "default.json".

Running

The recommended way to run this is from the terminal.

cd to the project root and run pipenv shell. This will launch a subshell with the virtual environment loaded. From there you can execute the main.py script as you normally would.

NOTE: You can run this from an IDE however this script uses Python's "getpass" module to enable the user to 'safely' input their password via the terminal if it is not specified in the config. This module does not always work well with IDEs which use their own console/terminal (e.g. PyCharm). Change the "password_prompt_fallback" configuration option to true if you wish to use Python's input() function instead which should work in almost all cases (though your password will be displayed in the terminal as you type).

Contributing

If you would like to contribute please make your changes in a descriptively named branch and open a pull request outlining your changes. If you're looking for ideas for how you can contribute check out the GitHub issues! Thanks for your interest!

Bugs / Feature Requests

Please report bugs or request features by either opening a GitHub issue or emailing dylan@dylanhansch.net.

About

Automate painfully tedious time entry for MNSU eServices

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages