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
- Host: GitHub
- URL: https://github.com/thealexpatin/saddx
- Owner: theAlexPatin
- Created: 2019-09-12T22:53:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:09:26.000Z (over 3 years ago)
- Last Synced: 2025-08-10T10:41:31.508Z (11 months ago)
- Topics: github, productivity
- Language: Python
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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.

## 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`