{ "info": { "author": "Maciej Brencz", "author_email": "maciej.brencz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP" ], "description": "Python module for easy integration with `phantomas `__ - PhantomJS-based modular web performance metrics collector\n\n.. image:: https://pypip.in/version/phantomas/badge.svg?style=flat\n :target: https://pypi.python.org/pypi/phantomas/\n :alt: Latest Version\n.. image:: https://pypip.in/download/phantomas/badge.svg?period=week&style=flat\n :target: https://pypi.python.org/pypi/phantomas/\n :alt: Latest Version\n.. image:: https://pypip.in/py_versions/phantomas/badge.svg?style=flat\n :target: https://pypi.python.org/pypi/phantomas/\n :alt: Supported Python versions\n.. image:: https://travis-ci.org/macbre/phantomas-python.svg?branch=master\n :target: https://travis-ci.org/macbre/phantomas-python\n\nInstall\n-------\n\nIn order to use this module you need `phantomas` \"binary\" installed in your system.\n\n::\n\n sudo make install\n\nThis will run `npm install -g phantomas`.\n\nModule's API\n------------\n\n::\n\n import json\n from phantomas import Phantomas\n \n results = Phantomas(\n url=\"http://example.com\",\n exec_path=\"/my/path/to/phantomas\", # optional\n modules=['headers', 'requestsStats']\n ).run()\n\n print('Generator: ' + results.get_generator()) # phantomas v1.9.0\n print('\\nMetrics: ' + json.dumps(results.get_metrics(), indent=True, sort_keys=True))\n print('\\nDomains: ' + json.dumps(results.get_offenders('domains'), indent=True))\n\n # assertions\n assert results.get_metric('notFound') == 0\n assert results.get_metric('requests') < 5\n\nMore docs coming soon! Meanwhile please refer to `example/example.py` script.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/macbre/phantomas-python", "keywords": "high performance web sites,metrics,monitoring,phantomas,phantomjs,web development,webperf", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "phantomas", "package_url": "https://pypi.org/project/phantomas/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/phantomas/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/macbre/phantomas-python" }, "release_url": "https://pypi.org/project/phantomas/0.2.3/", "requires_dist": null, "requires_python": null, "summary": "Python module for easy integration with phantomas", "version": "0.2.3" }, "last_serial": 2198814, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a92462d7dd81c5069b005bb1c949563e", "sha256": "23ec11937d322313f381b11ad801b25b018fec23fbddd883b97e6a7d2fbe6c4c" }, "downloads": -1, "filename": "phantomas-0.1.tar.gz", "has_sig": false, "md5_digest": "a92462d7dd81c5069b005bb1c949563e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4720, "upload_time": "2015-01-24T12:07:58", "url": "https://files.pythonhosted.org/packages/98/0e/69c15aecfc6ea3064ba560dac72f3960cf4a2e9b8639022ef670ed8cd396/phantomas-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "a79a80673b5eb201210e8d1be60933b6", "sha256": "091999e8dea50c615d44dd5b765e82c796f663b653356c88deccdbb737f04ddc" }, "downloads": -1, "filename": "phantomas-0.2.tar.gz", "has_sig": false, "md5_digest": "a79a80673b5eb201210e8d1be60933b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4831, "upload_time": "2015-02-23T18:53:24", "url": "https://files.pythonhosted.org/packages/e7/1d/1783ad7117e31742e755918f2ec97631e8ca4ba8e7a6229d6a2f772459a0/phantomas-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "d3b51860e1f5753259e2fd1f96ea18ce", "sha256": "3c928f4071b3358dddb273b170bd6c1489f7c3844fd43ffd92eb4c2c4999c9af" }, "downloads": -1, "filename": "phantomas-0.2.1.tar.gz", "has_sig": false, "md5_digest": "d3b51860e1f5753259e2fd1f96ea18ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4957, "upload_time": "2015-05-25T18:12:21", "url": "https://files.pythonhosted.org/packages/a8/b9/e0eee930d27d4900e0785bff6080010ff8f225c7e5b7a855ab6eee4c7b44/phantomas-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "167eecb8c7420db590206b58023cd4d5", "sha256": "b18ab7796a9cd2c4954ae0c36cbbfd1d3bad48c2bdf5f04a44db1191c6033ff7" }, "downloads": -1, "filename": "phantomas-0.2.2.tar.gz", "has_sig": false, "md5_digest": "167eecb8c7420db590206b58023cd4d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5121, "upload_time": "2015-06-02T13:42:51", "url": "https://files.pythonhosted.org/packages/ee/0c/82701f7a84d247b9eeb18616d496e0648ab2b71cdff8f65c1fbe65d7b26f/phantomas-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "65574a9b61600af3ecb8262494e324e7", "sha256": "f2b0d384a1d5c24efc5bfb5846bad31323dcd61429865aee764c356bdab0b54a" }, "downloads": -1, "filename": "phantomas-0.2.3.tar.gz", "has_sig": false, "md5_digest": "65574a9b61600af3ecb8262494e324e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5513, "upload_time": "2016-07-01T21:17:04", "url": "https://files.pythonhosted.org/packages/a2/d7/6ece18c02597cbeb33046f0e5973817d746afa4e87e01074d102e1978926/phantomas-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "65574a9b61600af3ecb8262494e324e7", "sha256": "f2b0d384a1d5c24efc5bfb5846bad31323dcd61429865aee764c356bdab0b54a" }, "downloads": -1, "filename": "phantomas-0.2.3.tar.gz", "has_sig": false, "md5_digest": "65574a9b61600af3ecb8262494e324e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5513, "upload_time": "2016-07-01T21:17:04", "url": "https://files.pythonhosted.org/packages/a2/d7/6ece18c02597cbeb33046f0e5973817d746afa4e87e01074d102e1978926/phantomas-0.2.3.tar.gz" } ] }