Wikipedia, Wikidata, and citations

http://magnusmanske.de/wordpress/?p=559

import os

import pandas
import pymysql
try: 
    conn = pymysql.connect(
        host="tools.db.svc.eqiad.wmflabs",
        user=os.environ['MYSQL_USERNAME'],
        password=os.environ['MYSQL_PASSWORD'],
        database='s52680__science_source_p',
        charset='utf8'
    )
except:
    pass