Skip to main content

CI codecov A modern WAN Emulator developed by the Institute for Networked Solutions

WEmulate

Have a look at the documentation for detailed information.

Installation

Requirements

  • At least two network interfaces for LAN-A and LAN-B
  • A third management interface if you would like to use the api and frontend module
  • Ubuntu installed
  • Root permissions

Getting Started

To install only the WEmulate cli with bash, simply run this command in your terminal of choice:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/wemulate/wemulate/main/install/install.sh)"

There are different arguments available in order to enhance the installation experience:

-h               Prints the help message
-f               Skip the confirmation prompt during installation
-i <int1,int2>   List of interfaces which should be used as management interfaces
-a               Install the api module
-v               Install the frontend module

You can for example install the cli, api and frontend module together with one management interface with the following command:

curl -fsSL https://raw.githubusercontent.com/wemulate/wemulate/main/install/install.sh | bash -s -- -a -v -i ens2 -f

Usage

WEmulate CLI Commands

# Add a new connection
$ wemulate add connection -n connectionname -i LAN-A LAN-B

# Delete a connection
$ wemulate delete connection -n connectionname

# Add parameters bidirectional
$ wemulate add parameter -n connectionname -j 20 -d 40

# Add parameters in specific direction
$ wemulate add parameter -n connectionname -j 20 -d 40 -src LAN-A -dst LAN-B

Development

Configure poetry to create the environment inside the project path, in order that VSCode can recognize the virtual environment.

$ poetry config virtualenvs.in-project true

Install the virtualenv.

$ poetry install

Testing

In order to test WEmulate and to use an in-memory sqlite database, the following environment variable has to be set:

export WEMULATE_TESTING=true

Install the dev dependencies:

poetry install --with dev

The tests can then be executed with pytest.

poetry run pytest

Metadata

Release files for wemulate 2.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wemulate 2.0.5
File Size Uploaded Provenance Actions
wemulate-2.0.5.tar.gz 29.1 kB Without provenance Details for wemulate-2.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 71.0 kB

Release files / wemulate-2.0.5.tar.gz

Download URL wemulate-2.0.5.tar.gz
Size 29.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5e9b4f575fdb2be4eb67af80436a05e84b12a54ff39a0211fcb6d2d70095a1a4
BLAKE2b-256 checksum
How to use checksums
868faeb76df183168495bb514a8117deaaeb9d1194c34d69100aa29acf0150e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / wemulate-2.0.5-py3-none-any.whl

Download URL wemulate-2.0.5-py3-none-any.whl
Size 41.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6ee44842b111d6f8337790795a4eaf565e3bd86b645da5b96f98771fdef7386
BLAKE2b-256 checksum
How to use checksums
b755b45b248e3b28c609f6772031e980e077b1966b07af4c3b4fbde47a464305
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for wemulate 2.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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