Naive timed execution of custom handlers in multiple threads
Project description
# Naive Python Runner
## What does it do?
naivepyrunner is library to schedule a small amount of timed tasks that may need to perform repeatedly. It does not claim to always choose the right execution order of those tasks to minimize the overall delay if it is running under limited ressources, but it does try to do so.
## How does it work?
## Why is it naive?
The runner assumes that the list with yet to execute tasks does not change while calculating the optimal position for the task. This may lead to not optimal positioning
# Installation
Install it via `pip`:
``` bash
pip install naivepyrunner -U
```
Clone this repo and build it yourself:
``` bash
pip install wheel -U
# clone via https
git clone https://github.com/henningjanssen/naivepyrunner.git
# or via ssh
git clone git@github.com:henningjanssen/naivepyrunner.git
cd naivepyrunner
# install via pip
pip install .
# or register as developed package
python setup.py develop
# or build the package and place it with your packages
make
```
# Usage
# License
## What does it do?
naivepyrunner is library to schedule a small amount of timed tasks that may need to perform repeatedly. It does not claim to always choose the right execution order of those tasks to minimize the overall delay if it is running under limited ressources, but it does try to do so.
## How does it work?
## Why is it naive?
The runner assumes that the list with yet to execute tasks does not change while calculating the optimal position for the task. This may lead to not optimal positioning
# Installation
Install it via `pip`:
``` bash
pip install naivepyrunner -U
```
Clone this repo and build it yourself:
``` bash
pip install wheel -U
# clone via https
git clone https://github.com/henningjanssen/naivepyrunner.git
# or via ssh
git clone git@github.com:henningjanssen/naivepyrunner.git
cd naivepyrunner
# install via pip
pip install .
# or register as developed package
python setup.py develop
# or build the package and place it with your packages
make
```
# Usage
# License
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
naivepyrunner-0.1.2.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file naivepyrunner-0.1.2.tar.gz
.
File metadata
- Download URL: naivepyrunner-0.1.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe8b7a7b589895726d04b40266da1870c020f9ccceb5de6bc936c6c95a39e12a |
|
MD5 | 8aec1d1a8c0e546cfb4e1f297371c1a5 |
|
BLAKE2b-256 | a1fc4633c7450adfe728734adc1b8816f88c083cfc57591c84678c637c7d9051 |
File details
Details for the file naivepyrunner-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: naivepyrunner-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ffd3e8170271f85cb603ab18fc075a7dd2e76651d4086ad6d048b5913ec1eab |
|
MD5 | 617a1c249dba28946d506c482b295681 |
|
BLAKE2b-256 | cd0cbd64605c6841dd28ce5a96e6578988729b9d80a93d26704a31d7db92e612 |