How open-dis/open-dis-python works
open-dis-python is a Python implementation of the DIS 7 binary protocol. The documented user workflow is to run a receiver and sender and observe DIS traffic; the library supplies PDU and record types plus binary stream support. The graph includes documented examples and major protocol domains, alongside the serialization layer. Source excerpts support the core serialization dependencies; example internals and several unsampled modules are represented conservatively, so their runtime connections are not inferred.
Main entry points: base.py Record interfaces · stream.py Binary streams · __init__.py Record registry and exports · common.py Common records
Components 16
DIS Protocol Model
- Sender and receiver examples
examples - DIS 7 PDUs
opendis/dis7.py - PDU factory
opendis/PduFactory.py
Record Types
- Record registry and exports
opendis/record/__init__.py - Common records
opendis/record/common.py - Radio records
opendis/record/radio/__init__.py - Warfare records
opendis/record/warfare/__init__.py - Warfare bitfields
opendis/record/warfare/enums.py
Serialization Runtime
- Record interfaces
opendis/record/base.py - Bitfield codec
opendis/record/bitfield.py - Binary streams
opendis/stream.py - Protocol type aliases
opendis/types.py - Symbolic constants
opendis/record/symbolic_names.py
Simulation Utilities
- Dead reckoning
opendis/DeadReckoning.py - Range coordinates
opendis/RangeCoordinates.py
Other components
- Simulation user
Connections 26
- Simulation user → Sender and receiver examples: runs
README.md - Sender and receiver examples → Simulation user: exchanges DIS traffic
README.md - PDU factory → DIS 7 PDUs: uses PDU classes
opendis/PduFactory.py - PDU factory → Binary streams: uses streams
opendis/PduFactory.py - DIS 7 PDUs → Record registry and exports: imports records
opendis/dis7.py - DIS 7 PDUs → Record interfaces: uses record base
opendis/dis7.py - DIS 7 PDUs → Binary streams: serializes through
opendis/dis7.py - Record registry and exports → Common records: exports records
opendis/record/__init__.py - Record registry and exports → Radio records: exports records
opendis/record/__init__.py - Record registry and exports → Warfare records: exports records
opendis/record/__init__.py - Record registry and exports → Symbolic constants: imports constants
opendis/record/__init__.py - Common records → Record interfaces: uses interfaces
opendis/record/common.py - Common records → Bitfield codec: uses bitfields
opendis/record/common.py - Common records → Binary streams: reads and writes
opendis/record/common.py - Common records → Symbolic constants: uses constants
opendis/record/common.py - Radio records → Record interfaces: uses interfaces
opendis/record/radio/__init__.py - Radio records → Bitfield codec: uses bitfields
opendis/record/radio/__init__.py - Warfare records → Record interfaces: uses interfaces
opendis/record/warfare/__init__.py - Warfare records → Bitfield codec: uses bitfields
opendis/record/warfare/__init__.py - Warfare records → Warfare bitfields: uses flags
opendis/record/warfare/__init__.py - Warfare records → Radio records: uses radio records
opendis/record/warfare/__init__.py - Warfare bitfields → Record interfaces: implements interface
opendis/record/warfare/enums.py - Warfare bitfields → Bitfield codec: packs fields
opendis/record/warfare/enums.py - Record interfaces → Binary streams: defines stream methods
opendis/record/base.py - Bitfield codec → Binary streams: reads and writes
opendis/record/bitfield.py - Binary streams → Protocol type aliases: uses aliases
opendis/stream.py