tsayt
tsayt is another asyncio cron scheduling micro-library for Python.
Installation
uv add tsayt
Usage
import asyncio
import tsayt
from tsayt import OverlapPolicy
async def frob():
# do something
async def main():
scheduler = tsayt.Scheduler()
# Default: skip the next firing if the previous one is still running.
scheduler.register("0 0 * * *", frob)
# Or allow concurrent invocations for fully independent, stateless work.
scheduler.register("0 0 * * *", frob, overlap=OverlapPolicy.ALLOW)
# Runs indefinitely, executing all registered tasks on their schedules.
await scheduler.run()
if __name__ == "__main__":
asyncio.run(main())
Development
Run tests:
uv run pytest
# with coverage
uv run coverage run -m pytest
uv run coverage report -m
Run lints and type checking:
uv run ruff format --check
uv run ruff check
uv run ty check
Build docs:
uv run sphinx-build -b html docs docs/_build/html
Licence
tsayt is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in tsayt by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.
Metadata
Release files for tsayt 0.1.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 | |
|---|---|---|---|
| tsayt-0.1.1.tar.gz | 8.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tsayt-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.3 kB
Release files / tsayt-0.1.1.tar.gz
| Download URL | tsayt-0.1.1.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ce8cd429a6a52b2f157cf4168512614406d162c51b2fe5fa908bc02bba94c0a
|
|
BLAKE2b-256 checksum How to use checksums |
af1792c7f7ace8f1bd4b8f4f2e570bbcd788f82497a68f424119efec763a1741
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","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}
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.
Transparency logRelease files / tsayt-0.1.1-py3-none-any.whl
| Download URL | tsayt-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea70ccdf9bc4b0f23b832d8169a40ba64aa47a7df3499ba236ad45493c1ca6c3
|
|
BLAKE2b-256 checksum How to use checksums |
188b9f7ad7c19828fc4c540a7cbb9fb35b57a525b5fe66d5a8274a56e458bf8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","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}
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.
Transparency log