collective.progressbar
This product provides a basic html and javascript progress bar for Plone that are useful for long running server side processes like imports or exports.
To use it, you simply have to fire two events. The first event initialises the progress bar view:
from collective.progressbar.events import InitialiseProgressBar from collective.progressbar.events import ProgressBar title = 'Importing file' bar = ProgressBar(self.context, self.request, title) notify(InitialiseProgressBar(bar))
The ProgressBar class above can take an optional view parameter if you want to customise the view that renders the progress bar further. You only have to include the progressbar macro in your custom view.
To update progress, you simply have to fire the appropriate event:
from collective.progressbar.events import UpdateProgressEvent
from collective.progressbar.events import ProgressState
for index in range(101):
progress = ProgressState(self.request, index)
notify(UpdateProgressEvent(progress))
To see how the progress bar works, install the package and browse to the demo view eg.: http://localhost:8080/plone/@@collective.progressbar-demo
Changelog
0.5 - 2009-09-18
Initial release
Metadata
Release files for collective.progressbar 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| collective.progressbar-0.5.tar.gz | 4.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| collective.progressbar-0.5-py2.4.egg | Legacy Egg format | - | - | Details |
Total release size: 15.4 kB
Release files / collective.progressbar-0.5.tar.gz
| Download URL | collective.progressbar-0.5.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55a80025a8cf0da56c4d4344280f37b6131721989aff9edd94523bad5e436f50
|
|
BLAKE2b-256 checksum How to use checksums |
f0be52aa0f53a74b9928aa1cb0c7b35ed9dea921732603a98f9460a998ab2a92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / collective.progressbar-0.5-py2.4.egg
| Download URL | collective.progressbar-0.5-py2.4.egg |
|---|---|
| Size | 10.7 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
4f28161df04651565fbefb6efac88c5cffba88e507e494ce0bdb1d904fc8d318
|
|
BLAKE2b-256 checksum How to use checksums |
31c5ef8d183585740135f3f3a4b92202220cc5a67f620e0e640e575d72d7cf45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for collective.progressbar 0.5
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.