progressbar2 4.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,27 @@
1
+ '''Text progress bar library for Python.
2
+
3
+ A text progress bar is typically used to display the progress of a long
4
+ running operation, providing a visual cue that processing is underway.
5
+
6
+ The ProgressBar class manages the current progress, and the format of the line
7
+ is given by a number of widgets. A widget is an object that may display
8
+ differently depending on the state of the progress bar.
9
+
10
+ The progressbar module is very easy to use, yet very powerful. It will also
11
+ automatically enable features like auto-resizing when the system supports it.
12
+ '''
13
+
14
+ __title__ = 'Python Progressbar'
15
+ __package_name__ = 'progressbar2'
16
+ __author__ = 'Rick van Hattem (Wolph)'
17
+ __description__ = ' '.join(
18
+ '''
19
+ A Python Progressbar library to provide visual (yet text based) progress to
20
+ long running operations.
21
+ '''.strip().split(),
22
+ )
23
+ __email__ = 'wolph@wol.ph'
24
+ __version__ = '4.3.0'
25
+ __license__ = 'BSD'
26
+ __copyright__ = 'Copyright 2015 Rick van Hattem (Wolph)'
27
+ __url__ = 'https://github.com/WoLpH/python-progressbar'
@@ -0,0 +1,81 @@
1
+ from datetime import date
2
+
3
+ from .__about__ import __author__, __version__
4
+ from .bar import DataTransferBar, NullBar, ProgressBar
5
+ from .base import UnknownLength
6
+ from .multi import MultiBar, SortKey
7
+ from .shortcuts import progressbar
8
+ from .terminal.stream import LineOffsetStreamWrapper
9
+ from .utils import len_color, streams
10
+ from .widgets import (
11
+ ETA,
12
+ AbsoluteETA,
13
+ AdaptiveETA,
14
+ AdaptiveTransferSpeed,
15
+ AnimatedMarker,
16
+ Bar,
17
+ BouncingBar,
18
+ Counter,
19
+ CurrentTime,
20
+ DataSize,
21
+ DynamicMessage,
22
+ FileTransferSpeed,
23
+ FormatCustomText,
24
+ FormatLabel,
25
+ FormatLabelBar,
26
+ GranularBar,
27
+ JobStatusBar,
28
+ MultiProgressBar,
29
+ MultiRangeBar,
30
+ Percentage,
31
+ PercentageLabelBar,
32
+ ReverseBar,
33
+ RotatingMarker,
34
+ SimpleProgress,
35
+ Timer,
36
+ Variable,
37
+ VariableMixin,
38
+ )
39
+
40
+ __date__ = str(date.today())
41
+ __all__ = [
42
+ 'progressbar',
43
+ 'len_color',
44
+ 'streams',
45
+ 'Timer',
46
+ 'ETA',
47
+ 'AdaptiveETA',
48
+ 'AbsoluteETA',
49
+ 'DataSize',
50
+ 'FileTransferSpeed',
51
+ 'AdaptiveTransferSpeed',
52
+ 'AnimatedMarker',
53
+ 'Counter',
54
+ 'Percentage',
55
+ 'FormatLabel',
56
+ 'SimpleProgress',
57
+ 'Bar',
58
+ 'ReverseBar',
59
+ 'BouncingBar',
60
+ 'UnknownLength',
61
+ 'ProgressBar',
62
+ 'DataTransferBar',
63
+ 'RotatingMarker',
64
+ 'VariableMixin',
65
+ 'MultiRangeBar',
66
+ 'MultiProgressBar',
67
+ 'GranularBar',
68
+ 'FormatLabelBar',
69
+ 'PercentageLabelBar',
70
+ 'Variable',
71
+ 'DynamicMessage',
72
+ 'FormatCustomText',
73
+ 'CurrentTime',
74
+ 'NullBar',
75
+ '__author__',
76
+ '__version__',
77
+ 'LineOffsetStreamWrapper',
78
+ 'MultiBar',
79
+ 'SortKey',
80
+ 'JobStatusBar',
81
+ ]