Skip to main content
Project generated with PyScaffold PyPI-Server

Scheduled Thread Pool Executor

Scheduled Thread Pool Executor implementation in python

Makes use of delayed queue implementation to submit tasks to the thread pool.

Usage

from scheduled_thread_pool_executor import ScheduledThreadPoolExecutor
scheduled_executor = ScheduledThreadPoolExecutor(max_workers=5)
scheduled_executor.schedule(task, 0)  # equals to schedule once, where task is a callable
scheduled_executor.schedule_at_fixed_rate(task, 0, 5)  # schedule immediately and run periodically for every 5 secs
scheduled_executor.schedule_at_fixed_delay(task, 5, 10)  # schedule after 5secs (initial delay) and run periodically for every 10secs

Note

This project has been set up using PyScaffold 4.1.1. For details and usage information on PyScaffold see https://pyscaffold.org/.

Release files for scheduled-thread-pool-executor 1.0.2

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

Source distribution (sdist)

Source distribution for scheduled-thread-pool-executor 1.0.2
File Size Uploaded
scheduled_thread_pool_executor-1.0.2.tar.gz 19.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scheduled-thread-pool-executor 1.0.2
File Interpreter ABI Platform
scheduled_thread_pool_executor-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 25.1 kB

Release files / scheduled_thread_pool_executor-1.0.2.tar.gz

Download URL scheduled_thread_pool_executor-1.0.2.tar.gz
Size 19.3 kB
Tags Source
SHA-256 checksum
How to use checksums
887f4651a8597a86a6223f1311b5792dbc81190151995e0b9bcdf848d4ce5d10
BLAKE2b-256 checksum
How to use checksums
43da6acf59532e084bd9847082f0c1f264c2bf64d512f00ca7d8990ee856225c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

Release files / scheduled_thread_pool_executor-1.0.2-py3-none-any.whl

Download URL scheduled_thread_pool_executor-1.0.2-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecbd13823dbbac1a0ca50aedf41f032cc06e78ab2f1b479586dd7848d42a0937
BLAKE2b-256 checksum
How to use checksums
3071fb0d928a2e7fe788e9dab468f30d909726492a59dd3712a3d61d65998132
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

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