Python module for easy integration with phantomas
Project description
Python module for easy integration with phantomas
Install
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( url="http://example.com", modules=['headers', 'requestsStats'] ).run() 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)