Skip to main content

A progress 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, hide the bars, or others, please use the code provided below.
    from azubar import azubar
    azubar.OPEN_ERR_REMINDER = False # Close the reminder
    azubar.SHOW = False # Hide the azubar
    azubar.IGNORE_ERR = 'warning'
    

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.4.1.tar.gz (10.4 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.4.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for azubar-0.0.4.1.tar.gz
Algorithm Hash digest
SHA256 bd7c9ca1f90cc1652101488143c10c770ad7ae2d3dde0d94e8773fc520509344
MD5 0fd8d007bcc909fdaa99f353bf39b479
BLAKE2b-256 086e947386af62db38f14dbcd06f66176b8679f1c314596f26c9e3abbf7c3a59

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for azubar-0.0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 42deb8f826ebc5991dda05c14dbb141232213d26f2e7379f9a0966095599060c
MD5 c3df0b98c70e08b6a264daac056924f2
BLAKE2b-256 15b72faeadc405a3af1f674f46e644ac9c499fe4b5e08487d84125fdf401e2f5

See more details on using hashes here.

Provenance

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