Skip to main content

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


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page