Skip to main content

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

Metadata

Release files for trafficbench 0.2.2

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

Source distribution (sdist)

Source distribution for trafficbench 0.2.2
File Size Uploaded Provenance Actions
trafficbench-0.2.2.tar.gz 43.9 kB With provenance Details for trafficbench-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 91.7 kB

Release files / trafficbench-0.2.2.tar.gz

Download URL trafficbench-0.2.2.tar.gz
Size 43.9 kB
Tags Source
SHA-256 checksum
How to use checksums
64807fdd767825467e07cff9b70dc2f4bc779f2177cf81b90136a13bd2ad5110
BLAKE2b-256 checksum
How to use checksums
93f2d6207ff935f8fad2650f1b50eae8cc7b1a3b492ed04854d8b630e0690e9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 29, 2025.

Transparency log

Release files / trafficbench-0.2.2-py3-none-any.whl

Download URL trafficbench-0.2.2-py3-none-any.whl
Size 47.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e94758622a646046725d47a32f307ce3b62148f9a0795fae488dd45cab68a3e5
BLAKE2b-256 checksum
How to use checksums
df29b8de3e279a6b7302e894f2ea0d5837c7a0096a297ecdad62622dbe741a21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 29, 2025.

Transparency log

Security for trafficbench 0.2.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for trafficbench-0.2.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 29, 2025.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files Full provenance

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