Skip to main content

Abstraction layer for ioping linux binary

Project description

Pyioping is an abstraction layer to simplify programatic use of the ioping binary for linux. It was written to have a simple interface for test setups.

Features

Pyioping has following features:
  • create and manage ioping instances

  • get results of instances by parsing output to python datastructures.

  • register callbacks intermediate results.

Installation

Install pyioping by running:

pip3 install pyioping

Examples

Create a unicast udp 1000pps setup and test for 10 seconds

test2 = IOPingInstance()
test2.set_options(name=1,test_path="/tmp",interval=0.1)
test2.start()
test = IOPingInstance()
test.set_options(name=2,test_path="/srv",interval=0.1)
test.start()

Supported Parameters

To see all supported parameters for the set_options function, review the constructor of the IPerfInstance object.

Contribute

Roadmap

Selected Roadmap items:
  • add class documentation

For documentation please refer to https://pyioping.readthedocs.io/en/latest/

License

This project is licensed under the Apache License Version 2.0

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyioping-0.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file pyioping-0.1-py3-none-any.whl.

File metadata

  • Download URL: pyioping-0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.28.1 setuptools/65.4.0 requests-toolbelt/0.10.1 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyioping-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 66059136e4dba3ac9fe2e1ac97a5bcdbdd4d6f53ec072bc6dc555364adf65929
MD5 a79f29a0f381bf06812b1c378d360e56
BLAKE2b-256 8241af8ec230366790b6d4d9e2dfff44a0b8965cccb866c3777e090e492f4f23

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page