sleepchunk


Namesleepchunk JSON
Version 0.10 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/sleepchunk
SummarySleeps in chunks of 0.05 seconds (with status bar) / ctrl+c to exit without throwing an Exception
upload_time2023-01-05 01:56:36
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords sleep
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Sleeps in chunks of 0.05 seconds / ctrl+c to exit without throwing an Exception / status bar 

```python
# Tested with:
# Python 3.9.13
# Windows 10

pip install sleepchunk

from sleepchunk import sleep, sleep_with_statusbar, sleep_random
sleep(secs=3)
sleep_with_statusbar(maxrange=10) # [======] 6 / 10
sleep_random(start=2, end=3, with_statusbar=False)
sleep_random(start=2, end=3, with_statusbar=True)
sleep(secs=0)

```




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/sleepchunk",
    "name": "sleepchunk",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "sleep",
    "author": "Johannes Fischer",
    "author_email": "<aulasparticularesdealemaosp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/47/39/9a8dfe404af2694ba73e181b70d49dc8bc0087b03713a3559d9315262b46/sleepchunk-0.10.tar.gz",
    "platform": null,
    "description": "\n# Sleeps in chunks of 0.05 seconds / ctrl+c to exit without throwing an Exception / status bar \n\n```python\n# Tested with:\n# Python 3.9.13\n# Windows 10\n\npip install sleepchunk\n\nfrom sleepchunk import sleep, sleep_with_statusbar, sleep_random\nsleep(secs=3)\nsleep_with_statusbar(maxrange=10) # [======] 6 / 10\nsleep_random(start=2, end=3, with_statusbar=False)\nsleep_random(start=2, end=3, with_statusbar=True)\nsleep(secs=0)\n\n```\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Sleeps in chunks of 0.05 seconds (with status bar) / ctrl+c to exit without throwing an Exception",
    "version": "0.10",
    "split_keywords": [
        "sleep"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "af40ae71fdb0bc496169bb7f0e7c969a296568792e2eaf574166542f53c1856f",
                "md5": "ceaa31687322f8f87ed981621dc7d193",
                "sha256": "caa77e6fd7dd25ba25cb9984bc406c25e99986f589da2c0c26ce50ab720d45e8"
            },
            "downloads": -1,
            "filename": "sleepchunk-0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ceaa31687322f8f87ed981621dc7d193",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4568,
            "upload_time": "2023-01-05T01:56:34",
            "upload_time_iso_8601": "2023-01-05T01:56:34.618469Z",
            "url": "https://files.pythonhosted.org/packages/af/40/ae71fdb0bc496169bb7f0e7c969a296568792e2eaf574166542f53c1856f/sleepchunk-0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "47399a8dfe404af2694ba73e181b70d49dc8bc0087b03713a3559d9315262b46",
                "md5": "0fb38f964002e7602d1700f436aabbe7",
                "sha256": "ee24a9bf293b77304e9eede80966887e3d11faca30b78d8d104f87f4a09caccd"
            },
            "downloads": -1,
            "filename": "sleepchunk-0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "0fb38f964002e7602d1700f436aabbe7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3348,
            "upload_time": "2023-01-05T01:56:36",
            "upload_time_iso_8601": "2023-01-05T01:56:36.063544Z",
            "url": "https://files.pythonhosted.org/packages/47/39/9a8dfe404af2694ba73e181b70d49dc8bc0087b03713a3559d9315262b46/sleepchunk-0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-05 01:56:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "hansalemaos",
    "github_project": "sleepchunk",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "sleepchunk"
}
        
Elapsed time: 0.02472s