An open API service indexing awesome lists of open source software.

https://github.com/thealexpatin/saddx

Scripts to compare productivity (measured in git commits) to temperature
https://github.com/thealexpatin/saddx

github productivity

Last synced: 16 days ago
JSON representation

Scripts to compare productivity (measured in git commits) to temperature

Awesome Lists containing this project

README

          

# SADDx
**Seasonal Affective Disorder Diagnostics** (for developers)

A collection of scripts to fetch git commit counts and temperature data, then compare them over the course of a year.

![Screenshot](img/screenshot.png)

## Requirements

- Python 3
- A Weatherstack API Key
- A Github personal OAuth token

## Setting Up

You'll need to set the following environment variables in a .env file:
```
WEATHERSTACK_KEY=
GITHUB_KEY=
GITHUB_USERNAME=
LOCATION=
```
Then run...
```
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
```

## Using it

#### Fetch Github commit data

`$ python commits.py`

#### Fetch weather data

`$ python weather.py`

#### Display resulting data

`$ python display.py`