Skip to main content

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

PyPiVersion image Pytest Ruff

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 & visualization
  • lognplot:
  • dev: all tools used for development
  • test: 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


Download files

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

Source Distribution

trafficbench-0.2.2.tar.gz (43.9 kB view details)

Uploaded Source

Built Distribution

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

trafficbench-0.2.2-py3-none-any.whl (47.9 kB view details)

Uploaded Python 3

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

Hashes for trafficbench-0.2.2.tar.gz
Algorithm Hash digest
SHA256 64807fdd767825467e07cff9b70dc2f4bc779f2177cf81b90136a13bd2ad5110
MD5 ff61847716ddb5419a3c680aba8ed59f
BLAKE2b-256 93f2d6207ff935f8fad2650f1b50eae8cc7b1a3b492ed04854d8b630e0690e9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for trafficbench-0.2.2.tar.gz:

Publisher: py_publish.yml on nes-lab/TrafficBench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for trafficbench-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e94758622a646046725d47a32f307ce3b62148f9a0795fae488dd45cab68a3e5
MD5 91f3405d8ac8f9b204564d5ec76ef631
BLAKE2b-256 df29b8de3e279a6b7302e894f2ea0d5837c7a0096a297ecdad62622dbe741a21

See more details on using hashes here.

Provenance

The following attestation bundles were made for trafficbench-0.2.2-py3-none-any.whl:

Publisher: py_publish.yml on nes-lab/TrafficBench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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