spinneration


Namespinneration JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/Shahaf-F-S/spinneroo
SummaryA module for displaying progress messages and timers with spinners in the command line.
upload_time2024-01-21 17:11:32
maintainer
docs_urlNone
authorShahaf Frank-Shapir
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # spinneroo

> A module for displaying progress messages and timers with spinners in the command line.

## Installation
```
pip install spinneration
```

## example
```python
import time

from spinneration import Spinner

spinner1 = Spinner(
    title='Process 1',
    message='processing',
    complete="complete",
    counter=True,
    clean=True,
    silence=False
)
spinner1.spin()

time.sleep(5)

spinner2 = Spinner(
    title='Process 2',
    message='processing',
    complete="complete",
    counter=True,
    clean=True,
    silence=False
)
spinner2.spin()

time.sleep(5)

spinner2.stop()

time.sleep(5)

spinner1.stop()
```

final output
```
Process 1: Paused 00:00:05       
Process 2: complete 00:00:05     
Process 1: complete 00:00:15
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Shahaf-F-S/spinneroo",
    "name": "spinneration",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Shahaf Frank-Shapir",
    "author_email": "shahaffrs@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a6/d2/c8a724787346014c78ae39e1a03a947613912d07738d988b0fe44501f707/spinneration-0.0.1.tar.gz",
    "platform": null,
    "description": "# spinneroo\r\n\r\n> A module for displaying progress messages and timers with spinners in the command line.\r\n\r\n## Installation\r\n```\r\npip install spinneration\r\n```\r\n\r\n## example\r\n```python\r\nimport time\r\n\r\nfrom spinneration import Spinner\r\n\r\nspinner1 = Spinner(\r\n    title='Process 1',\r\n    message='processing',\r\n    complete=\"complete\",\r\n    counter=True,\r\n    clean=True,\r\n    silence=False\r\n)\r\nspinner1.spin()\r\n\r\ntime.sleep(5)\r\n\r\nspinner2 = Spinner(\r\n    title='Process 2',\r\n    message='processing',\r\n    complete=\"complete\",\r\n    counter=True,\r\n    clean=True,\r\n    silence=False\r\n)\r\nspinner2.spin()\r\n\r\ntime.sleep(5)\r\n\r\nspinner2.stop()\r\n\r\ntime.sleep(5)\r\n\r\nspinner1.stop()\r\n```\r\n\r\nfinal output\r\n```\r\nProcess 1: Paused 00:00:05       \r\nProcess 2: complete 00:00:05     \r\nProcess 1: complete 00:00:15\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A module for displaying progress messages and timers with spinners in the command line.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/Shahaf-F-S/spinneroo"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a6d2c8a724787346014c78ae39e1a03a947613912d07738d988b0fe44501f707",
                "md5": "4dc809b968c4e851641921da3dabc984",
                "sha256": "06745ce12fa5fc219658921dd2d2d0c0734747101d4a064eb0c8e5b4f29818d2"
            },
            "downloads": -1,
            "filename": "spinneration-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "4dc809b968c4e851641921da3dabc984",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7805,
            "upload_time": "2024-01-21T17:11:32",
            "upload_time_iso_8601": "2024-01-21T17:11:32.675702Z",
            "url": "https://files.pythonhosted.org/packages/a6/d2/c8a724787346014c78ae39e1a03a947613912d07738d988b0fe44501f707/spinneration-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-21 17:11:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Shahaf-F-S",
    "github_project": "spinneroo",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "spinneration"
}
        
Elapsed time: 0.18863s