Basic Progress Bar
Progress bar for console and discord
installation:
pip install basicprogressbar # for basic features
pip install basicprogressbar[timer] # for pretty time support
pip install basicprogressbar[all] # for all features
from basicprogressbar import BasicProgressBar
Arguments:
current:float = 0 # current progress
total:float = -1 # total progress '-1' for unlimited
posttext:str="" # text behind the bar
pretext:str="Progress:" # text before the bar
length:int=60 # length of the bar
endtext:str="" # text after the bar when done
endline:str='\r' # endline character to rewite same line
showtime:bool=False # show remaining time
Basic Examples:
prog = BasicProgressBar(1, 50, pretext="Before bar:", showtimer=True)
for i in range(51):
time.sleep(0.1)
prog.current = i
prog.endtext = (f"I ended on {i}")
prog.bar(True)
for i in range(11):
time.sleep(0.1)
BasicProgressBar(i, 10).bar(True)
prog = BasicProgressBar(1, 10)
for i in range(11):
time.sleep(0.1)
prog.current = i
prog.posttext = f"processing {i}"
print(prog.bar(), end=prog.endline)
prog = BasicProgressBar()
for i in range(25):
time.sleep(0.1)
print(prog.next(), end="\r")
print()
Discord Progress Bar:
Progress bar for discord
installation:
pip install basicprogressbar[discord]
from basicprogressbar import DiscordProgressBar
Arguments:
# All the arguments of from BasicProgressBar first
idtoken:str="" # discord id token
disuser:str="Progress Bar" # name of discord user
throttle:float=0.5 # time between messages
# shouldnt have to edit the ones below
messtime:float=0.0 # time used for waiting between messages
messid:str="" # message id to edit line
timeout:float=10.0 # discord timeout
# all examples from BasicProgressBar apply
token = "23135245523/f43faDSAF-FEAfe24f3qfq-2yfbB-agdagADGA-g334t34gqarGS"
prog = DiscordProgressBar(1,100,idtoken=token)
for i in range(1,101):
time.sleep(0.1)
prog.current = i
prog.send()
prog = DiscordProgressBar(idtoken=token)
for i in range(1,101):
time.sleep(0.1)
prog.current = i
prog.send()
prog = DiscordProgressBar(total=100, idtoken=token)
for i in range(1,101):
time.sleep(0.1)
prog.next()
For Async use:
pip install basicprogressbar[async]
from basicprogressbar import class DiscordProgressBarAsync
# Async Examples
import asyncio
token = "23135245523/f43faDSAF-FEAfe24f3qfq-2yfbB-agdagADGA-g334t34gqarGS"
prog = basicprogressbar.DiscordProgressBarAsync(1,100, idtoken=token)
async def sending():
for i in range(1, 51):
prog.current = i
await prog.send()
await asyncio.sleep(1)
asyncio.run(sending())
Metadata
Release files for basicprogressbar 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| basicprogressbar-1.1.3.tar.gz | 5.3 kB | With provenance | Details for basicprogressbar-1.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| basicprogressbar-1.1.3-py3-none-any.whl | Python 3 | none | any | Details for basicprogressbar-1.1.3-py3-none-any.whl |
Total release size: 11.6 kB
Release files / basicprogressbar-1.1.3.tar.gz
| Download URL | basicprogressbar-1.1.3.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8a922cfa322c7aed3a8781a0e5fe8a24b7cc04c6bd6014cb4a7f4ecdd8bbeea
|
|
BLAKE2b-256 checksum How to use checksums |
c33125eeb4117e6c46705758cee418988a0b73d743f16df5f568238ddebbdb3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 31, 2026.
Transparency logRelease files / basicprogressbar-1.1.3-py3-none-any.whl
| Download URL | basicprogressbar-1.1.3-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b135dce9dc85b581e3257458ce2d0b813f7c1217c456114b2e705bc6227734cf
|
|
BLAKE2b-256 checksum How to use checksums |
9cdefe9e4cd5e1f6f64ab3a7cbc635be96b861ba8791bbe8236f115a8023529d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 31, 2026.
Transparency logSecurity for basicprogressbar 1.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for basicprogressbar-1.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 31, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.