Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 2.41 KB

README.md

File metadata and controls

38 lines (30 loc) · 2.41 KB

python

A lot of cool stats for the WCA-database done by me, Linus! Mostly Python + SQL.

Look at 'SQL-collection' for some cool SQL-queries you can use on your own.

Setup

In order to use most of the files, you need a database connection. Since I do not want to disclose my private connection details to you, you need to create a static config.

Create directory static in project root and add config.py with the following dictionary contents:

credentials = {
    'host': 'localhost',
    'db': 'local_database',
    'user': 'JohnDoe',
    'passwd': 'password123',
    'port': 3306,
    'socket': '/path/to/unix/socket'
}

The keys for port and socket are optional

See the newest posts: