Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nyanbar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nyanbar

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

  • 0.3
  • PyPI
  • Socket score

Maintainers
1

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)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc