Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

```bash
git clone https://github.com/matteosandrin/nyu-mytime-cli
```

Enter the directory and install the Python package.

```bash
cd nyu-mytime-cli
pip install .
```

Download the `chromedriver` from [http://chromedriver.chromium.org](http://chromedriver.chromium.org/) and place it in `/usr/local/bin/` (This path can be modified in the configuration file).

```bash
wget https://chromedriver.storage.googleapis.com/2.40/chromedriver_mac64.zip
unzip chromedriver_mac64.zip
cp ./chromedriver /usr/local/bin/
```

## Usage

```bash
# 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.4
Filename, size File type Python version Upload date Hashes
Filename, size nyumytimecli-0.0.4.tar.gz (11.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page