Skip to main content
=========
play mqtt
=========


.. image:: https://img.shields.io/pypi/v/play_mqtt.svg
:target: https://pypi.python.org/pypi/play_mqtt

.. image:: https://img.shields.io/travis/tierratelematics/play_mqtt.svg
:target: https://travis-ci.org/tierratelematics/play_mqtt

.. image:: https://readthedocs.org/projects/play-mqtt/badge/?version=latest
:target: https://play-mqtt.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://codecov.io/gh/tierratelematics/play_mqtt/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/tierratelematics/play_mqtt


``pytest-play`` support for MQTT support.

Thanks to ``play_mqtt`` you can test the integration between a mocked IoT
device that sends commands on MQTT and a reactive web application with UI checks.

You can also build a simulator that generates messages for you.

More info and examples on:

* pytest-play_, documentation
* cookiecutter-qa_, see ``pytest-play`` in action with a working example if you want to start hacking


Features
========

This project defines a new pytest-play_ command:

::

{"provider": "mqtt",
"type": "publish",
"host": "$mqtt_host",
"port": $mqtt_port,
"endpoint": '$mqtt_endpoint',
"payload": {
"measure_id": [100],
"obj_id_L": [0],
"measureType": ["float"],
"start_time": 1514911926114,
"bin_value": [77251432]
}
}

Twitter
=======

``pytest-play`` tweets happens here:

* `@davidemoro`_

Credits
=======

This package was created with Cookiecutter_ and the cookiecutter-play-plugin_ (based on `audreyr/cookiecutter-pypackage`_ project template).

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _`cookiecutter-play-plugin`: https://github.com/tierratelematics/cookiecutter-play-plugin
.. _pytest-play: https://github.com/tierratelematics/pytest-play
.. _cookiecutter-qa: https://github.com/tierratelematics/cookiecutter-qa
.. _`@davidemoro`: https://twitter.com/davidemoro


=======
CHANGES
=======

0.0.2 (2018-01-10)
------------------

- Commands accept kwargs now


0.0.1 (2018-01-04)
------------------

* First release


Metadata

Release files for play-mqtt 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for play-mqtt 0.0.2
File Size Uploaded Provenance Actions
play_mqtt-0.0.2.tar.gz 11.9 kB Without provenance Details for play_mqtt-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for play-mqtt 0.0.2
File Interpreter ABI Platform Actions
play_mqtt-0.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for play_mqtt-0.0.2-py2.py3-none-any.whl

Total release size: 17.0 kB

Release files / play_mqtt-0.0.2.tar.gz

Download URL play_mqtt-0.0.2.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
42bd569410fa3b9636e25a6b51caab7e8a8e4a454c4cc69de0eb273ed1141a70
BLAKE2b-256 checksum
How to use checksums
60e7fe973386668271b25b54098de09a7495c6eaa64f35330f4a51964a499567
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / play_mqtt-0.0.2-py2.py3-none-any.whl

Download URL play_mqtt-0.0.2-py2.py3-none-any.whl
Size 5.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f15d1f335883110cae04c2b656edff5d950a359ef4e78cf3d5bf52134fe314ce
BLAKE2b-256 checksum
How to use checksums
2facd17fc9243177e1a73ec2af7cbea67c6187f58cac3301e6786f75c43aa845
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for play-mqtt 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page