Generic IIoT protocols package
Project description
author: Delhaye Adrien year: 2023
Iot Protocols
This package contains easy to use module for communication using various IIoT protocols.
Install
pip install iot-protocols
Upload on Twine
Upload pyporject.toml
More detailled informations on https://packaging.python.org/en/latest/tutorials/packaging-projects/
Open the pyproject.toml file and update at least the version field with your current verion following the template :
For alpha release : <version>.<subversion>.<fix>-a<i>
For beta release : <version>.<subversion>.<fix>-b<i>
For relase candidate release : <version>.<subversion>.<fix>-rc<i>
For final release : <version>.<subversion>.<fix>
Save your changes
Save everything.
Test everyting.
Push the files on the gitlab repository with version associated TAG.
Build the package
Ensure you have upgraded pip:
py -m pip install --upgrade pip
Then from the root directory where the pyproject.toml file belongs, execute :
py -m build
This will generate your package tar.gz and wheel files into the build folder.
Upload the dist
First ensure you have twine updated:
py -m pip install --upgrade twine
Get your username and token from PyPi
Use the following command to upload and gives your username and token to authentify, with username as '__token__':
py -m twine upload dist/<package-file-to-update>
You can also, if the build package doesn't exists yet on the PyPi registry use :
py -m twine upload dist/*
How to use
CMD line test
You can use the command line interface to explicitely make request using one of the available protocol. To to this, call the main.py script and pass the disired and or required arguments to the command.
For exemple, using the modbus client:
Modbus Client
IEC62056 Client
Snap-7 Client
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iot-protocols-1.0.0rc4.tar.gz.
File metadata
- Download URL: iot-protocols-1.0.0rc4.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52141caf9609c4e85882fca2d3365ec24372fb9fb72e9b2af3833e060a33478e
|
|
| MD5 |
200194210ba5910734a9ec4b77361b2f
|
|
| BLAKE2b-256 |
4068d1f7f42bbf93079dcc89393124c589264a1eb87ed58dd333265573c0e94c
|
File details
Details for the file iot_protocols-1.0.0rc4-py3-none-any.whl.
File metadata
- Download URL: iot_protocols-1.0.0rc4-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcc1ea8865860cbfada4cb2c67e5ac16cf60f6148f20b9ed074c78345122e645
|
|
| MD5 |
4b8215de99e9e7b97d2994eab5146012
|
|
| BLAKE2b-256 |
1e8120ddeac560feeaadc2100491c0e9233d1bafe72975dd6dcb7c9d45825c30
|