A pure Python library for parsing and generating NIST-ITL binary files.
Installation
nistitl is published on PyPI and can be installed from there:
pip install -U nistitl
Quick Start
To generate a NIST-ITL binary message:
msg = nistitl.Message()
msg.TOT = 'MY_TOT'
r2 = nistitl.AsciiRecord(2)
r2 += nistitl.Field(2,3,alias='TEST')
msg += r2
buffer = msg.NIST
To parse a NIST-ITL binary message:
msg = nistitl.Message()
msg.parse(buffer)
print("The TOT is ",msg.TOT)
for record in msg.iter(2):
print("Field 2.003 is ",record._3)
See the full documentation for more details.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nistitl-0.6.tar.gz
(42.5 kB
view details)
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
nistitl-0.6-py3-none-any.whl
(22.0 kB
view details)
File details
Details for the file nistitl-0.6.tar.gz.
File metadata
- Download URL: nistitl-0.6.tar.gz
- Upload date:
- Size: 42.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11d12e4ec4f7fa3fca3ff38c7e3d8fc67a4b1d63fe9dfd80ed6e50ab7c485e70
|
|
| MD5 |
96e272dbe0dd40d2f2181d5f3b05908f
|
|
| BLAKE2b-256 |
3e8a50f6ec07b2f726825491a498f2c8be2b03ca854816d4b82f2646a4c31706
|
File details
Details for the file nistitl-0.6-py3-none-any.whl.
File metadata
- Download URL: nistitl-0.6-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c69850d1bebc0e5ad838da6b6ec348399392ec6518d13abed7061aa0a4229f8
|
|
| MD5 |
22645fc585c4a225068fe866b02e3209
|
|
| BLAKE2b-256 |
eda693b7d562996613634f62d93b9414ab29c85e2ca423788b0ad89c6fa18d01
|