Generate CoAP modules

☯️ gen_coap_service is toolset for generation of CoAP modules.

Developed in 🐍 python code.

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

python package github issues documentation status github contributors

Installation

install python2 package install python3 package

debian linux os

Navigate to release page download and extract release archive 📦.

To install gen_coap_service 📦 type the following

tar xvzf gen_coap_service-x.y.z.tar.gz
cd gen_coap_service-x.y.z/
# python2
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
python2 get-pip.py
python2 -m pip install --upgrade setuptools
python2 -m pip install --upgrade pip
python2 -m pip install --upgrade build
pip2 install -r requirements.txt
python2 -m build --no-isolation --wheel
pip2 install ./dist/gen_coap_service-*-py2-none-any.whl
rm -f get-pip.py
chmod 755 /usr/local/lib/python2.7/dist-packages/usr/local/bin/gen_coap_service_run.py
ln -s /usr/local/lib/python2.7/dist-packages/usr/local/bin/gen_coap_service_run.py /usr/local/bin/gen_coap_service_run.py
# 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_coap_service-*-py3-none-any.whl
rm -f get-pip.py
chmod 755 /usr/local/lib/python3.9/dist-packages/usr/local/bin/gen_coap_service_run.py
ln -s /usr/local/lib/python3.9/dist-packages/usr/local/bin/gen_coap_service_run.py /usr/local/bin/gen_coap_service_run.py

You can use Docker to create image/container, or You can use pip to install 📦

# pyton2
pip2 install gen_coap_service
# pyton3
pip3 install gen_coap_service

github docker checker

Dependencies

gen_coap_service requires next modules and libraries

Generation flow of project setup

Base flow of generation process

https://raw.githubusercontent.com/vroncevic/gen_coap_service/dev/docs/python_setup_flow.png

Tool structure

gen_coap_service is based on OOP.

🧰 Tool structure


Indices and tables