Valtoris Modbus RTU CRC-16 Calculator
A lightweight, zero-dependency Python package for calculating the Modbus RTU CRC-16 checksum.
🚀 Free Interactive Web Version
If you don't want to write code and just need to quickly verify a Modbus hex frame in the field, use our free web tool: 👉 Launch the Valtoris Modbus CRC-16 Web Calculator
💻 Installation
pip install valtoris-modbus-crc16
⚙️ Usage
from valtoris_modbus_crc16 import calculate_modbus_crc16
# Example: Slave ID 01, Read Holding Registers 03, Start Address 0000, Length 0001
result = calculate_modbus_crc16("01 03 00 00 00 01")
print(result) # Output: 84 0A
## 🏭 About Us
This open-source package is maintained by **[Valtoris Electronics](https://valtoris.com/)**. We manufacture industrial 4G routers and Modbus gateways designed for extreme SCADA environments.
Metadata
Release files for valtoris-modbus-crc16 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| valtoris_modbus_crc16-0.1.0.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| valtoris_modbus_crc16-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.5 kB
Release files / valtoris_modbus_crc16-0.1.0.tar.gz
| Download URL | valtoris_modbus_crc16-0.1.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffacc457ea0a11e862089cf300c213363cb703b2c4d9c6c307a7cf8c3a090120
|
|
BLAKE2b-256 checksum How to use checksums |
859fb53947441b9112a37868f2764c524df813dca6b418575ef9d6a7b6dac536
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / valtoris_modbus_crc16-0.1.0-py3-none-any.whl
| Download URL | valtoris_modbus_crc16-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a6e31d9b086412494ecc7dc9162d628408993d7157afe2d3979f61a663c989a
|
|
BLAKE2b-256 checksum How to use checksums |
a66d5dac69e9f8706c21cf2deb0aecdff7f270074341db69986418575bc598a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|