semvec/pypi-packages huggingface dataset:
flask_script_extras 0.1.4
extras commands to Flask-Script.
License: MIT
Keywords: demo setuptools development package

Flask Script Extras
===================
License
-------

.. image:: https://img.shields.io/pypi/l/flask-script-extras.svg
    :target: https://github.com/webee/python-packaging-demo/blob/master/LICENSE
    :alt: The MIT License

PYPI
----

.. image:: https://img.shields.io/pypi/v/flask-script-extras.svg
    :target: https://pypi.python.org/pypi/flask-script-extras
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/wheel/flask-script-extras.svg
    :target: https://pypi.python.org/pypi/flask-script-extras
    :alt: wheel

.. image:: https://img.shields.io/pypi/format/flask-script-extras.svg
    :target: https://pypi.python.org/pypi/flask-script-extras
    :alt: format

.. image:: https://img.shields.io/pypi/pyversions/flask-script-extras.svg
    :target: https://pypi.python.org/pypi/flask-script-extras
    :alt: python versions

.. image:: https://img.shields.io/pypi/implementation/flask-script-extras.svg
    :target: https://pypi.python.org/pypi/flask-script-extras
    :alt: implementation

.. image:: https://img.shields.io/pypi/status/flask-script-extras.svg
    :target: https://pypi.python.org/pypi/flask-script-extras
    :alt: status

.. image:: https://img.shields.io/pypi/dm/flask-script-extras.svg
    :target: https://pypi.python.org/pypi/flask-script-extras
    :alt: downloads/month

.. image:: https://img.shields.io/pypi/dw/flask-script-extras.svg
    :target: https://pypi.python.org/pypi/flask-script-extras
    :alt: downloads/week

.. image:: https://img.shields.io/pypi/dd/flask-script-extras.svg
    :target: https://pypi.python.org/pypi/flask-script-extras
    :alt: downloads/day

Describe
--------

Some extras commands to Flask-Script.


.. :changelog:

Changelog
=========

change logs.


0.1.1~4 (2015-09-11~18)
-----------------------

- fix docs.


0.1.0 (2015-09-11)
------------------

- add Celery Command.


Credits
-------

`Flask-Script-Extras <https://github.com/webee/flask-script-extras>`_ is written and maintained by `webee.yw <https://github.com/webee>`_.

Contributors
------------

The following wonderful people contributed directly or indirectly to this project:

- `hyperwood.yw <https://github.com/hyperwood>`_

Please add yourself here alphabetically when you submit your first pull request.
floodio-python 0.3
Flood.io client for Python 2 and 3
License: MIT

==============
floodio-python
==============

A Flood.io client for Python 2 and 3.

Installation
============

.. code:: sh

    $ pip install floodio-python

Usage
=====

Instantiate a client with your Flood API key:

.. code:: python

    from floodio.client import Client
    
    client = Client('YOURAPIKEY')

Flood API
---------

:code:`client.floods` is iterable:

.. code:: python

    for flood in client.floods:
        print(flood)

or you can get a flood by its uuid:

.. code:: python

    flood = client.floods['SOMEUUID']
    
A flood has :code:`stop`, :code:`repeat`, and :code:`refresh` methods.

.. code:: python

    flood.stop()
    # keyword arguments are optional.
    flood.repeat(grid='SOMEGRIDUUID', region='AWSREGION')
    flood.refresh()  # pulls the latest state of this flood

Accessing :code:`flood.status` performs an implicit refresh.

.. code:: python

    flood.status
    >>> 'queued'
    flood.status
    >>> 'running'
    flood.status
    >>> 'finished'
    
Condensed results are available with :code:`flood.report`.

.. code:: python

    flood.report.summary
    flood.report.mean_response_time
    flood.report.mean_concurrency
    flood.report.mean_throughput
    flood.report.mean_error_rate
    flood.report.mean_apdex
    
and the detailed results are available with :code:`flood.results`, directly loading the JSON-response.

Any times returned by `Flood API V2`_ are parsed into native Python datetime objects.

eg. :code:`flood.started` and :code:`flood.ended`.

You can create a new flood with :code:`client.floods.create`. Test files are a list of two-tuples
with a filename, and either a file-like object or a string.

.. code:: python

    flood = client.floods.create(
        'jmeter-2.13',
        [('test.jmx', your_test_data)],
        name='client-test',
        duration=300,
        threads=200,
        rampup=300,
        grids='SOMEGRIDUUID',
    )

Grid API
--------

.. _Flood API V2: https://help.flood.io/docs/flood-api