A Pythonic interface to the Internet Storm Center / DShield API.
pip install dshield
For the full documentation, see the ReadTheDocs site. If you just want a quick start:
>>> import dshield
>>> dshield.infocon()
{'status': 'green'}
>>> dshield.infocon(dshield.XML)
'<?xml version="1.0" encoding="UTF-8"?>\n<infocon>\n<status>green</status>\n</infocon>'