Socket
Socket
Sign inDemoInstall

qqdm

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qqdm

A very lightweight progress bar.


Maintainers
1

qqdm

A lightweight, fast and pretty progress bar for Python

Demo

Installation

pip install qqdm

Usage

The following is a simple example.

import time
import random
from qqdm import qqdm, format_str

tw = qqdm(range(10), desc=format_str('bold', 'Description'))

for i in tw:
  loss = random.random()
  acc = random.random()
  tw.set_infos({
    'loss': f'{loss:.4f}',
    'acc': f'{acc:.4f}',
  })
  time.sleep(0.5)

For the demo gif shown above, you may refer to tests/test.py.

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