OMNeT++ Python read-eval-print-loop for running and testing simulations
Project description
opp_repl
An interactive Python REPL for OMNeT++ — run simulations, compare results, optimize parameters, and run a wide range of regression tests. Provides an MCP server for AI assistants. All features are accessible from both the interactive REPL and command-line tools. See the Overview for the full feature list.
Installation
Requires Python 3.10+.
pip install opp_repl
See Installation for details on optional extras and environment setup.
Quick Start
First, source the OMNeT++ environment:
. /path/to/omnetpp/setenv
Then launch the REPL using existing omnetpp installation:
opp_repl --load "opp/*.opp"
Then run simulations from the REPL:
In [1]: run_simulations(simulation_project=fifo_project)
See Getting started for a full walkthrough.
Documentation
- Overview — features, CLI options, command-line tools
- Installation — requirements, install, optional extras, environment setup
- Getting started — first launch, running simulations, next steps
- The REPL — launch options, namespace, autoreload, user module
- Concepts — core concepts and how they fit together
- OPP files —
.oppfile format, parameters, and examples - Simulation workspaces — project registry, loading, lookup, defaults
- OMNeT++ projects — OMNeT++ installations, executables, building
- Simulation projects — model projects, source layout, dependencies, building
- Simulation configs — INI file discovery, filtering, run counts
- Simulation tasks — task creation, runners, build modes, re-running
- Task results — result codes, inspection, filtering, re-running
- Running simulations — running simulations, building projects, cleaning
- Comparing simulations — simulation comparison
- Smoke tests — smoke tests
- Fingerprint tests — fingerprint tests
- Statistical tests — statistical tests
- Speed tests — speed tests
- Chart tests — chart tests
- Sanitizer tests — sanitizer tests
- Feature tests — feature tests, release tests, running all tests
- Bisecting — bisecting git commits for test failures
- Parameter optimization — parameter optimization
- Code coverage — coverage reports
- Profiling — performance profiling with perf and Hotspot
- Overlay builds — overlay builds
- Cluster — SSH cluster execution
- GitHub Actions — GitHub Actions integration
- MCP server — MCP server for AI assistants
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opp_repl-0.3.tar.gz.
File metadata
- Download URL: opp_repl-0.3.tar.gz
- Upload date:
- Size: 181.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f00d30eb059b300a5c096cf5e423c0abfecdf89ed49824c0a3a8663f67aeda04
|
|
| MD5 |
4c7392e996cde95adae2bc9246acab1f
|
|
| BLAKE2b-256 |
09efe95cefb313b0f18fdd316cdd098128613b394ef638e6284c70941bdcd343
|
Provenance
The following attestation bundles were made for opp_repl-0.3.tar.gz:
Publisher:
publish-to-pypi.yml on omnetpp/opp_repl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opp_repl-0.3.tar.gz -
Subject digest:
f00d30eb059b300a5c096cf5e423c0abfecdf89ed49824c0a3a8663f67aeda04 - Sigstore transparency entry: 1461613717
- Sigstore integration time:
-
Permalink:
omnetpp/opp_repl@8e0fbf4814d90041d2b25d86a433e65ec502b6fc -
Branch / Tag:
refs/tags/0.3 - Owner: https://github.com/omnetpp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8e0fbf4814d90041d2b25d86a433e65ec502b6fc -
Trigger Event:
push
-
Statement type:
File details
Details for the file opp_repl-0.3-py3-none-any.whl.
File metadata
- Download URL: opp_repl-0.3-py3-none-any.whl
- Upload date:
- Size: 157.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06b2fc0cd816c1dfd8d049970c934225ff185e6f15b09b72506653fcd3483264
|
|
| MD5 |
d6a2cbe323f966e9a58ac45fd29ccfba
|
|
| BLAKE2b-256 |
e25b2c0ba88dfe563939be955c876fe623673b1a2fbf9a7456071909cfacc6dc
|
Provenance
The following attestation bundles were made for opp_repl-0.3-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on omnetpp/opp_repl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opp_repl-0.3-py3-none-any.whl -
Subject digest:
06b2fc0cd816c1dfd8d049970c934225ff185e6f15b09b72506653fcd3483264 - Sigstore transparency entry: 1461613786
- Sigstore integration time:
-
Permalink:
omnetpp/opp_repl@8e0fbf4814d90041d2b25d86a433e65ec502b6fc -
Branch / Tag:
refs/tags/0.3 - Owner: https://github.com/omnetpp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8e0fbf4814d90041d2b25d86a433e65ec502b6fc -
Trigger Event:
push
-
Statement type: