pico-scheduling
Scheduled method execution for the pico ecosystem: @scheduled on component methods, powered by APScheduler.
Installation
pip install pico-scheduling
Auto-discovered by pico-boot; with plain pico-ioc add "pico_scheduling" to init(modules=[...]).
Quick start
from pico_ioc import component
from pico_scheduling import scheduled
@component
class Reports:
@scheduled(every=300) # every 5 minutes
def refresh_cache(self): ...
@scheduled(cron="0 3 * * *") # 03:00 daily
async def nightly_rollup(self): ...
Jobs start when the container starts and stop on container.shutdown(). Each run resolves the component through the container (prototype scope gives a fresh instance per run). A failing job is logged and does not stop the schedule. Sync and async methods both work.
Disable everything with config:
scheduling:
enabled: false
Documentation
Full documentation: https://dperezcabrera.github.io/pico-scheduling/
Built for AI-assisted development
pico-scheduling is part of an ecosystem designed for humans and coding agents building software together. Every package ships AGENTS.md working conventions, an llms.txt machine-readable docs index and documented behaviour pinned by regression tests; pico-testing gives agents a verification loop for their own changes, and releases are gated by the whole ecosystem booting together against real infrastructure. The full story: Built for AI-assisted development.
Install the agent skills for Claude Code or OpenAI Codex:
curl -sL https://raw.githubusercontent.com/dperezcabrera/pico-skills/main/install.sh | bash
The pico-conventions skill teaches the assistant this module's API surface and invariants; /add-component and /add-tests scaffold components and tests that use it.
License
MIT
Metadata
Release files for pico-scheduling 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 | |
|---|---|---|---|
| pico_scheduling-0.1.1.tar.gz | 22.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pico_scheduling-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.7 kB
Release files / pico_scheduling-0.1.1.tar.gz
| Download URL | pico_scheduling-0.1.1.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
449b97db3cdf02f9c4133d5390d39bf582a5251e180aab43d470d66f1036f557
|
|
BLAKE2b-256 checksum How to use checksums |
a24444b8ba62d0c7403c0ae33c141b575bfdd955ac6fbf73c985b391752d6fb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 29, 2026.
Transparency logRelease files / pico_scheduling-0.1.1-py3-none-any.whl
| Download URL | pico_scheduling-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24ffb510aa44292a4233457e7ff95e9d34f4799321e6b91b6dcfd958bd037fbb
|
|
BLAKE2b-256 checksum How to use checksums |
8314f6b9920b1b7861c23192b6bd98fb04c52dd5a0748e3b071a791cbc710599
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 29, 2026.
Transparency log