MagicProgress


NameMagicProgress JSON
Version 0.0.4 PyPI version JSON
download
home_page
SummaryPython Magic Progressbar
upload_time2023-09-14 21:21:52
maintainer
docs_urlNone
authorKia Hamedi
requires_python
license
keywords python progress progressbar magic progress kia hamedi
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# MagicProgress
A python package that allows to implement and draw various examples of progress bar.
> version 0.0.4

[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

# Demo
![Alt text](https://raw.githubusercontent.com/kiahamedi/MagicProgress/main/screenshots/mgprogress.gif "Optional title")

# Install
```python
pip install MagicProgress
```
<br>

# Examples of How To Use
## Progress
To have a dynamic progress bar, it is enough to send your percentage to it in each period<br>
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 100%
<br>
```python
from MagicProgress import Progress
from time import sleep

for i in range(1, 101):
    Progress(i)
    sleep(0.01)
```
<br>


## Progress without Percentage
To have a dynamic progress bar without Percentage, it is enough to send your percentage to it in each period<br>
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩
<br>
```python
from MagicProgress import ProgressNoPercentage
from time import sleep

for i in range(1, 101):
    ProgressNoPercentage(i)
    sleep(0.01)
```
<br>


## Progress without Color
To have a dynamic progress bar without Color, it is enough to send your percentage to it in each period<br>
 [████████████████████] 100%
<br>
```python
from MagicProgress import ProgressNoColor
from time import sleep

for i in range(1, 101):
    ProgressNoColor(i)
    sleep(0.01)
```
<br>


## Progress without Color and Percentage
To have a dynamic progress bar without Color and Percentage, it is enough to send your percentage to it in each period<br>
 [████████████████████]
<br>
```python
from MagicProgress import ProgressNoColorPercentage
from time import sleep

for i in range(1, 101):
    ProgressNoColorPercentage(i)
    sleep(0.01)
```
<br>

## Progress With Emoji
To have a dynamic progress bar with Emoji, it is enough to send your percentage to it in each period<br>
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 😍<br>
![Alt text](https://raw.githubusercontent.com/kiahamedi/MagicProgress/main/screenshots/emoji.gif "Optional title")
<br>
```python
from MagicProgress import EmojiProgress
from time import sleep

for i in range(1, 101):
    EmojiProgress(i)
    sleep(0.01)
```
<br>


## Draw Progress
To draw a progress bar, send your percentage to this function and it will return you a progress bar<br>
🟩🟩🟩🟩🟩⬜️⬜️⬜️⬜️⬜️ 50%
<br>
```python
from MagicProgress import DrawProgress

progress = DrawProgress(50)
print(progress)
```
<br>


## Draw Progress without Percentage
To draw a progress bar without Percentage, send your percentage to this function and it will return you a progress bar<br>
🟩🟩🟩⬜️⬜️⬜️⬜️⬜️⬜️⬜️ 
<br>
```python
from MagicProgress import DrawProgressNoPercentage

progress = DrawProgressNoPercentage(30)
print(progress)
```
<br>


## Draw Progress without Color
To draw a progress bar without Color, send your percentage to this function and it will return you a progress bar<br>
[████████████████----] 80% 
<br>
```python
from MagicProgress import DrawProgressNoColor

progress = DrawProgressNoColor(80)
print(progress)
```
<br>

## Draw Progress without Color and Percentage
To draw a progress bar without Color and Percentage, send your percentage to this function and it will return you a progress bar<br>
[████████████--------] 
<br>
```python
from MagicProgress import DrawProgressNoColorPercentage

progress = DrawProgressNoColorPercentage(60)
print(progress)
```


## Draw Progress Emoji
To draw a progress bar with Emoji, send your percentage to this function and it will return you a progress bar<br>
🟩🟩🟩🟩🟩🟩🟩🟩⬜️⬜️ 😁 
<br>
```python
from MagicProgress import DrawEmojiProgress

progress = DrawEmojiProgress(80)
print(progress)
```


## Are you a developer?
> 1-Fork it!</br>
> 2-Create your feature branch: git checkout -b my-new-feature</br>
> 3-Commit your changes: git commit -am 'Add some feature'</br>
> 4-Push to the branch: git push origin my-new-feature</br>
> 5-Submit a pull request</br>


>Thank you dear Shahab Karimifar for the idea of developing this library.



            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "MagicProgress",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,progress,progressbar,magic progress,kia hamedi",
    "author": "Kia Hamedi",
    "author_email": "<kia.arta9793@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/70/21/fa1e852f4715d6a115dd79dd961349e357892c01fe83b23256f12beb78e5/MagicProgress-0.0.4.tar.gz",
    "platform": null,
    "description": "\n# MagicProgress\nA python package that allows to implement and draw various examples of progress bar.\n> version 0.0.4\n\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n\n# Demo\n![Alt text](https://raw.githubusercontent.com/kiahamedi/MagicProgress/main/screenshots/mgprogress.gif \"Optional title\")\n\n# Install\n```python\npip install MagicProgress\n```\n<br>\n\n# Examples of How To Use\n## Progress\nTo have a dynamic progress bar, it is enough to send your percentage to it in each period<br>\n\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9 100%\n<br>\n```python\nfrom MagicProgress import Progress\nfrom time import sleep\n\nfor i in range(1, 101):\n    Progress(i)\n    sleep(0.01)\n```\n<br>\n\n\n## Progress without Percentage\nTo have a dynamic progress bar without Percentage, it is enough to send your percentage to it in each period<br>\n\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\n<br>\n```python\nfrom MagicProgress import ProgressNoPercentage\nfrom time import sleep\n\nfor i in range(1, 101):\n    ProgressNoPercentage(i)\n    sleep(0.01)\n```\n<br>\n\n\n## Progress without Color\nTo have a dynamic progress bar without Color, it is enough to send your percentage to it in each period<br>\n [\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588] 100%\n<br>\n```python\nfrom MagicProgress import ProgressNoColor\nfrom time import sleep\n\nfor i in range(1, 101):\n    ProgressNoColor(i)\n    sleep(0.01)\n```\n<br>\n\n\n## Progress without Color and Percentage\nTo have a dynamic progress bar without Color and Percentage, it is enough to send your percentage to it in each period<br>\n [\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588]\n<br>\n```python\nfrom MagicProgress import ProgressNoColorPercentage\nfrom time import sleep\n\nfor i in range(1, 101):\n    ProgressNoColorPercentage(i)\n    sleep(0.01)\n```\n<br>\n\n## Progress With Emoji\nTo have a dynamic progress bar with Emoji, it is enough to send your percentage to it in each period<br>\n\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9 \ud83d\ude0d<br>\n![Alt text](https://raw.githubusercontent.com/kiahamedi/MagicProgress/main/screenshots/emoji.gif \"Optional title\")\n<br>\n```python\nfrom MagicProgress import EmojiProgress\nfrom time import sleep\n\nfor i in range(1, 101):\n    EmojiProgress(i)\n    sleep(0.01)\n```\n<br>\n\n\n## Draw Progress\nTo draw a progress bar, send your percentage to this function and it will return you a progress bar<br>\n\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\u2b1c\ufe0f\u2b1c\ufe0f\u2b1c\ufe0f\u2b1c\ufe0f\u2b1c\ufe0f 50%\n<br>\n```python\nfrom MagicProgress import DrawProgress\n\nprogress = DrawProgress(50)\nprint(progress)\n```\n<br>\n\n\n## Draw Progress without Percentage\nTo draw a progress bar without Percentage, send your percentage to this function and it will return you a progress bar<br>\n\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\u2b1c\ufe0f\u2b1c\ufe0f\u2b1c\ufe0f\u2b1c\ufe0f\u2b1c\ufe0f\u2b1c\ufe0f\u2b1c\ufe0f \n<br>\n```python\nfrom MagicProgress import DrawProgressNoPercentage\n\nprogress = DrawProgressNoPercentage(30)\nprint(progress)\n```\n<br>\n\n\n## Draw Progress without Color\nTo draw a progress bar without Color, send your percentage to this function and it will return you a progress bar<br>\n[\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588----] 80% \n<br>\n```python\nfrom MagicProgress import DrawProgressNoColor\n\nprogress = DrawProgressNoColor(80)\nprint(progress)\n```\n<br>\n\n## Draw Progress without Color and Percentage\nTo draw a progress bar without Color and Percentage, send your percentage to this function and it will return you a progress bar<br>\n[\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588--------] \n<br>\n```python\nfrom MagicProgress import DrawProgressNoColorPercentage\n\nprogress = DrawProgressNoColorPercentage(60)\nprint(progress)\n```\n\n\n## Draw Progress Emoji\nTo draw a progress bar with Emoji, send your percentage to this function and it will return you a progress bar<br>\n\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\u2b1c\ufe0f\u2b1c\ufe0f \ud83d\ude01 \n<br>\n```python\nfrom MagicProgress import DrawEmojiProgress\n\nprogress = DrawEmojiProgress(80)\nprint(progress)\n```\n\n\n## Are you a developer?\n> 1-Fork it!</br>\n> 2-Create your feature branch: git checkout -b my-new-feature</br>\n> 3-Commit your changes: git commit -am 'Add some feature'</br>\n> 4-Push to the branch: git push origin my-new-feature</br>\n> 5-Submit a pull request</br>\n\n\n>Thank you dear Shahab Karimifar for the idea of developing this library.\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Python Magic Progressbar",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://github.com/kiahamedi/MagicProgress",
        "Website": "https://kiahamedi.ir/magic-progress/"
    },
    "split_keywords": [
        "python",
        "progress",
        "progressbar",
        "magic progress",
        "kia hamedi"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "055414527db7331e113fe82c5bd2ae98ebde35781e15f90dbea5a77c2b55b35b",
                "md5": "8f1317179dcba371ae7a244e2aca5c8b",
                "sha256": "8f45a646ab0b013ba0d04548572d488bc186611ca6997912e822598f5839c57b"
            },
            "downloads": -1,
            "filename": "MagicProgress-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8f1317179dcba371ae7a244e2aca5c8b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 15783,
            "upload_time": "2023-09-14T21:21:50",
            "upload_time_iso_8601": "2023-09-14T21:21:50.288470Z",
            "url": "https://files.pythonhosted.org/packages/05/54/14527db7331e113fe82c5bd2ae98ebde35781e15f90dbea5a77c2b55b35b/MagicProgress-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7021fa1e852f4715d6a115dd79dd961349e357892c01fe83b23256f12beb78e5",
                "md5": "640bb5ba04e200ae94362a69a6be1498",
                "sha256": "3211535c5cf5820282fba21efdc860ad5836928cd9d82bf8a6186a7771ea0c62"
            },
            "downloads": -1,
            "filename": "MagicProgress-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "640bb5ba04e200ae94362a69a6be1498",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 15675,
            "upload_time": "2023-09-14T21:21:52",
            "upload_time_iso_8601": "2023-09-14T21:21:52.227669Z",
            "url": "https://files.pythonhosted.org/packages/70/21/fa1e852f4715d6a115dd79dd961349e357892c01fe83b23256f12beb78e5/MagicProgress-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-14 21:21:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kiahamedi",
    "github_project": "MagicProgress",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "magicprogress"
}
        
Elapsed time: 2.54745s