schedulyr
Python port of React Scheduler semantics (parity target: facebook/react packages/scheduler).
Install
pip install schedulyr
Tiny example
from schedulyr import NORMAL_PRIORITY, Scheduler
s = Scheduler()
s.schedule_callback(NORMAL_PRIORITY, lambda: print("work"), delay_ms=0)
s.run_until_idle()
Source of truth
- Upstream:
https://github.com/facebook/react/tree/main/packages/scheduler
Metadata
Release files for schedulyr 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| schedulyr-0.0.1.tar.gz | 1.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| schedulyr-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.1 kB
Release files / schedulyr-0.0.1.tar.gz
| Download URL | schedulyr-0.0.1.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bcd1d0d445a2cb5030b861ef47f5213d140667365edeca8afce9365117beb23
|
|
BLAKE2b-256 checksum How to use checksums |
f499648f5ec1d3b7c80e3d1f8f5301f476186ac3a8d33d5fe30587d7dfdec6bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.18
|
Release files / schedulyr-0.0.1-py3-none-any.whl
| Download URL | schedulyr-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d92a586f7a5feedd924884f8335a1cff5f1ce3ad30dee0f7f4b033ee86af0e8f
|
|
BLAKE2b-256 checksum How to use checksums |
06bd1f3735eec7dc98462d1d3556328e3fd1f2d0f64ecb088d63f16bb514dbaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.18
|