Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

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.

Files for nyumytimecli, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size nyumytimecli-0.0.5.tar.gz (12.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page