Skip to main content

classic-thread-pool-executor

Библиотека дает простой класс Executor для исполнения задач в порядке очереди.

Для использования необходимо передать количество worker-ов.

Для добавления callback-ов используется метод .submit(). В него следует передать callback. Callback будет вызван когда подойдёт его очередь.

Методом .stop() можно остановить работу исполнителя.

Например:

from classic.executor import Executor

executor = Executor(workers_num=1)

def some_task():
    print('Hello, world!')

executor.submit(some_task)
executor.stop(block=True) # Дожидается остановки

Metadata

Release files for classic-thread-pool-executor 1.1.1

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

Source distribution (sdist)

Source distribution for classic-thread-pool-executor 1.1.1
File Size Uploaded Provenance
classic_thread_pool_executor-1.1.1.tar.gz 4.2 kB With provenance Details

Built distribution (wheel)

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

Total release size: 8.9 kB

Release files / classic_thread_pool_executor-1.1.1.tar.gz

Download URL classic_thread_pool_executor-1.1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fec271bc499c5b19e8119c59287cdb73eb4be73c131b0334c9ef80bf8f401a78
BLAKE2b-256 checksum
How to use checksums
65d96a4c6a4cd5b9464e464a7593a23524452817ec2ed3087445f4587dbf7000
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 11, 2025.

Transparency log

Release files / classic_thread_pool_executor-1.1.1-py3-none-any.whl

Download URL classic_thread_pool_executor-1.1.1-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e44ba181aeca57deb089d1698494e261377f095a23a8f1f5dac6a0dfb0e79ae
BLAKE2b-256 checksum
How to use checksums
7168d2fb5b119ba582b0f8bdf015d27bcd4c31620d7083c785e31079f7d3feef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 11, 2025.

Transparency log

Security for classic-thread-pool-executor 1.1.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for classic_thread_pool_executor-1.1.1.tar.gz

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 11, 2025.

Transparency log

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.

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