Skip to content

rshipp/python-dshield

Repository files navigation

DShield

Build Status Test Coverage Code Health PyPi Version

A Pythonic interface to the Internet Storm Center / DShield API.

Installation

pip install dshield

Usage

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>'