NYU MyTime CLI
This Python tool provides a command line interface for the NYU MyTime student employee time-tracking portal. It is based on the Selenium library, which allows it to programmatically control a headless browser.
Install
Download this repository.
git clone https://github.com/matteosandrin/nyu-mytime-cli
Enter the directory and install the Python package.
cd nyu-mytime-cli
pip install .
Download the chromedriver from http://chromedriver.chromium.org and place it in /usr/local/bin/ (This path can be modified in the configuration file).
wget https://chromedriver.storage.googleapis.com/2.40/chromedriver_mac64.zip
unzip chromedriver_mac64.zip
cp ./chromedriver /usr/local/bin/
Usage
# Punch into work
nyu-mytime in
# Punch out of work
nyu-mytime out
# Set a config variable
nyu-mytime config VARIABLE
# Verify configuration
nyu-mytime config
Release files for nyumytimecli 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nyumytimecli-0.0.5.tar.gz | 12.1 kB | Details |
Release files / nyumytimecli-0.0.5.tar.gz
| Download URL | nyumytimecli-0.0.5.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e52d34af24390a3c9f74adc91f813fe00c44405ef38aa2da4dd24d1e1c2c83e
|
|
BLAKE2b-256 checksum How to use checksums |
198f7fb24057b24c302bb2493945039f4bc54937cf482fd7b44c6362007a75a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0
|