Skip to main content

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)

Download files

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

Source Distribution

nyanbar-0.3.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file nyanbar-0.3.tar.gz.

File metadata

  • Download URL: nyanbar-0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nyanbar-0.3.tar.gz
Algorithm Hash digest
SHA256 13d2cd49fcd32b471c968ae4b0cf64984385aaaebf73c724b7fd6440f3cf9aec
MD5 7a0ebe236553a04fdad27c3cfa704f70
BLAKE2b-256 897c4214f44597b06c39337def8162760c8a087b619ccbd340f164637e95f7d5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3 This release

1 file

0.2

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page