Skip to main content

A progerss bar creator

Project description

azubar

A progerss bar creator.

411804828-765f16b6-c29e-4305-86d7-bf7e8490b16e

How to use

Import

from azubar import prange, loop

Use it like normal Iterable object in a for-loop

my_list = ['A','B','C']
for i in prange(mylist, title='Title')
  ...

Use it like range in a for-loop

for i in prange(5, title='Title')
  ... 

Use it without a for-loop

prange(1,6,2, title='Title')
...
loop()
...
loop()
...
loop()
...

Warning

  • The terminal must support ANSI escape sequences; otherwise, garbled characters will appear.
  • The progress bar will be displayed while you create a prange object. Please ensure that you create the prange object in the appropriate location.
  • If you use prange without a for-loop, you need to manually add the correct number of loop() calls.
  • azubar will remind you of the incorrect use of prange and loop that you make.
  • If you would like to opt out of receiving reminders or hide the bars, please use the code provided below.
    from azubar import azubar
    azubar.OPEN_ERR_REMINDER = False # Close the reminder
    azubar.SHOW = False # Hide the azubar
    

Install

pip install azubar

Project details


Download files

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

Source Distribution

azubar-0.0.3.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azubar-0.0.3-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file azubar-0.0.3.tar.gz.

File metadata

  • Download URL: azubar-0.0.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for azubar-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ee39415de99ab8db2c470afdbe52361c98d12456b70a8d4b8a78cc8707102d76
MD5 24d97a4e505ae077929fe2dd62c5d4ed
BLAKE2b-256 69a6747c5e0cf886a990a84bc46fabb42e893e775c6b2d6c8bc78254cfc849e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for azubar-0.0.3.tar.gz:

Publisher: pypi-publish.yml on Kazekawa-azusa/azubar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file azubar-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: azubar-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for azubar-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e3ae7e5be93a213c842d4b608bee624184a75b5ed434b4e30285e3a679d3a429
MD5 38347029cde0276517f345dfa8945c61
BLAKE2b-256 c35624d3610a47951c581c4aa9e247fb64f98f828efee9b67fde0996558d87b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for azubar-0.0.3-py3-none-any.whl:

Publisher: pypi-publish.yml on Kazekawa-azusa/azubar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page