{ "info": { "author": "ZhiZhi Zhang", "author_email": "zhangzhizhibit@163.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "Requests: Python utils - Time\r\n=========================\r\n\r\nGet demand time from all kinds of original time format after delay without specified type.\r\n\r\nUsage\r\n---------------\r\n\r\ndef get_time(ts=None, delay=0, fmt=19)\r\n\r\nArguments: [original_time] [delay] [output_fmt:{0,6,8,10,16,17,19}]\r\n\r\noutput_fmt:\r\n 19: '%Y-%m-%d %H:%M:%S',\r\n 8: '%Y%m%d',\r\n 6: '%Y%m',\r\n 10: '%Y-%m-%d',\r\n 16: '%Y-%m-%d %H:%M',\r\n 17: '%Y%m%d-%H:%M:%S'\r\n\r\n\r\nInput format(Any one of them)\r\n------------\r\n\r\n# 201809\r\n# 20180910\r\n# 2018-09-10\r\n# 2018-09-10 18:00\r\n# 20180910-18:00:00\r\n# 2018-09-10 18:00:00\r\n# 1536573600(int)\r\n# 1536573600.00(float)\r\n\r\nReturn format(Any one of them)\r\n-------------\r\n\r\n# 201809\r\n# 20180910\r\n# 2018-09-10\r\n# 2018-09-10 18:00\r\n# 20180910-18:00:00\r\n# 2018-09-10 18:00:00\r\n# 1536573600(int)\r\n\r\n\r\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zzzbit/zzz-utils", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "zzzutils", "package_url": "https://pypi.org/project/zzzutils/", "platform": "", "project_url": "https://pypi.org/project/zzzutils/", "project_urls": { "Homepage": "https://github.com/zzzbit/zzz-utils" }, "release_url": "https://pypi.org/project/zzzutils/0.1.7/", "requires_dist": null, "requires_python": "", "summary": "Time utils for Humans.", "version": "0.1.7" }, "last_serial": 4260398, "releases": { "0.1.6": [ { "comment_text": "", "digests": { "md5": "f8324597489085816224b4836dcac746", "sha256": "360591ce1cd6b3bd2eb625dcbed780bf54e38dc4a5e0bc8cef31c9d011c98e72" }, "downloads": -1, "filename": "zzzutils-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f8324597489085816224b4836dcac746", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7953, "upload_time": "2018-09-11T07:43:58", "url": "https://files.pythonhosted.org/packages/c2/0c/b43535da3b1b5e2c521a6177a29707109f1805e93898a1dc0949e78b2eb8/zzzutils-0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f58dd87e77fab49071baeb3cb939b241", "sha256": "ca57e1adfd5c4427b2a281ee7481c32c1ce28362053b0ce770e79a39bfd795a1" }, "downloads": -1, "filename": "zzzutils-0.1.6.tar.gz", "has_sig": false, "md5_digest": "f58dd87e77fab49071baeb3cb939b241", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2008, "upload_time": "2018-09-11T07:44:00", "url": "https://files.pythonhosted.org/packages/b3/23/9d47f740bf86a4e7365b57830b0b7486215ed24c61690adbfffea97f88f8/zzzutils-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "f599d5c4c6ae0b1d284f786ab15e7a40", "sha256": "999dea5bc3225c4d0ecbbaa1946ba65c324daac8deb9223a5f2c0d7242508a0b" }, "downloads": -1, "filename": "zzzutils-0.1.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f599d5c4c6ae0b1d284f786ab15e7a40", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8375, "upload_time": "2018-09-11T08:20:15", "url": "https://files.pythonhosted.org/packages/c9/16/db614309a9103be1dc6a4d265fe93139cbbb45d7094c4541be417c5dd887/zzzutils-0.1.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "22fce10ad9fbbd137a483d969ebbd73e", "sha256": "3fb69ad91a2802106f16fae608b3c09f2af33c426ccb2dba4e81649ecb8d2a14" }, "downloads": -1, "filename": "zzzutils-0.1.7.tar.gz", "has_sig": false, "md5_digest": "22fce10ad9fbbd137a483d969ebbd73e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2232, "upload_time": "2018-09-11T08:20:16", "url": "https://files.pythonhosted.org/packages/02/27/5699df3bd763144a071cf1cc45aa9855a06dd98ad455623a35ffe69abd5b/zzzutils-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f599d5c4c6ae0b1d284f786ab15e7a40", "sha256": "999dea5bc3225c4d0ecbbaa1946ba65c324daac8deb9223a5f2c0d7242508a0b" }, "downloads": -1, "filename": "zzzutils-0.1.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f599d5c4c6ae0b1d284f786ab15e7a40", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8375, "upload_time": "2018-09-11T08:20:15", "url": "https://files.pythonhosted.org/packages/c9/16/db614309a9103be1dc6a4d265fe93139cbbb45d7094c4541be417c5dd887/zzzutils-0.1.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "22fce10ad9fbbd137a483d969ebbd73e", "sha256": "3fb69ad91a2802106f16fae608b3c09f2af33c426ccb2dba4e81649ecb8d2a14" }, "downloads": -1, "filename": "zzzutils-0.1.7.tar.gz", "has_sig": false, "md5_digest": "22fce10ad9fbbd137a483d969ebbd73e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2232, "upload_time": "2018-09-11T08:20:16", "url": "https://files.pythonhosted.org/packages/02/27/5699df3bd763144a071cf1cc45aa9855a06dd98ad455623a35ffe69abd5b/zzzutils-0.1.7.tar.gz" } ] }