Skip to main content

Project logo

StringProgressBar

GitHub Issues License

📝 Table of Contents

🧐 About

Simple string progress bar made for discord bots. Its usable everywhere.

Advantages

  • Simple
  • Lightweight
  • Fully customizable
  • 2 Different Styles

🏁 Getting Started

Installing

A step by step series of examples that tell you how to get a development env running.

pip install StringProgressBar

Splitbar Usage

from StringProgressBar import progressBar
# Assaign values to total and current values
total = 100
current = 50
# First two arguments are mandatory
bardata = progressBar.splitBar(total, current, [optional parameters])
# Get the progressbar
print(bardata[0])
# Get the percentage
print(bardata[1])

Filledbar Usage

from StringProgressBar import progressBar
# Assaign values to total and current values
total = 100
current = 50
# First two arguments are mandatory
bardata = progressBar.filledBar(total, current, [optional parameters])
# Get the progressbar
print(bardata[0])
# Get the percentage
print(bardata[1])

Optional Parameters

Parameter name Type Default Description
size Integer 40 Determines the length of the bar
line String ▬ and □ Determines the Static part of the bar
slider String 🔘 and ■ Determines the Progressive part of the bar

⛏️ Built Using

📝 License

This project is MIT licensed.

✍️ Authors

Change Log

1.1.0 (26.09.2021)

  • Major update

1.0.0 (12.06.2021)

  • First Release

Metadata

Release files for StringProgressBar 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for StringProgressBar 1.1.1
File Size Uploaded Provenance Actions
StringProgressBar-1.1.1.tar.gz 4.0 kB Without provenance Details for StringProgressBar-1.1.1.tar.gz

Release files / StringProgressBar-1.1.1.tar.gz

Download URL StringProgressBar-1.1.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7636f39e80500fc17d266fbc5f0d18fd3b2cf2c6215f11f2c60295637d401e46
BLAKE2b-256 checksum
How to use checksums
5407727e3662ff45b5d776ff5bf4aa68eae3766dae61884a9205c558df3959d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8

Security for StringProgressBar 1.1.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page