Skip to main content
Help us improve Python packaging – donate today!

nyanbar is a progress bar for scripts that uses the Nyan cat instead of other stuff.

Project Description

NyanBar - a Nyan Cat progress bar for python

Example:

progress = NyanBar() # do some work progress.update(20) # update always takes where you are now progress.finish()

Or…

progress = NyanBar(tasks=100) # do some work. progress.task_done() # do many more tasks… progress.finish()

Or… if you happen to have a specific MP3 file, famous or not.

progress = NyanBar(audiofile=”/path/to/NyanCat-original.mp3”) progress.update(20) … progress.finish()

You can also use progress in a with statement which will call finish() for you:

with NyanBar(tasks=10, audiofile=”/path/to/NyanCat-original.mp3”) as progress:
progress.task_done() … more

(You’ll need to be on OSX and have afplay, or on Linux and have mpg123 or mplayer)

Release history Release notifications

This version
History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
nyanbar-0.3.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None Apr 24, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page