Skip to main content

Cross-toolkit UI progress tracking

Project description

When doing complex processing that has to report progress indication to the user, things can get complex quick. Often, we don’t know beforehand how many work unit our processing will have, because knowing it depends on another work unit for which the progress should also be reported to the user. One example of such situation is processing files after having collected them. When we start the process, we don’t know how many files we’ll collect, so it’s hard to set a maximum value on our progress bar. jobprogress handles that.

Also, most of the time, we want to run our task in a separate thread so the GUI stays smooth. jobprogress takes care of synchronizing the threaded task and the GUI.

For now, only PyQt is supported, but the toolkit specific layer is pretty thin, so it should be easy to add new toolkits.

The documentation has to be built with Sphinx. You can build the documentation with:

cd docs
make html

The documentation is also available online at http://www.hardcoded.net/docs/jobprogress

Changes

Version 1.0.4 – 2012/03/20

  • Made ThreadedJobPerformer.reraise_if_error() public and stopped calling it automatically.

Version 1.0.3 – 2011/12/07

  • Fixed weird meta-crash on ThreadedJobPerformer._reraise_if_error()

Version 1.0.2 – 2011/07/11

Added Job.check_if_cancelled().

Version 1.0.1 – 2011/05/29

  • Added debug information for a weird crash in ThreadedJobPerformer._reraise_if_error()

Version 1.0.0 – 2010/11/20

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jobprogress-1.0.4.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file jobprogress-1.0.4.tar.gz.

File metadata

  • Download URL: jobprogress-1.0.4.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jobprogress-1.0.4.tar.gz
Algorithm Hash digest
SHA256 4e166d55edae11a7f4d617c1d8ec5959beda250191ff40b480cb440f900c48e6
MD5 1f973f1178e40f6979b78b5806d15d0f
BLAKE2b-256 e2daef8abb1597f855ae664b181560d2881c86e8c5c7a5a6ee48fbb93da151ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page