# [ProgressBarPy](https://github.com/Vladislavus1/ProgressBarPy)
This is a lightweight Python package that provides a simple, customizable progress bar displayed in a windowed interface using [**Tkinter**](https://docs.python.org/3/library/tkinter.html). It allows developers to easily integrate a visual progress indicator into their applications without needing to manage complex GUI elements. With straightforward methods for updating progress and setting labels, **ProgressBarPy** is an ideal solution for adding a user-friendly progress bar to your Python projects.
## How to use it?
Before you start you've to import package:
pip install ProgressBarPy
Now it's ready to work. Let's check an example of using this package:
from ProgressBarPy.progressbar import ProgressBar
import time
max_progress = 100
progressbar = ProgressBar(max_progress=max_progress, title='Progress bar example', message='Processing...')
progressbar.display()
for _ in range(max_progress+1):
time.sleep(0.05)
progressbar.update()
progressbar.destroy()
```ProgressBar``` has three arguments ```max_progress```(necessary argument), ```title```('Progress Bar' by default) and ```message```(not necessary argument).
Class object of ```ProgressBar``` has three methods ```display()```(displays progress bar), ```update(value)```(updates progress bar by value(value is 1 by default)) and ```destroy()```(destroys progress bar window).
That's everything you need to know about **ProgressBarPy**.
#
Thanks for attention!
Raw data
{
"_id": null,
"home_page": "https://github.com/Vladislavus1/ProgressBarPy",
"name": "ProgressBarPy",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Vladislavus1",
"author_email": "vlydgames@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c5/5b/db6e946792686f4c7a98818b214cf82b1cc490a6304c8b31985f0844184e/progressbarpy-0.0.5.tar.gz",
"platform": null,
"description": "# [ProgressBarPy](https://github.com/Vladislavus1/ProgressBarPy)\r\n\r\nThis is a lightweight Python package that provides a simple, customizable progress bar displayed in a windowed interface using [**Tkinter**](https://docs.python.org/3/library/tkinter.html). It allows developers to easily integrate a visual progress indicator into their applications without needing to manage complex GUI elements. With straightforward methods for updating progress and setting labels, **ProgressBarPy** is an ideal solution for adding a user-friendly progress bar to your Python projects.\r\n\r\n## How to use it?\r\n\r\nBefore you start you've to import package:\r\n\r\n pip install ProgressBarPy\r\n\r\nNow it's ready to work. Let's check an example of using this package:\r\n\r\n from ProgressBarPy.progressbar import ProgressBar\r\n\r\n import time\r\n\r\n max_progress = 100\r\n progressbar = ProgressBar(max_progress=max_progress, title='Progress bar example', message='Processing...')\r\n progressbar.display()\r\n for _ in range(max_progress+1):\r\n time.sleep(0.05)\r\n progressbar.update()\r\n\r\n progressbar.destroy()\r\n\r\n```ProgressBar``` has three arguments ```max_progress```(necessary argument), ```title```('Progress Bar' by default) and ```message```(not necessary argument).\r\n\r\nClass object of ```ProgressBar``` has three methods ```display()```(displays progress bar), ```update(value)```(updates progress bar by value(value is 1 by default)) and ```destroy()```(destroys progress bar window).\r\n\r\nThat's everything you need to know about **ProgressBarPy**.\r\n\r\n#\r\n\r\nThanks for attention!\r\n",
"bugtrack_url": null,
"license": null,
"summary": "This package adds simple windowed progressbar.",
"version": "0.0.5",
"project_urls": {
"Homepage": "https://github.com/Vladislavus1/ProgressBarPy"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ac4243accd244c3123a02a9563321ec5d545cda92c3468ab8186727127d042b7",
"md5": "894d032498a322f547a724eb12ca6c1f",
"sha256": "560f089567220bd434ae41c21e3788f123cda528666e0f8fb706d450b344a1b7"
},
"downloads": -1,
"filename": "ProgressBarPy-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "894d032498a322f547a724eb12ca6c1f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3393,
"upload_time": "2024-08-10T13:27:05",
"upload_time_iso_8601": "2024-08-10T13:27:05.362898Z",
"url": "https://files.pythonhosted.org/packages/ac/42/43accd244c3123a02a9563321ec5d545cda92c3468ab8186727127d042b7/ProgressBarPy-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c55bdb6e946792686f4c7a98818b214cf82b1cc490a6304c8b31985f0844184e",
"md5": "41dc51d0849aca200884be6e7d1af52a",
"sha256": "ebc7a7e3bc2654fa33c8a33efa401742517714b484a4321ec896939510d0db44"
},
"downloads": -1,
"filename": "progressbarpy-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "41dc51d0849aca200884be6e7d1af52a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2806,
"upload_time": "2024-08-10T13:27:09",
"upload_time_iso_8601": "2024-08-10T13:27:09.521805Z",
"url": "https://files.pythonhosted.org/packages/c5/5b/db6e946792686f4c7a98818b214cf82b1cc490a6304c8b31985f0844184e/progressbarpy-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-10 13:27:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Vladislavus1",
"github_project": "ProgressBarPy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "progressbarpy"
}