Skip to main content

implementation of DIS, IEEE-1278.1

Project description

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

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opendis-1.0.tar.gz (57.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opendis-1.0-py3-none-any.whl (59.3 kB view details)

Uploaded Python 3

File details

Details for the file opendis-1.0.tar.gz.

File metadata

  • Download URL: opendis-1.0.tar.gz
  • Upload date:
  • Size: 57.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0 Windows/10

File hashes

Hashes for opendis-1.0.tar.gz
Algorithm Hash digest
SHA256 388ca99164083e944809a3f1727932aab134287a145f8521e7f82f305f05f238
MD5 d6f1a86e2cfa128ffeee0822439819a2
BLAKE2b-256 835d46368128924c41f87d3897bfb0749e113194e49fc28745107773ef8c0088

See more details on using hashes here.

File details

Details for the file opendis-1.0-py3-none-any.whl.

File metadata

  • Download URL: opendis-1.0-py3-none-any.whl
  • Upload date:
  • Size: 59.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0 Windows/10

File hashes

Hashes for opendis-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7527bda8233216df066a4be877c2a405e1f223648462fd33cdd58af695feb96
MD5 c53e48c680aceb088dde79dee02cc649
BLAKE2b-256 624f1c515578f7ff00caaf6cfeddcfcf8cafb94233f833be7dee3b8d5ad0abd3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page