A command-line interface for NYU's employee time-tracking website
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nyumytimecli-0.0.5.tar.gz
(12.1 kB
view details)
File details
Details for the file nyumytimecli-0.0.5.tar.gz
.
File metadata
- Download URL: nyumytimecli-0.0.5.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e52d34af24390a3c9f74adc91f813fe00c44405ef38aa2da4dd24d1e1c2c83e |
|
MD5 | fd0019cfa4dd8927574f7abb196a5085 |
|
BLAKE2b-256 | 198f7fb24057b24c302bb2493945039f4bc54937cf482fd7b44c6362007a75a1 |