basicallybars: a beginner's attempt at a python library
This is a small python library. Its goal is to make algorithms easier to use, by displaying visual feedback on the progress of the algorithm! It's also quite customisable. Yup, that's literally it. WIP; feel free to improve my terrible code.
Use
Import :)
import basicallybars
Create a new loading bar:
bar = basicallybars.progressbar()
Update & set values of that bar:
bar.display(x, y) # Note: "x" is the amount done in this is example while "y" is the full amount of things that have to be done
Different loading indicators
default_bar = basicallybars.progressbar(quantityDisplay="Amount") # Default loading display, shows as "(6/10)"
percent_bar = basicallybars.progressbar(quantityDisplay="Percent") # Creates a bar with a loading display as a percentage like "60%"
remaining_bar = basicallybars.progressbar(quantityDisplay="Remaining") # Creates a bar with a loading display like "4 remaining..."
Set the quantity_display paramater to anything else and it won't display; only the loading bar (Not really recommended)
basicallybars in action:
from time import sleep
bar = basicallybars.progressbar()
for x in range(0, 4):
bar.display(x, 4) # Display a bar that parses through imaginary data, with x being the amount of data finished and y being the total amount (4)
sleep(1)
basicallybars.clearTerminal() # Reset the terminal's output to reprint the bar
Note: More features and examples coming soon.
Metadata
Release files for basicallybars 1.0.1
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 | |
|---|---|---|---|---|
| basicallybars-1.0.1.tar.gz | 2.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| basicallybars-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / basicallybars-1.0.1.tar.gz
| Download URL | basicallybars-1.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
971390aedfb18f920c5134563b618740baf5ac95d98a65e2f93b41dfed691da4
|
|
BLAKE2b-256 checksum How to use checksums |
e04924b87357a0832a1e948555e01f83426c07b9af319a21237fe69c251c0607
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / basicallybars-1.0.1-py3-none-any.whl
| Download URL | basicallybars-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2749a39b83c609254cb37797c33e03a473dec63675d48de97f89b4b87a3abac3
|
|
BLAKE2b-256 checksum How to use checksums |
519dcfe7975febd4a44d5153bafbbc545c4af3f0cd91130acc011486e70496b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for basicallybars 1.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.