Add a demo gif

This commit is contained in:
Georgios Verigakis
2016-01-28 20:47:23 +02:00
parent ded975221b
commit 0435756cf7
2 changed files with 16 additions and 1 deletions

View File

@@ -1,6 +1,14 @@
Easy progress reporting for Python Easy progress reporting for Python
================================== ==================================
|pypi|
|demo|
.. |pypi| image:: https://img.shields.io/pypi/v/progress.svg
.. |demo| image:: https://raw.github.com/verigak/progress/master/demo.gif
:alt: Demo
Bars Bars
---- ----
@@ -94,7 +102,7 @@ For actions with an unknown number of steps you can use a spinner:
.. code-block:: python .. code-block:: python
from progress.spinner import Spinner from progress.spinner import Spinner
spinner = Spinner('Loading ') spinner = Spinner('Loading ')
while state != 'FINISHED': while state != 'FINISHED':
# Do some work # Do some work
@@ -107,8 +115,15 @@ There are 4 predefined spinners:
- ``MoonSpinner`` - ``MoonSpinner``
- ``LineSpinner`` - ``LineSpinner``
Other Other
===== =====
There are a number of other classes available too, please check the source or There are a number of other classes available too, please check the source or
subclass one of them to create your own. subclass one of them to create your own.
License
=======
progress is licensed under ISC

BIN
demo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 KiB