a tool suite for the experimental exploration of concurrent packet transmissions and their consequences (physical layer effects) in low-power wireless networks
Project description
Trafficbench
Python-Package to process & analyze logs generated by Trafficbench. This replaces the former collection of scripts.
Installation
PIP - Online
pip install trafficbench -U
For bleeding-edge-features or dev-work it is possible to install directly from GitHub-Sources (here dev-branch):
pip install git+https://github.com/nes-lab/TrafficBench.git@dev#subdirectory=py_package -U
PIP - Offline
- clone repository
- navigate shell into directory
- install local module
git https://github.com/orgua/shepherd-targets
cd .\nrf52_rf_survey\trafficbench\py_package
pip3 install .
Additional Install-Options
glue: live analysis & visualizationlognplot:dev: all tools used for developmenttest: environment to run unittests
Example usage:
pip3 install .[glue]
pip3 install .[dev, test]
pip3 install .[all]
Usage
CLI
Examples
trafficbench --help
trafficbench receive --help
As python library
see examples
TODO
- publish on PyPI
- further break down long functions
- implement streaming-functionality -> a set of generators?
- uart -> filter -> dump -> analyze
- further cleanup as ruff & flake8 report 300+ warnings/errors
- add proper documentation with tutorial, examples
- gts = global timestamp
- only 32 bit, increments with 16 MHz, overflows > 4min
- should be extended by counting overflows or get guided by receive-TS
- analyze packet reception rate
- plot graph
Project details
Release history Release notifications | RSS feed
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 trafficbench-0.2.2.tar.gz.
File metadata
- Download URL: trafficbench-0.2.2.tar.gz
- Upload date:
- Size: 43.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64807fdd767825467e07cff9b70dc2f4bc779f2177cf81b90136a13bd2ad5110
|
|
| MD5 |
ff61847716ddb5419a3c680aba8ed59f
|
|
| BLAKE2b-256 |
93f2d6207ff935f8fad2650f1b50eae8cc7b1a3b492ed04854d8b630e0690e9a
|
Provenance
The following attestation bundles were made for trafficbench-0.2.2.tar.gz:
Publisher:
py_publish.yml on nes-lab/TrafficBench
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trafficbench-0.2.2.tar.gz -
Subject digest:
64807fdd767825467e07cff9b70dc2f4bc779f2177cf81b90136a13bd2ad5110 - Sigstore transparency entry: 166799175
- Sigstore integration time:
-
Permalink:
nes-lab/TrafficBench@ea35100062789b0b612c9670c93002436afcf7e9 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/nes-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
py_publish.yml@ea35100062789b0b612c9670c93002436afcf7e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file trafficbench-0.2.2-py3-none-any.whl.
File metadata
- Download URL: trafficbench-0.2.2-py3-none-any.whl
- Upload date:
- Size: 47.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e94758622a646046725d47a32f307ce3b62148f9a0795fae488dd45cab68a3e5
|
|
| MD5 |
91f3405d8ac8f9b204564d5ec76ef631
|
|
| BLAKE2b-256 |
df29b8de3e279a6b7302e894f2ea0d5837c7a0096a297ecdad62622dbe741a21
|
Provenance
The following attestation bundles were made for trafficbench-0.2.2-py3-none-any.whl:
Publisher:
py_publish.yml on nes-lab/TrafficBench
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trafficbench-0.2.2-py3-none-any.whl -
Subject digest:
e94758622a646046725d47a32f307ce3b62148f9a0795fae488dd45cab68a3e5 - Sigstore transparency entry: 166799180
- Sigstore integration time:
-
Permalink:
nes-lab/TrafficBench@ea35100062789b0b612c9670c93002436afcf7e9 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/nes-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
py_publish.yml@ea35100062789b0b612c9670c93002436afcf7e9 -
Trigger Event:
push
-
Statement type: