Skip to main content

open-dis-python

Build Status PyPI Version

A Python 3 implementation of the Distributed Interactive Simulation (DIS) 7 standard. Initially generated by xmlpg.

Library installation

From source:

pip install .

For developers of this library (This installs a symlink to the sources so they can be edited and referenced in tests and examples without a reinstall):

pip install -e .

Run examples

Run a receiver:

cd examples
python3 dis_receiver.py

In another terminal, run the sender:

python3 dis_sender.py

You should also see the traffic on the net in Wireshark on your localhost interface.

Press Ctrl+\ to stop the process.

Documentation

You can auto generate API docs from the project source code:

pip install pdoc
pdoc --html --html-dir docs opendis

The docs will be generated in the docs/opendis folder.

Poetry setup

  1. poetry install or poetry update
  2. poetry run python examples/dis_receiver.py or poetry shell && python examples/dis_receiver.py

Metadata

Release files for opendis 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 opendis 1.0
File Size Uploaded
opendis-1.0.tar.gz 57.2 kB Details

Built distribution (wheel)

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

Total release size: 116.5 kB

Release files / opendis-1.0.tar.gz

Download URL opendis-1.0.tar.gz
Size 57.2 kB
Tags Source
SHA-256 checksum
How to use checksums
388ca99164083e944809a3f1727932aab134287a145f8521e7f82f305f05f238
BLAKE2b-256 checksum
How to use checksums
835d46368128924c41f87d3897bfb0749e113194e49fc28745107773ef8c0088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.11.0 Windows/10

Release files / opendis-1.0-py3-none-any.whl

Download URL opendis-1.0-py3-none-any.whl
Size 59.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7527bda8233216df066a4be877c2a405e1f223648462fd33cdd58af695feb96
BLAKE2b-256 checksum
How to use checksums
624f1c515578f7ff00caaf6cfeddcfcf8cafb94233f833be7dee3b8d5ad0abd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.11.0 Windows/10

Release history Release notifications | RSS feed

This release

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