evoid-scheduler
Priority-aware scheduler — Intent Handler system
Quick Start • Intent Handler • Features • API
Quick Start
uv add evoid-scheduler
Method 1: Intent Handler (Recommended)
from evoid_scheduler import register_handlers
# Register scheduler as Intent handlers
register_handlers(max_workers=4)
Method 2: Direct API
from evoid_scheduler import SchedulerEngine, Priority
scheduler = SchedulerEngine()
await scheduler.submit(intent=process_payment, priority=Priority.CRITICAL)
Intent Handler
evoid-scheduler registers priority-aware task scheduling as Intent handlers.
Features
- True priority queue — O(log n) enqueue/dequeue
- System metrics — CPU cores, load average, memory usage
- Adaptive concurrency — Adjusts based on system load
- Task deferral — Low-priority tasks deferred when system is busy
- Cross-service balancing — Distribute work across instances
Configuration
TOML
[engines]
scheduler = "scheduler"
[engines.options.scheduler]
max_workers = 4
API
register_handlers(max_workers: int = 4)
Register scheduler as Intent handlers.
SchedulerEngine Methods
| Method | Signature | Description |
|---|---|---|
submit |
async submit(intent, priority, ...) |
Submit task with priority |
metrics |
metrics() |
Get system metrics |
active |
active |
Count of running tasks |
Priority Levels
| Priority | Value | Use Case |
|---|---|---|
CRITICAL |
1 | Payments, medical |
HIGH |
2 | User requests |
NORMAL |
3 | Background jobs |
LOW |
4 | Analytics, logging |
Dependencies
evoid>=0.4.0
Links
License
MIT
Metadata
Release files for evoid-scheduler 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| evoid_scheduler-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for evoid_scheduler-0.2.0-py3-none-any.whl |
Release files / evoid_scheduler-0.2.0-py3-none-any.whl
| Download URL | evoid_scheduler-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd34b53ad818af5376478eb4b350b1aed65117354a4a89039785d02f2c4f250e
|
|
BLAKE2b-256 checksum How to use checksums |
5501e6ee94cb509474d430869124b84072055425f788ed807075e92bd138af95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for evoid-scheduler 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.