nobar


Namenobar JSON
Version 1.0.2.17 PyPI version JSON
download
home_pagehttps://github.com/NoromTin/nobar
SummaryUsefull progress "bar"
upload_time2024-02-19 22:28:38
maintainer
docs_urlNone
authorNoromTin
requires_python>=3.0
license
keywords progress bar
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            nobar

- Why make a new progress bar?
- To have the right one! Pythonic, plain, which can be used)

Quick start:

pip install nobar

Examples:

```
from nobar import nobar
from time import sleep

# With init. You'll see itetations and time left

nobar('task_1', 50)
for i in range(50):
    sleep(0.8)
    nobar('task_1')
    
>>> task_1   50 / 50   pas 00:00:46   lef 00:00:00   tot 00:00:46   las 0.801   avg 0.922



# Without init. Only Passed 

for i in range(800):
    sleep(0.02)
    nobar('task_2')
    
>>> task_2   800 / ---   pas 00:00:16   lef --:--:--   tot --:--:--   las 0.020   avg 0.020



# Previous data saved

nobar(print_all=True)

>>> task_1   50 / 50   pas 00:00:46   lef 00:00:00   tot 00:00:46   las 0.801   avg 0.922
>>> task_2   800 / ---   pas 00:00:16   lef --:--:--   tot --:--:--   las 0.020   avg 0.020
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/NoromTin/nobar",
    "name": "nobar",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.0",
    "maintainer_email": "",
    "keywords": "progress bar",
    "author": "NoromTin",
    "author_email": "aninelo@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/2f/ed/97569dca6b41a2269c68b91afea7ddb4cc4bf95492f3b7af5d9c14ae9d8b/nobar-1.0.2.17.tar.gz",
    "platform": null,
    "description": "nobar\r\n\r\n- Why make a new progress bar?\r\n- To have the right one! Pythonic, plain, which can be used)\r\n\r\nQuick start:\r\n\r\npip install nobar\r\n\r\nExamples:\r\n\r\n```\r\nfrom nobar import nobar\r\nfrom time import sleep\r\n\r\n# With init. You'll see itetations and time left\r\n\r\nnobar('task_1', 50)\r\nfor i in range(50):\r\n    sleep(0.8)\r\n    nobar('task_1')\r\n    \r\n>>> task_1   50 / 50   pas 00:00:46   lef 00:00:00   tot 00:00:46   las 0.801   avg 0.922\r\n\r\n\r\n\r\n# Without init. Only Passed \r\n\r\nfor i in range(800):\r\n    sleep(0.02)\r\n    nobar('task_2')\r\n    \r\n>>> task_2   800 / ---   pas 00:00:16   lef --:--:--   tot --:--:--   las 0.020   avg 0.020\r\n\r\n\r\n\r\n# Previous data saved\r\n\r\nnobar(print_all=True)\r\n\r\n>>> task_1   50 / 50   pas 00:00:46   lef 00:00:00   tot 00:00:46   las 0.801   avg 0.922\r\n>>> task_2   800 / ---   pas 00:00:16   lef --:--:--   tot --:--:--   las 0.020   avg 0.020\r\n```\r\n\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Usefull progress \"bar\"",
    "version": "1.0.2.17",
    "project_urls": {
        "Documentation": "https://github.com/NoromTin/nobar/blob/main/README.md",
        "Homepage": "https://github.com/NoromTin/nobar"
    },
    "split_keywords": [
        "progress",
        "bar"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "20160155646144c610cc4101ce41ba4fde18f31fa0a2aeee84c470ba600ee149",
                "md5": "1bc86bc86fbed6550b66add9091d0ae9",
                "sha256": "47871e2fc3b297da98c9f9a832b1e9aefa83c834bc3926b9a2c3d774551e20eb"
            },
            "downloads": -1,
            "filename": "nobar-1.0.2.17-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1bc86bc86fbed6550b66add9091d0ae9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.0",
            "size": 16169,
            "upload_time": "2024-02-19T22:28:36",
            "upload_time_iso_8601": "2024-02-19T22:28:36.008814Z",
            "url": "https://files.pythonhosted.org/packages/20/16/0155646144c610cc4101ce41ba4fde18f31fa0a2aeee84c470ba600ee149/nobar-1.0.2.17-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2fed97569dca6b41a2269c68b91afea7ddb4cc4bf95492f3b7af5d9c14ae9d8b",
                "md5": "28ca30d0e5dabd77243a9249aa7c70f9",
                "sha256": "ffd98f1325a3eb01346c1c7d42fd4f72dc87725ed721f017de056c6af03171f0"
            },
            "downloads": -1,
            "filename": "nobar-1.0.2.17.tar.gz",
            "has_sig": false,
            "md5_digest": "28ca30d0e5dabd77243a9249aa7c70f9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.0",
            "size": 16044,
            "upload_time": "2024-02-19T22:28:38",
            "upload_time_iso_8601": "2024-02-19T22:28:38.135952Z",
            "url": "https://files.pythonhosted.org/packages/2f/ed/97569dca6b41a2269c68b91afea7ddb4cc4bf95492f3b7af5d9c14ae9d8b/nobar-1.0.2.17.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-19 22:28:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "NoromTin",
    "github_project": "nobar",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "nobar"
}
        
Elapsed time: 2.81292s