|
2 | 2 | Reference |
3 | 3 | ========= |
4 | 4 |
|
5 | | -Complete descriptions of the public API surface. |
| 5 | +Find constructor arguments, methods and command-line options for the part |
| 6 | +of progressbar2 you are using. Each reference explains the available controls |
| 7 | +and links to the corresponding classes and functions. |
| 8 | + |
| 9 | +Bars and parallel work |
| 10 | +====================== |
| 11 | + |
| 12 | +.. container:: guide-card |
| 13 | + |
| 14 | + .. rubric:: :doc:`Configure a ProgressBar <progressbar>` |
| 15 | + |
| 16 | + Set the value range, widgets, output stream and redraw intervals. |
| 17 | + Look up ``ProgressBar`` methods and the related ``DataTransferBar``, |
| 18 | + ``NullBar`` and ``FastProgressBar`` classes. |
| 19 | + |
| 20 | + .. only:: html and not epub |
| 21 | + |
| 22 | + .. container:: guide-preview |
| 23 | + |
| 24 | + .. image:: /_static/demos/tutorial-step4.svg |
| 25 | + :target: progressbar.html |
| 26 | + :alt: A ProgressBar configured with a percentage, a bar and an ETA. |
| 27 | + |
| 28 | +.. container:: guide-card |
| 29 | + |
| 30 | + .. rubric:: :doc:`Manage rows with MultiBar <multibar>` |
| 31 | + |
| 32 | + Control labels, row ordering and the display of waiting and finished |
| 33 | + jobs. ``MultiBar`` keeps the child bars together and redraws them from |
| 34 | + its background thread. |
| 35 | + |
| 36 | + .. only:: html and not epub |
| 37 | + |
| 38 | + .. container:: guide-preview |
| 39 | + |
| 40 | + .. image:: /_static/demos/howto-multibar.svg |
| 41 | + :target: multibar.html |
| 42 | + :alt: MultiBar displaying several jobs as they advance and finish. |
| 43 | + |
| 44 | +.. container:: guide-card |
| 45 | + |
| 46 | + .. rubric:: :doc:`Choose a parallel execution API <parallel>` |
| 47 | + |
| 48 | + Look up ``map``, ``imap``, ``amap`` and the other batch helpers. |
| 49 | + Compare worker pools, result ordering, concurrency limits and error |
| 50 | + handling, including reusable ``Pool`` and ``AsyncPool`` objects. |
| 51 | + |
| 52 | + .. only:: html and not epub |
| 53 | + |
| 54 | + .. container:: guide-preview |
| 55 | + |
| 56 | + .. image:: /_static/demos/howto-parallel-execution.svg |
| 57 | + :target: parallel.html |
| 58 | + :alt: Parallel tasks with individual progress bars and an overall count. |
| 59 | + |
| 60 | +Widgets, commands and modules |
| 61 | +============================= |
| 62 | + |
| 63 | +.. container:: guide-card |
| 64 | + |
| 65 | + .. rubric:: :doc:`Find the widget for your display <../widgets/index>` |
| 66 | + |
| 67 | + Choose a percentage, timer, transfer speed or live value by what you need |
| 68 | + to show. The widget table identifies which displays need a known total, |
| 69 | + with a runnable example for each widget. |
| 70 | + |
| 71 | + ``Percentage``, ``Bar``, ``ETA``, ``Variable`` |
| 72 | + |
| 73 | +.. container:: guide-card |
| 74 | + |
| 75 | + .. rubric:: :doc:`Look up command-line options <cli>` |
| 76 | + |
| 77 | + Track bytes or lines moving through a pipe or between files with the |
| 78 | + ``progressbar`` command. Check size, rate and output options, including |
| 79 | + the compatibility flags that are accepted but have no effect. |
| 80 | + |
| 81 | + ``progressbar`` and ``bar`` name the same command. |
| 82 | + |
| 83 | +.. container:: guide-card |
| 84 | + |
| 85 | + .. rubric:: :doc:`Browse the full module listing <../progressbar>` |
| 86 | + |
| 87 | + Find classes, functions and modules in the generated API documentation, |
| 88 | + including helpers beyond the focused reference pages above. |
| 89 | + |
| 90 | + ``progressbar.bar``, ``progressbar.multi``, ``progressbar.widgets`` |
6 | 91 |
|
7 | 92 | .. toctree:: |
| 93 | + :hidden: |
8 | 94 | :maxdepth: 1 |
9 | 95 |
|
10 | 96 | progressbar |
|
0 commit comments