Metadata-Version: 2.0
Name: mosquitto-controller
Version: 0.1.2
Summary: Mosquitto Controller
Requires-Dist: tornado (>=3.0)
Requires-Dist: schema (>=0.6.4)

This module wraps context managers around the Mosquitto daemon and its
configuration to enable managing an instance and its configuration.

Example::

    with MosquittoConfig() as cfg:
        with MosquittoController(cfg.config_file) as mosquitto:
            # Use the daemon here

Another Example::

    # Create a configuration
    cfg = MosquittoConfig()
    cfg.__enter__()

    # Launch the daemon
    mosquitto = MosquittoController(cfg.config_file)
    mosquitto.__enter__()

    # Use the daemon here

    # Shut it down
    mosquitto.__exit__()
    # Clean up the (temporary) configuration
    cfg.__exit__()

Note:
    * If you don't call cfg.__exit__() (implicitly or explicitly),
      the configuration will leak temporary files.

Home-page: http://www.synapse-wireless.com
Author: Synapse Wireless
Author-email: support@synapse-wireless.com
License: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Natural Language :: English
