Skip to main content

Python 3 library for Shadow Server reports

Project description


PyPI PyPI - Downloads PyPI - License GitHub issues

Python library to interact with the Shadow Server Report API.

So far it only implements the ASN, malware, Trusted Programs and report queries.


See the documentation and the source code for more information.

Unauthenticated queries

from pyshadowserver import ShadowServer, ShadowServerException

ss = ShadowServer()


Querying reports

from pyshadowserver import ShadowServer, ShadowServerException

ss = ShadowServer(APIKEY, APISECRET)

# Find all reports and save them
reports = ss.reports_list()
for r in reports:
    data = ss.reports_download_raw(r["id"])
    with open(r["file"], "w+") as f:


This code is published under MIT license: do whatever you want with it, but don't blame me if it fails (and open a PR)

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyshadowserver-0.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

pyshadowserver-0.1-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page