jitt
simple jitter tool
Takes a baseline delay value, a percentage to calculate the min/max for allowed jitter values, and a desired precision; returns a float.
Installation
pip install jitt
python3 -m pip install jitt
Usage
from jitt import Jitt
j = Jitt(delay=10.5, percent=25, precision=3).jitter
print(j)
# misc results for above values (min: 7.875 / max: 13.125)
# 8.177
# 12.975
# 10.565
# 9.022
# 11.43 (trailing zero is truncated)
Release files for jitt 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jitt-0.1.0.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jitt-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / jitt-0.1.0.tar.gz
| Download URL | jitt-0.1.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc6c219643aab0eae1d158cd452fcd9adbe55de506f97519cfec9830374e9ea5
|
|
BLAKE2b-256 checksum How to use checksums |
3b2a8758c69489466e6401a11f4cee1241b40bbff6c589dd6fa9bf21d5375068
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.9
|
Release files / jitt-0.1.0-py3-none-any.whl
| Download URL | jitt-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bc75521de9f16c5ebe63338afebb20a7932a32009e64fbf13f527cecca6e0d5
|
|
BLAKE2b-256 checksum How to use checksums |
00a5681ef7d3ec011020ca7bea6e6743a3b7c31a23f685410900006b9f893af6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.9
|