You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-19Lines changed: 17 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,39 +1,37 @@
1
1
# PyLoadBar
2
2
3
-
> _**Minimalist load sequence/progress bar module.**_
3
+
> _**Customizeable loading sequence/progress bar generator, enabling users to customize start/finish messages, toggle sequence type, and set total iterations among other features.**_
4
4
5
5
---
6
6
7
7
## About
8
8
9
-
- Useful for small intermittent pauses between console text returns, or code actions.
9
+
- Useful for small intermittent pauses between console text returns, or visualizing the progress of a long-running process.
10
10
11
-
- Customizable/optional loading and completion messages are available to print to the console (stdout).
11
+
- Users can choose between two different loading sequences:
12
+
13
+
-**A.** Progress-bar style loading sequence
14
+
-**B.** Animated-text style loading sequence
15
+
16
+
- The desired loading sequence **can be toggled** using the `enable_bar: bool` parameter.
17
+
18
+
- If `enable_bar: bool` is `False`, the progress-bar sequence will not be used, and the animated text-based loading sequence will be used instead.
19
+
20
+
- The text-based loading sequence displays the loading message followed by incrementing dots, all printed to the same line.
12
21
13
22
- Messages can be customized by passing custom strings to the `msg_loading: str` and `msg_complete: str` parameters respectively.
14
23
15
-
- The sequence loading message defaults to `"Loading..."`
16
-
- The sequence completion message defaults to `"Done!"`
24
+
- The loading message defaults to `"Loading..."`
25
+
- The completion message defaults to `"Done!"`
17
26
18
27
- You may apply a label to the progress bar using the `label: str` parameter (defaults to `None`).
19
28
20
-
-`enable_display: bool` must be set to `True` for a label to be assigned to the progress bar.
29
+
-**NOTE:**`enable_bar: bool` must be set to `True` for a label to be assigned to the progress bar.
21
30
22
31
- The time taken to complete each iteration can be determined using the `min_iter: float` and `max_iter: float` parameters.
23
-
24
32
- Each iteration length is randomized to a value between `min_iter: float` and `max_iter: float` seconds.
25
33
- e.g. `start(min_iter=0.5, max_iter=1.5)` would take anywhere between 0.5 - 1.5 seconds to complete a single iteration.
26
34
27
-
- Users can choose between two different loading sequences:
28
-
**A.** Progress-bar style loading sequence
29
-
**B.** Animated-text style loading sequence
30
-
31
-
- If `enable_display: bool` is `False, the progress-bar-based sequence will not be used, and the animated text-based loading sequence will be used instead.
32
-
33
-
- The desired loading sequence **can be toggled** using the `enable_display: bool` parameter.
34
-
35
-
- The text-based loading sequence displays the loading message followed by incrementing dots, all printed to the same line
Copy file name to clipboardExpand all lines: setup.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@
7
7
8
8
setup(
9
9
name='PyLoadBar',
10
-
version="0.0.9",
10
+
version="0.0.9.1",
11
11
description=
12
-
'Easy-to-use loading sequence/progress bar generator, enabling users to customize start/finish messages, toggle visual progress meter, set amount of iterations, among other features.',
12
+
'Customizeable loading sequence/progress bar generator, enabling users to customize start/finish messages, toggle sequence type, and set total iterations among other features.',
0 commit comments