Skip to main content

threadmanager

A thread manager for Python programs

It provides:

  • Centralization of starting and monitoring threads
  • State management for the functions in the threads
  • Logging for exceptions and excessive runtime

Original use case:

  • GUI program that calls back-end functions for IO-bound work
  • GUI has a cancel button that should always work, so:
    • the GUI mainloop should not be blocked
    • the called functions should intermittently check if the user has pressed the cancel button
  • Avoid running new work threads when the user wants to cancel
  • Allow running callback functions when the program starts working or goes idle.
    • e.g. update a status bar with certain text

Installation:

  • pip install threadmanager

Tested for Python >=3.6.5 on Linux (Ubuntu) and Windows 7/10

Metadata

Release files for threadmanager 0.1.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 threadmanager 0.1.0
File Size Uploaded Provenance
threadmanager-0.1.0.tar.gz 30.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for threadmanager 0.1.0
File Interpreter ABI Platform
threadmanager-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 65.2 kB

Release files / threadmanager-0.1.0.tar.gz

Download URL threadmanager-0.1.0.tar.gz
Size 30.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b8ad9ed5ad7b203a900ec916bbe1459db19fd6205ecbffc263cd1317b9dd4a0b
BLAKE2b-256 checksum
How to use checksums
9829ea44978505fd95c52751ebff2928ea2f61e6cf67dc4cfcabac4dc2239246
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9

Release files / threadmanager-0.1.0-py3-none-any.whl

Download URL threadmanager-0.1.0-py3-none-any.whl
Size 34.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c140fd9611f10784167a6fcec3ecebef1221fe0e3985b0373d59ca8dd58b3597
BLAKE2b-256 checksum
How to use checksums
82a39a56e8bb64aadb220269ef2c2f657d3433b45927637c38d8c629ca6b4f7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9

Security for threadmanager 0.1.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.

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