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.
- Install pipenv if you don't already have it.
- Install dependencies. From the project root run:
pipenv install. - Install a supported webdriver somewhere on your system.
- Rename
config/config.dist.jsontoconfig/config.json. - Update values in the config as needed (e.g. webdriver driver, webdriver absolute path, eservices username, etc.).
- Create a schedule config in
config/schedules- use example.json as an example. Name your default schedule config "default.json".
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).
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!
Please report bugs or request features by either opening a GitHub issue or emailing dylan@dylanhansch.net.