Package: gen-coap-service
Generates CoAP modulesgen_coap_serviceis tool for generation of CoAP modules.Developed inpythoncode: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.Table of ContentsInstallationInstall using pipInstall using buildInstall using py setupInstall using dockerDependenciesTool structureDocsCopyright and LicenceInstallationUsed next development environmentCurrently there are three ways to install packageInstall process based on using pip mechanismInstall process based on build mechanismInstall process based on setup.py mechanismInstall process based on docker mechanismInstall using pipPython package is located atpypi.org.You can install by using pip# python3
pip3 install gen-coap-serviceInstall using buildNavigate torelease pagedownload and extract release archive.To installgen-coap-serviceruntarxvzfgen-coap-service-x.y.z.tar.gzcdgen-coap-service-x.y.z# python3wgethttps://bootstrap.pypa.io/get-pip.py
python3get-pip.pypython3-mpipinstall--upgradesetuptools
python3-mpipinstall--upgradepip
python3-mpipinstall--upgradebuild
pip3install-rrequirements.txt
python3-mbuild-s--no-isolation--wheel
pip3installdist/gen-coap-service-x.y.z-py3-none-any.whl
rm-fget-pip.pyInstall using py setupNavigate to releasepagedownload and extract release archive.To install modules, locate and run setup.py with argumentstar xvzf gen_coap_service-x.y.z.tar.gz
cd gen_coap_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_infoInstall using dockerYou can use docker to create image/container.Dependenciesgen_coap_servicerequires next modules and libraries:ats-utilities - Python App/Tool/Script UtilitiesTool structuregen_coap_serviceis based on OOP.Generator structure:gen_coap_service/├──conf/│├──gen_coap_service.cfg│├──gen_coap_service.logo│├──gen_coap_service_utils.cfg│├──project.yaml│└──template/│├──coapthon/││├──basic││├──basic_resources.template││├──coap_client.template││├──coap_server.template││└──logging.template│├──libcoap/││├──coap_client/│││├──autogen.template│││├──build/││││└──editorconfig.template│││├──configure.template│││├──Makefile.template│││├──README.template│││└──src/│││├──client_api.template│││├──main.template│││├──Makefile.template│││├──print_error.template│││├──print_success.template│││├──print_usage.template│││├──print_verbose.template│││├──process_options.template│││└──time_handler.template││└──coap_server/││├──autogen.template││├──build/│││└──editorconfig.template││├──configure.template││├──Makefile.template││├──README.template││└──src/││├──get_date.template││├──get_full.template││├──get_time.template││├──main.template││├──Makefile.template││├──server_api.template││└──time_handler.template│├──node_coap/││├──client.template││└──server.template│├──template_coapthon.yaml│├──template_libcoap.yaml│└──template_node_coap.yaml├──__init__.py├──log/│└──gen_coap_service.log├──pro/│├──__init__.py│├──read_template.py│└──write_template.py└──run/└──gen_coap_service_run.py16directories,45filesDocsMore documentation and info at:gen_coap_service.readthedocs.ioCoAP Servicewww.python.orgCopyright and LicenceCopyright (C) 2020 - 2024 byvroncevic.github.io/gen_coap_servicegen_coap_serviceis 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.