https://github.com/open-dis/open-dis-python
Python implementation of the IEEE-1278.1 Distributed Interactive Simulation (DIS) application protocol v7
https://github.com/open-dis/open-dis-python
dis protocol python
Last synced: 2 months ago
JSON representation
Python implementation of the IEEE-1278.1 Distributed Interactive Simulation (DIS) application protocol v7
- Host: GitHub
- URL: https://github.com/open-dis/open-dis-python
- Owner: open-dis
- License: bsd-2-clause
- Created: 2016-12-06T00:16:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2026-03-30T22:10:02.000Z (3 months ago)
- Last Synced: 2026-03-31T00:23:07.102Z (3 months ago)
- Topics: dis, protocol, python
- Language: Python
- Homepage:
- Size: 1.02 MB
- Stars: 72
- Watchers: 10
- Forks: 40
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## open-dis-python
[](https://app.travis-ci.com/open-dis/open-dis-python)
[](https://pypi.org/project/opendis/)
A Python 3 implementation of the Distributed Interactive Simulation (DIS) 7 standard.
Initially generated by [xmlpg](https://github.com/open-dis/xmlpg).
## Library installation
From source:
```bash
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):
```bash
pip install -e .
```
## Run examples
Run a receiver:
```bash
cd examples
python3 dis_receiver.py
```
In another terminal, run the sender:
```bash
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:
```bash
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`
1. `poetry run python examples/dis_receiver.py` or `poetry shell` && `python examples/dis_receiver.py`