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.
  • Please refrain from outputting to the terminal while using prange, as this functionality is not supported.
  • 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.2.tar.gz (7.9 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.2-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for azubar-0.0.3.2.tar.gz
Algorithm Hash digest
SHA256 f4343b162aa14602c0d5fd548fa3590c2c270fb88b21082eefab871a68e4b16d
MD5 b7cc904066e6bcf11319bda91ea1dabe
BLAKE2b-256 43abd61c54971c1b8855ed1daf78e51cd672dffcf4de59bf94f03898b187dc83

See more details on using hashes here.

Provenance

The following attestation bundles were made for azubar-0.0.3.2.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.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for azubar-0.0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 73b8063523d853827e843736d2582f65f3988c935a1cb223227b35f09432b606
MD5 d0d201527761e75f464af24f83e90e09
BLAKE2b-256 945012f1e1100f758fe0a540f666e2e141280cc02718ce2649a7b8da3c724fa9

See more details on using hashes here.

Provenance

The following attestation bundles were made for azubar-0.0.3.2-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