Skip to main content

patera-taskmanager

Scheduled and background jobs for Patera, based on APScheduler. Part of Patera, a modular async-first Python web framework.

Installation

pip install patera-taskmanager
# or, with uv
uv add "patera[taskmanager]"

Requires Python 3.13 or newer and patera>=0.121.

Usage

patera-taskmanager schedules jobs with APScheduler:

from patera.taskmanager import TaskManager, schedule_job


class Jobs(TaskManager):

    @schedule_job("interval", minutes=5, id="cleanup")
    async def cleanup(self) -> None:
        self.app.logger.info("Cleaning up")

    @schedule_job("cron", hour=3, id="nightly")
    async def nightly(self) -> None: ...

See the Task manager section of the Patera documentation for the full guide.

License

MIT. See LICENSE.

Metadata

Release files for patera-taskmanager 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for patera-taskmanager 0.12.0
File Size Uploaded Provenance Actions
patera_taskmanager-0.12.0.tar.gz 6.3 kB Without provenance Details for patera_taskmanager-0.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for patera-taskmanager 0.12.0
File Interpreter ABI Platform Actions
patera_taskmanager-0.12.0-py3-none-any.whl Python 3 none any Details for patera_taskmanager-0.12.0-py3-none-any.whl

Total release size: 13.9 kB

Release files / patera_taskmanager-0.12.0.tar.gz

Download URL patera_taskmanager-0.12.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d0fb3e8fd7abb4e97704efe7cae2323119010ed935b10d235b287d8de95a017b
BLAKE2b-256 checksum
How to use checksums
3d764e9caf7a8f9df271557218d756fb9173cbafa3e17fa12986a3f954d695f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / patera_taskmanager-0.12.0-py3-none-any.whl

Download URL patera_taskmanager-0.12.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85c8106ea39a93d9d9977df8135f900ab16279d8610181bd9d812df7cda8f5d8
BLAKE2b-256 checksum
How to use checksums
9572c2a691079ed3b1bf33ac868957105f51d1d33a68fa19f2952257d4c34b27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for patera-taskmanager 0.12.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.

Release history Release notifications | RSS feed

This release

0.12.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page