whiterose


Namewhiterose JSON
Version 0.1.7 PyPI version JSON
download
home_pagehttps://github.com/battleoverflow/whiterose
SummaryWhiterose is a pure Python library built to return the current time in real-time within a single stdout. This Python library does not require any external libraries.
upload_time2024-04-15 03:51:14
maintainerNone
docs_urlNone
authorbattleoverflow
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Whiterose
Whiterose is a pure Python library built to return the current time in real-time within a single stdout. This Python library does not require any external libraries.

## Installation
You can install this library via Pypi:

```bash
pip3 install whiterose
```

### Options
timer_s() - Time updates in real-time every second

timer_m() - Time updates in real-time every minute

timer_h() - Time updates in real-time every hour

## Examples

You can call the library by using this syntax:

```python
# This example will print the time to the console every second
from whiterose import Whiterose

wr = Whiterose()

def one_s_timer():
    wr.timer_s(1) # 1 second

if __name__ == '__main__':
    one_s_timer()
```

```python
# This example will print the time to the console every 4 seconds
from whiterose import Whiterose

wr = Whiterose()

def one_s_timer():
    wr.timer_s(4) # 4 seconds

if __name__ == '__main__':
    one_s_timer()
```

```python
# This example will print the time to the console every 2 minutes
from whiterose import Whiterose

wr = Whiterose()

def one_m_timer():
    wr.timer_m(2) # 2 minutes

if __name__ == '__main__':
    one_m_timer()
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/battleoverflow/whiterose",
    "name": "whiterose",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "battleoverflow",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/fc/29/d574ea4a319eb191bff2d763b0fbc8f97a57a0db6b9e37029d5d3f8cbbeb/whiterose-0.1.7.tar.gz",
    "platform": null,
    "description": "# Whiterose\nWhiterose is a pure Python library built to return the current time in real-time within a single stdout. This Python library does not require any external libraries.\n\n## Installation\nYou can install this library via Pypi:\n\n```bash\npip3 install whiterose\n```\n\n### Options\ntimer_s() - Time updates in real-time every second\n\ntimer_m() - Time updates in real-time every minute\n\ntimer_h() - Time updates in real-time every hour\n\n## Examples\n\nYou can call the library by using this syntax:\n\n```python\n# This example will print the time to the console every second\nfrom whiterose import Whiterose\n\nwr = Whiterose()\n\ndef one_s_timer():\n    wr.timer_s(1) # 1 second\n\nif __name__ == '__main__':\n    one_s_timer()\n```\n\n```python\n# This example will print the time to the console every 4 seconds\nfrom whiterose import Whiterose\n\nwr = Whiterose()\n\ndef one_s_timer():\n    wr.timer_s(4) # 4 seconds\n\nif __name__ == '__main__':\n    one_s_timer()\n```\n\n```python\n# This example will print the time to the console every 2 minutes\nfrom whiterose import Whiterose\n\nwr = Whiterose()\n\ndef one_m_timer():\n    wr.timer_m(2) # 2 minutes\n\nif __name__ == '__main__':\n    one_m_timer()\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Whiterose is a pure Python library built to return the current time in real-time within a single stdout. This Python library does not require any external libraries.",
    "version": "0.1.7",
    "project_urls": {
        "Homepage": "https://github.com/battleoverflow/whiterose"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8dbc74df0194a2a645959aef19c379bec7a4a75c49796f48ea0e90d54807156b",
                "md5": "83c082d9f604df3759ec45ce89686921",
                "sha256": "fe7dd338660ca47791408bddb7a6ff365fa58298b916d64c27781d3997258d70"
            },
            "downloads": -1,
            "filename": "whiterose-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "83c082d9f604df3759ec45ce89686921",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 2855,
            "upload_time": "2024-04-15T03:51:13",
            "upload_time_iso_8601": "2024-04-15T03:51:13.524175Z",
            "url": "https://files.pythonhosted.org/packages/8d/bc/74df0194a2a645959aef19c379bec7a4a75c49796f48ea0e90d54807156b/whiterose-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fc29d574ea4a319eb191bff2d763b0fbc8f97a57a0db6b9e37029d5d3f8cbbeb",
                "md5": "49835426f0a2db086a66e82285a08725",
                "sha256": "5b155b4fc6cad6bad3d322e287a5eb81e3f024e58fc2c655cf65b1e6e0da5748"
            },
            "downloads": -1,
            "filename": "whiterose-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "49835426f0a2db086a66e82285a08725",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2595,
            "upload_time": "2024-04-15T03:51:14",
            "upload_time_iso_8601": "2024-04-15T03:51:14.935352Z",
            "url": "https://files.pythonhosted.org/packages/fc/29/d574ea4a319eb191bff2d763b0fbc8f97a57a0db6b9e37029d5d3f8cbbeb/whiterose-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-15 03:51:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "battleoverflow",
    "github_project": "whiterose",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "whiterose"
}
        
Elapsed time: 0.27063s