Skip to main content

StructLayoutToolkitModel

StructLayoutToolkitModel (distribution name sltmodel) is a standalone, GUI-independent model library that handles StructLayout definitions and binary decoding. It provides the structure engine used by StructLayoutToolkitGui and is intended for reuse by other clients such as a CLI.

Installation

python -m pip install sltmodel

API

from sltmodel import CaptureDocument, PayloadStructDef
from sltmodel.resources import load_pcap_layout

capture = CaptureDocument.from_bytes(capture_bytes)
pcap_layout = load_pcap_layout()

The package provides capture parsing and IP fragment reassembly, conditional payload StructLayout definitions, StructInstance value helpers, InfoSize conversion helpers, and the bundled PCAP/PCAPNG layouts. It does not import or depend on Tkinter.

Development

uv sync
uv run pytest -q
uv build

Metadata

Release files for sltmodel 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sltmodel 0.1.0
File Size Uploaded
sltmodel-0.1.0.tar.gz 22.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sltmodel 0.1.0
File Interpreter ABI Platform
sltmodel-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 41.0 kB

Release files / sltmodel-0.1.0.tar.gz

Download URL sltmodel-0.1.0.tar.gz
Size 22.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e81167bde6bb4027fe81eac7fab65b540a43664f9210397a32d0e74ee72cd87f
BLAKE2b-256 checksum
How to use checksums
08c2c693e813ba3029b66d37f8d1d26162064309c4cc4150742532a644850738
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / sltmodel-0.1.0-py3-none-any.whl

Download URL sltmodel-0.1.0-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e553b0a6a5cd3acb01dd254d09b2a3e4696b9eff8195f81d6a14c639b8705b9
BLAKE2b-256 checksum
How to use checksums
2123d0c5f4858f9e10937df7919d3f85e695404f399b55bb8af56b8db0a18765
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page