Skip to content

Synced progress bar for Python and iPython environments.

License

Notifications You must be signed in to change notification settings

javirasu/syncedPB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

syncedPB

Synced progress bar for Python and Jupyter notebooks.

Examples

To import into your program:

from syncedPB import syncedPB

Progress bar on a loop:

for i in syncedPB(range(100)):
    time.sleep(0.1)

If you are working on a Jupyter notebook, and you want a cool popup display when your loop is done:

for i in syncedPB(range(100), popup=True):
    time.sleep(0.1)

How to get it

Easy way

If all goes as planned, the latest version should be uploaded into the Pypi repository. Therefore, the typicall rules for pip apply:

  • Installing: pip install syncedPB.whl

  • Updating: pip install -U syncedPB.whl

Other ways

The latest wheel file can be found in the release section of the repo, or here.

Once downloaded you can install it by:

pip install *.whl

In case you are working on a Jupyter notebook on a remote server, a quick spreadsheet to install it from unix terminal:

wget https://github.com/javirrs/syncedPB/releases/download/v-VersionNumber/syncedPB-version_name.whl

pip install syncedPB-version_name.whl

rm syncedPB-version_name.whl

If you want to update to a new version, just follow the steps above and your package version will update to the latest one (or the newest one being installed).

Last words

Please report any bug (or any cool idea to implement) by opening an issue. Also, pull requestai and collaborators are welcome.

About

Synced progress bar for Python and iPython environments.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages