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
Issue Tracker: https://github.com/jinjamator/pyioping/issues
Source Code: https://github.com/jinjamator/pyioping
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66059136e4dba3ac9fe2e1ac97a5bcdbdd4d6f53ec072bc6dc555364adf65929
|
|
| MD5 |
a79f29a0f381bf06812b1c378d360e56
|
|
| BLAKE2b-256 |
8241af8ec230366790b6d4d9e2dfff44a0b8965cccb866c3777e090e492f4f23
|