Skip to main content

Generating MQTT modules

Project description

Generate MQTT Service

gen_mqtt_service is toolset for generation of MQTT service.

Developed in python code: 100%.

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

Python package GitHub issues open GitHub contributors

Table of Contents

Installation

Used next development environment

Development environment

Install Python2 Package Install Python3 Package

Currently there are three ways to install tool:

  • Install process based on pip
  • Install process based on setup.py (setuptools)
  • Install process based on docker mechanism
Install using pip

Python package is located at pypi.org.

You can install by using pip

# python2
pip install gen-mqtt-service
# python3
pip3 install gen-mqtt-service
Install using setuptools

Navigate to release page download and extract release archive.

To install gen_mqtt_service type the following:

tar xvzf gen_mqtt_service-x.y.z.tar.gz
cd gen_mqtt_service-x.y.z/
# python2
pip install -r requirements.txt
python setup.py install_lib
python setup.py install_data
python setup.py install_egg_info
# python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_data
python3 setup.py install_egg_info
Install using docker

You can use docker to create image/container.

gen_mqtt_service docker checker

Dependencies

gen_mqtt_service requires next modules and libraries:

Generation flow of MQTT service

Base flow of generation process:

MQTT generation flow

Tool structure

gen_mqtt_service is based on OOP.

Generator structure:

gen_mqtt_service/
├── conf/
│   ├── gen_mqtt_service.cfg
│   ├── gen_mqtt_service_util.cfg
│   ├── project.yaml
│   └── template/
│       ├── mosquitto/
│       │   ├── publisher.template
│       │   └── subscriber.template
│       ├── mqtt_node/
│       │   ├── publisher.template
│       │   └── subscriber.template
│       ├── mqtt_node_ws/
│       │   ├── client.template
│       │   └── server.template
│       ├── paho/
│       │   ├── publisher.template
│       │   └── subscriber.template
│       ├── template_mosquitto.yaml
│       ├── template_mqtt_node_ws.yaml
│       ├── template_mqtt_node.yaml
│       └── template_paho.yaml
├── __init__.py
├── log/
│   └── gen_mqtt_service.log
├── pro/
│   ├── config/
│   │   ├── __init__.py
│   │   ├── pro_name.py
│   │   ├── pro_selector.py
│   │   └── pro_type.py
│   ├── __init__.py
│   ├── read_template.py
│   └── write_template.py
└── run/
    └── gen_mqtt_service_run.py

Docs

Documentation Status

More documentation and info at:

Copyright and Licence

License: GPL v3 License

Copyright (C) 2020 by vroncevic.github.io/gen_mqtt_service

gen_mqtt_service is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 2.x/3.x or, at your option, any later version of Python 3 you may have available.

Lets help and support PSF.

Python Software Foundation

Donate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gen_mqtt_service-1.0.1.tar.gz (15.8 kB view hashes)

Uploaded source

Built Distributions

gen_mqtt_service-1.0.1-py3-none-any.whl (38.6 kB view hashes)

Uploaded py3

gen_mqtt_service-1.0.1-py2-none-any.whl (38.6 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page