Skip to main content

Python module for easy integration with phantomas

Project description

Python module for easy integration with phantomas


In order to use this module you need phantomas “binary” installed in your system.

sudo make install

This will run node.js’ npm that will install phantomas globally.

Module’s API

import json
from phantomas import Phantomas

results = Phantomas(
    modules=['headers', 'requestsStats']

print results.getMetric('requests')  # get the "requests" metric
print json.dumps(results.getOffenders('requests'), indent=True)  # get offenders for the "requests" metric

Project details

Download files

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

Source Distribution

phantomas-0.1.tar.gz (4.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page