{ "info": { "author": "Devon Meunier", "author_email": "devon@eventmobi.com", "bugtrack_url": null, "classifiers": [], "description": "==============\r\nfloodio-python\r\n==============\r\n\r\nA Flood.io client for Python 2 and 3.\r\n\r\nInstallation\r\n============\r\n\r\n.. code:: sh\r\n\r\n $ pip install floodio-python\r\n\r\nUsage\r\n=====\r\n\r\nInstantiate a client with your Flood API key:\r\n\r\n.. code:: python\r\n\r\n from floodio.client import Client\r\n \r\n client = Client('YOURAPIKEY')\r\n\r\nFlood API\r\n---------\r\n\r\n:code:`client.floods` is iterable:\r\n\r\n.. code:: python\r\n\r\n for flood in client.floods:\r\n print(flood)\r\n\r\nor you can get a flood by its uuid:\r\n\r\n.. code:: python\r\n\r\n flood = client.floods['SOMEUUID']\r\n \r\nA flood has :code:`stop`, :code:`repeat`, and :code:`refresh` methods.\r\n\r\n.. code:: python\r\n\r\n flood.stop()\r\n # keyword arguments are optional.\r\n flood.repeat(grid='SOMEGRIDUUID', region='AWSREGION')\r\n flood.refresh() # pulls the latest state of this flood\r\n\r\nAccessing :code:`flood.status` performs an implicit refresh.\r\n\r\n.. code:: python\r\n\r\n flood.status\r\n >>> 'queued'\r\n flood.status\r\n >>> 'running'\r\n flood.status\r\n >>> 'finished'\r\n \r\nCondensed results are available with :code:`flood.report`.\r\n\r\n.. code:: python\r\n\r\n flood.report.summary\r\n flood.report.mean_response_time\r\n flood.report.mean_concurrency\r\n flood.report.mean_throughput\r\n flood.report.mean_error_rate\r\n flood.report.mean_apdex\r\n \r\nand the detailed results are available with :code:`flood.results`, directly loading the JSON-response.\r\n\r\nAny times returned by `Flood API V2`_ are parsed into native Python datetime objects.\r\n\r\neg. :code:`flood.started` and :code:`flood.ended`.\r\n\r\nYou can create a new flood with :code:`client.floods.create`. Test files are a list of two-tuples\r\nwith a filename, and either a file-like object or a string.\r\n\r\n.. code:: python\r\n\r\n flood = client.floods.create(\r\n 'jmeter-2.13',\r\n [('test.jmx', your_test_data)],\r\n name='client-test',\r\n duration=300,\r\n threads=200,\r\n rampup=300,\r\n grids='SOMEGRIDUUID',\r\n )\r\n\r\nGrid API\r\n--------\r\n\r\n.. _Flood API V2: https://help.flood.io/docs/flood-api\r\n", "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/EventMobi/floodio-python", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "floodio-python", "package_url": "https://pypi.org/project/floodio-python/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/floodio-python/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/EventMobi/floodio-python" }, "release_url": "https://pypi.org/project/floodio-python/0.3/", "requires_dist": null, "requires_python": null, "summary": "Flood.io client for Python 2 and 3", "version": "0.3" }, "last_serial": 1726820, "releases": { "0.0.0": [], "0.1": [], "0.3": [ { "comment_text": "", "digests": { "md5": "31850872923b7dca2d23baa239072f84", "sha256": "41ddb80f21486a8b7f4f6a9e447e90227713cb2f4de56eac1e6b4cf47d2d7146" }, "downloads": -1, "filename": "floodio-python-0.3.tar.gz", "has_sig": false, "md5_digest": "31850872923b7dca2d23baa239072f84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3902, "upload_time": "2015-09-17T15:33:54", "url": "https://files.pythonhosted.org/packages/f6/3c/bd41d4b8aa3c6e83059c74d31e7dbcb03bcb3008b565f54a4e2013b46090/floodio-python-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "31850872923b7dca2d23baa239072f84", "sha256": "41ddb80f21486a8b7f4f6a9e447e90227713cb2f4de56eac1e6b4cf47d2d7146" }, "downloads": -1, "filename": "floodio-python-0.3.tar.gz", "has_sig": false, "md5_digest": "31850872923b7dca2d23baa239072f84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3902, "upload_time": "2015-09-17T15:33:54", "url": "https://files.pythonhosted.org/packages/f6/3c/bd41d4b8aa3c6e83059c74d31e7dbcb03bcb3008b565f54a4e2013b46090/floodio-python-0.3.tar.gz" } ] }