gen-mqtt-service


Namegen-mqtt-service JSON
Version 1.1.1 PyPI version JSON
download
home_pagehttps://vroncevic.github.io/gen_mqtt_service
SummaryGenerating MQTT modules
upload_time2023-12-31 13:32:53
maintainer
docs_urlNone
authorVladimir Roncevic
requires_python>=3.10
licenseGPL 2024 Free software to use and distributed it.
keywords unix linux development mqtt modules
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <img align="right" src="https://raw.githubusercontent.com/vroncevic/gen_mqtt_service/dev/docs/gen_mqtt_service_logo.png" width="25%">

# Generate MQTT Service

**gen_mqtt_service** is toolset for generation of MQTT service.

Developed in **[python](https://www.python.org/)** 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.

[![gen_mqtt_service python checker](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_python_checker.yml/badge.svg)](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_python_checker.yml) [![gen_mqtt_service package checker](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_package_checker.yml/badge.svg)](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_package.yml) [![GitHub issues open](https://img.shields.io/github/issues/vroncevic/gen_mqtt_service.svg)](https://github.com/vroncevic/gen_mqtt_service/issues) [![GitHub contributors](https://img.shields.io/github/contributors/vroncevic/gen_mqtt_service.svg)](https://github.com/vroncevic/gen_mqtt_service/graphs/contributors)

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents**

- [Installation](#installation)
    - [Install using pip](#install-using-pip)
    - [Install using build](#install-using-build)
    - [Install using py setup](#install-using-py-setup)
    - [Install using docker](#install-using-docker)
- [Dependencies](#dependencies)
- [Tool structure](#tool-structure)
- [Docs](#docs)
- [Contributing](#contributing)
- [Copyright and licence](#copyright-and-licence)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

### Installation

![debian linux os](https://raw.githubusercontent.com/vroncevic/gen_mqtt_service/dev/docs/debtux.png)

[![gen_mqtt_service python3 build](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_python3_build.yml/badge.svg)](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_python3_build.yml)

Currently there are three ways to install package
* Install process based on using pip mechanism
* Install process based on build mechanism
* Install process based on setup.py mechanism
* Install process based on docker mechanism

##### Install using pip

Python package is located at **[pypi.org](https://pypi.org/project/gen-mqtt-service/)**.

You can install by using pip

```bash
# python3
pip3 install gen-mqtt-service
```

##### Install using build

Navigate to release **[page](https://github.com/vroncevic/gen_mqtt_service/releases/)** download and extract release archive.

To install **gen_mqtt_service** type the following

```bash
tar xvzf gen_mqtt_service-x.y.z.tar.gz
cd gen_mqtt_service-x.y.z/
# python3
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py 
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build --no-isolation --wheel
pip3 install ./dist/gen_mqtt_service-*-py3-none-any.whl
rm -f get-pip.py
chmod 755 /usr/local/lib/python3.10/dist-packages/usr/local/bin/gen_mqtt_service_run.py
ln -s /usr/local/lib/python3.10/dist-packages/usr/local/bin/gen_mqtt_service_run.py /usr/local/bin/gen_mqtt_service_run.py
```

##### Install using py setup

Navigate to release **[page](https://github.com/vroncevic/gen_mqtt_service/releases/)** download and extract release archive.

To install modules, locate and run setup.py with arguments

```bash
tar xvzf gen_mqtt_service-x.y.z.tar.gz
cd gen_mqtt_service-x.y.z/
# 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.

### Dependencies

**gen_mqtt_service** requires next modules and libraries

* [ats-utilities - Python App/Tool/Script Utilities](https://vroncevic.github.io/ats_utilities)

### Tool structure

**gen_mqtt_service** is based on OOP.

Generator structure

```bash
    gen_mqtt_service/
        ├── conf/
        │   ├── gen_mqtt_service.cfg
        │   ├── gen_mqtt_service.logo
        │   ├── gen_mqtt_service_util.cfg
        │   ├── project.yaml
        │   └── template/
        │       ├── mosquitto/
        │       │   ├── publisher.template
        │       │   └── subscriber.template
        │       ├── node/
        │       │   ├── publisher.template
        │       │   └── subscriber.template
        │       ├── node_ws/
        │       │   ├── client.template
        │       │   └── server.template
        │       └── paho/
        │           ├── publisher.template
        │           └── subscriber.template
        ├── __init__.py
        ├── log/
        │   └── gen_mqtt_service.log
        ├── pro/
        │   ├── __init__.py
        │   ├── read_template.py
        │   └── write_template.py
        └── run/
            └── gen_mqtt_service_run.py
        
        10 directories, 18 files
```

### Docs

[![Documentation Status](https://readthedocs.org/projects/gen_mqtt_service/badge/?version=latest)](https://gen-mqtt-service.readthedocs.io/en/latest/?badge=latest)

More documentation and info at

* [gen_mqtt_service.readthedocs.io](https://gen-mqtt-service.readthedocs.io)
* [www.python.org](https://www.python.org/)

### Contributing

[Contributing to gen_mqtt_service](CONTRIBUTING.md)

### Copyright and Licence

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Copyright (C) 2020 - 2024 by [vroncevic.github.io/gen_mqtt_service](https://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 3.x or,
at your option, any later version of Python 3 you may have available.

Lets help and support PSF.

[![Python Software Foundation](https://raw.githubusercontent.com/vroncevic/gen_mqtt_service/dev/docs/psf-logo-alpha.png)](https://www.python.org/psf/)

[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.python.org/psf/donations/)

            

Raw data

            {
    "_id": null,
    "home_page": "https://vroncevic.github.io/gen_mqtt_service",
    "name": "gen-mqtt-service",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "Unix,Linux,Development,MQTT,Modules",
    "author": "Vladimir Roncevic",
    "author_email": "elektron.ronca@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d4/d5/f56ed31c4151ed65824a1a3af460c647c6b283229d56f6a7e07fc0398746/gen_mqtt_service-1.1.1.tar.gz",
    "platform": "POSIX",
    "description": "<img align=\"right\" src=\"https://raw.githubusercontent.com/vroncevic/gen_mqtt_service/dev/docs/gen_mqtt_service_logo.png\" width=\"25%\">\n\n# Generate MQTT Service\n\n**gen_mqtt_service** is toolset for generation of MQTT service.\n\nDeveloped in **[python](https://www.python.org/)** code: **100%**.\n\nThe README is used to introduce the modules and provide instructions on\nhow to install the modules, any machine dependencies it may have and any\nother information that should be provided before the modules are installed.\n\n[![gen_mqtt_service python checker](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_python_checker.yml/badge.svg)](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_python_checker.yml) [![gen_mqtt_service package checker](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_package_checker.yml/badge.svg)](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_package.yml) [![GitHub issues open](https://img.shields.io/github/issues/vroncevic/gen_mqtt_service.svg)](https://github.com/vroncevic/gen_mqtt_service/issues) [![GitHub contributors](https://img.shields.io/github/contributors/vroncevic/gen_mqtt_service.svg)](https://github.com/vroncevic/gen_mqtt_service/graphs/contributors)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**\n\n- [Installation](#installation)\n    - [Install using pip](#install-using-pip)\n    - [Install using build](#install-using-build)\n    - [Install using py setup](#install-using-py-setup)\n    - [Install using docker](#install-using-docker)\n- [Dependencies](#dependencies)\n- [Tool structure](#tool-structure)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [Copyright and licence](#copyright-and-licence)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n### Installation\n\n![debian linux os](https://raw.githubusercontent.com/vroncevic/gen_mqtt_service/dev/docs/debtux.png)\n\n[![gen_mqtt_service python3 build](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_python3_build.yml/badge.svg)](https://github.com/vroncevic/gen_mqtt_service/actions/workflows/gen_mqtt_service_python3_build.yml)\n\nCurrently there are three ways to install package\n* Install process based on using pip mechanism\n* Install process based on build mechanism\n* Install process based on setup.py mechanism\n* Install process based on docker mechanism\n\n##### Install using pip\n\nPython package is located at **[pypi.org](https://pypi.org/project/gen-mqtt-service/)**.\n\nYou can install by using pip\n\n```bash\n# python3\npip3 install gen-mqtt-service\n```\n\n##### Install using build\n\nNavigate to release **[page](https://github.com/vroncevic/gen_mqtt_service/releases/)** download and extract release archive.\n\nTo install **gen_mqtt_service** type the following\n\n```bash\ntar xvzf gen_mqtt_service-x.y.z.tar.gz\ncd gen_mqtt_service-x.y.z/\n# python3\nwget https://bootstrap.pypa.io/get-pip.py\npython3 get-pip.py \npython3 -m pip install --upgrade setuptools\npython3 -m pip install --upgrade pip\npython3 -m pip install --upgrade build\npip3 install -r requirements.txt\npython3 -m build --no-isolation --wheel\npip3 install ./dist/gen_mqtt_service-*-py3-none-any.whl\nrm -f get-pip.py\nchmod 755 /usr/local/lib/python3.10/dist-packages/usr/local/bin/gen_mqtt_service_run.py\nln -s /usr/local/lib/python3.10/dist-packages/usr/local/bin/gen_mqtt_service_run.py /usr/local/bin/gen_mqtt_service_run.py\n```\n\n##### Install using py setup\n\nNavigate to release **[page](https://github.com/vroncevic/gen_mqtt_service/releases/)** download and extract release archive.\n\nTo install modules, locate and run setup.py with arguments\n\n```bash\ntar xvzf gen_mqtt_service-x.y.z.tar.gz\ncd gen_mqtt_service-x.y.z/\n# python3\npip3 install -r requirements.txt\npython3 setup.py install_lib\npython3 setup.py install_data\npython3 setup.py install_egg_info\n```\n\n##### Install using docker\n\nYou can use docker to create image/container.\n\n### Dependencies\n\n**gen_mqtt_service** requires next modules and libraries\n\n* [ats-utilities - Python App/Tool/Script Utilities](https://vroncevic.github.io/ats_utilities)\n\n### Tool structure\n\n**gen_mqtt_service** is based on OOP.\n\nGenerator structure\n\n```bash\n    gen_mqtt_service/\n        \u251c\u2500\u2500 conf/\n        \u2502\u00a0\u00a0 \u251c\u2500\u2500 gen_mqtt_service.cfg\n        \u2502\u00a0\u00a0 \u251c\u2500\u2500 gen_mqtt_service.logo\n        \u2502\u00a0\u00a0 \u251c\u2500\u2500 gen_mqtt_service_util.cfg\n        \u2502\u00a0\u00a0 \u251c\u2500\u2500 project.yaml\n        \u2502\u00a0\u00a0 \u2514\u2500\u2500 template/\n        \u2502\u00a0\u00a0     \u251c\u2500\u2500 mosquitto/\n        \u2502\u00a0\u00a0     \u2502\u00a0\u00a0 \u251c\u2500\u2500 publisher.template\n        \u2502\u00a0\u00a0     \u2502\u00a0\u00a0 \u2514\u2500\u2500 subscriber.template\n        \u2502\u00a0\u00a0     \u251c\u2500\u2500 node/\n        \u2502\u00a0\u00a0     \u2502\u00a0\u00a0 \u251c\u2500\u2500 publisher.template\n        \u2502\u00a0\u00a0     \u2502\u00a0\u00a0 \u2514\u2500\u2500 subscriber.template\n        \u2502\u00a0\u00a0     \u251c\u2500\u2500 node_ws/\n        \u2502\u00a0\u00a0     \u2502\u00a0\u00a0 \u251c\u2500\u2500 client.template\n        \u2502\u00a0\u00a0     \u2502\u00a0\u00a0 \u2514\u2500\u2500 server.template\n        \u2502\u00a0\u00a0     \u2514\u2500\u2500 paho/\n        \u2502\u00a0\u00a0         \u251c\u2500\u2500 publisher.template\n        \u2502\u00a0\u00a0         \u2514\u2500\u2500 subscriber.template\n        \u251c\u2500\u2500 __init__.py\n        \u251c\u2500\u2500 log/\n        \u2502\u00a0\u00a0 \u2514\u2500\u2500 gen_mqtt_service.log\n        \u251c\u2500\u2500 pro/\n        \u2502\u00a0\u00a0 \u251c\u2500\u2500 __init__.py\n        \u2502\u00a0\u00a0 \u251c\u2500\u2500 read_template.py\n        \u2502\u00a0\u00a0 \u2514\u2500\u2500 write_template.py\n        \u2514\u2500\u2500 run/\n            \u2514\u2500\u2500 gen_mqtt_service_run.py\n        \n        10 directories, 18 files\n```\n\n### Docs\n\n[![Documentation Status](https://readthedocs.org/projects/gen_mqtt_service/badge/?version=latest)](https://gen-mqtt-service.readthedocs.io/en/latest/?badge=latest)\n\nMore documentation and info at\n\n* [gen_mqtt_service.readthedocs.io](https://gen-mqtt-service.readthedocs.io)\n* [www.python.org](https://www.python.org/)\n\n### Contributing\n\n[Contributing to gen_mqtt_service](CONTRIBUTING.md)\n\n### Copyright and Licence\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nCopyright (C) 2020 - 2024 by [vroncevic.github.io/gen_mqtt_service](https://vroncevic.github.io/gen_mqtt_service)\n\n**gen_mqtt_service** is free software; you can redistribute it and/or modify\nit under the same terms as Python itself, either Python version 3.x or,\nat your option, any later version of Python 3 you may have available.\n\nLets help and support PSF.\n\n[![Python Software Foundation](https://raw.githubusercontent.com/vroncevic/gen_mqtt_service/dev/docs/psf-logo-alpha.png)](https://www.python.org/psf/)\n\n[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.python.org/psf/donations/)\n",
    "bugtrack_url": null,
    "license": "GPL 2024 Free software to use and distributed it.",
    "summary": "Generating MQTT modules",
    "version": "1.1.1",
    "project_urls": {
        "Homepage": "https://vroncevic.github.io/gen_mqtt_service"
    },
    "split_keywords": [
        "unix",
        "linux",
        "development",
        "mqtt",
        "modules"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a7368953d8f63135f7e0930230126b899bc108c66d31fc823d2bd1872e78a31c",
                "md5": "44ac876dbf7429d358c0d1f5625ad500",
                "sha256": "2d64de704ba1c7dfc19907c00c8939f24d269abbb22baac2343b349138bd94b2"
            },
            "downloads": -1,
            "filename": "gen_mqtt_service-1.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "44ac876dbf7429d358c0d1f5625ad500",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 37053,
            "upload_time": "2023-12-31T13:32:51",
            "upload_time_iso_8601": "2023-12-31T13:32:51.388051Z",
            "url": "https://files.pythonhosted.org/packages/a7/36/8953d8f63135f7e0930230126b899bc108c66d31fc823d2bd1872e78a31c/gen_mqtt_service-1.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d4d5f56ed31c4151ed65824a1a3af460c647c6b283229d56f6a7e07fc0398746",
                "md5": "afe587054bd23245e977dd9ef0231a0e",
                "sha256": "dfbc5f9768f7eaa4de626e2e03b2b7f6c8bf2b5ff936ee57c1f58702823e960d"
            },
            "downloads": -1,
            "filename": "gen_mqtt_service-1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "afe587054bd23245e977dd9ef0231a0e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 27677,
            "upload_time": "2023-12-31T13:32:53",
            "upload_time_iso_8601": "2023-12-31T13:32:53.163766Z",
            "url": "https://files.pythonhosted.org/packages/d4/d5/f56ed31c4151ed65824a1a3af460c647c6b283229d56f6a7e07fc0398746/gen_mqtt_service-1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-31 13:32:53",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gen-mqtt-service"
}
        
Elapsed time: 0.27580s