python-timetools


Namepython-timetools JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/xuguox/timetools
Summarypython time tools
upload_time2024-03-12 08:50:20
maintainer
docs_urlNone
authorneason
requires_python>=3.7.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ```
curr_date = datetime.now()
start = TimeUtil.get_start_of_date(curr_date)
end = TimeUtil.get_end_of_date(curr_date)
print(f"Start of the Date: {start}, End of the Date: {end}")
```
```
Start of the Date: 2024-03-12 00:00:00, End of the Date: 2024-03-12 23:59:59.999999
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/xuguox/timetools",
    "name": "python-timetools",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "neason",
    "author_email": "xgx93610@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1c/b7/d93f84e6ceace77f74cf76186db8e0343b62e4adfbab11d189e49db64bab/python-timetools-1.0.1.tar.gz",
    "platform": null,
    "description": "```\r\ncurr_date = datetime.now()\r\nstart = TimeUtil.get_start_of_date(curr_date)\r\nend = TimeUtil.get_end_of_date(curr_date)\r\nprint(f\"Start of the Date: {start}, End of the Date: {end}\")\r\n```\r\n```\r\nStart of the Date: 2024-03-12 00:00:00, End of the Date: 2024-03-12 23:59:59.999999\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "python time tools",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/xuguox/timetools",
        "Source": "https://github.com/xuguox/timetools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7d8ee69cd3ba6b155e57dcc04b35ca56b5f0fd5e1ff471bcbeb08e72416adbf4",
                "md5": "6e69b32f545a489e789d31ea6af5989c",
                "sha256": "ff7ae8a88e63e8990822dc43342f86eca9d4a0557c38e00f8ffcff9167b86bbc"
            },
            "downloads": -1,
            "filename": "python_timetools-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6e69b32f545a489e789d31ea6af5989c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7.0",
            "size": 2749,
            "upload_time": "2024-03-12T08:50:15",
            "upload_time_iso_8601": "2024-03-12T08:50:15.256200Z",
            "url": "https://files.pythonhosted.org/packages/7d/8e/e69cd3ba6b155e57dcc04b35ca56b5f0fd5e1ff471bcbeb08e72416adbf4/python_timetools-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1cb7d93f84e6ceace77f74cf76186db8e0343b62e4adfbab11d189e49db64bab",
                "md5": "5559af6410d376583bd8ee71f21956ee",
                "sha256": "8028bb89cbffcfbb79cd8dc5852c6af2897c1c215ed1a64fcc750a7249bc9c01"
            },
            "downloads": -1,
            "filename": "python-timetools-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5559af6410d376583bd8ee71f21956ee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7.0",
            "size": 2241,
            "upload_time": "2024-03-12T08:50:20",
            "upload_time_iso_8601": "2024-03-12T08:50:20.587294Z",
            "url": "https://files.pythonhosted.org/packages/1c/b7/d93f84e6ceace77f74cf76186db8e0343b62e4adfbab11d189e49db64bab/python-timetools-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-12 08:50:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "xuguox",
    "github_project": "timetools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "python-timetools"
}
        
Elapsed time: 0.21905s