{ "info": { "author": "zed", "author_email": "isidore.john.r@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\nPython client for IERS-OP web service\n=====================================\n\nIt answers the following questions:\n\n- What is the current difference between TAI and UTC?\n- When was the last leap second?\n- When is the next leap second?\n\n\nUsage\n-----\n\nAs a library::\n\n >>> from leap_second_client import request_leap_second_info\n >>> request_leap_second_info()\n LeapSecondInfo(TAI_UTC=36,\n last_leap_second=datetime.date(2015, 6, 30),\n next_leap_second=None)\n\nOr as a command-line client (greppable json output)::\n\n $ python -m leap_second_client\n {\n \"TAI_UTC\": 36,\n \"last_leap_second\": \"2015-06-30\",\n \"next_leap_second\": null\n }\n\nIt gives the current value of TAI-UTC in (integer) seconds, the date\nof the last leap second and the date of the next leap second. If no\nleap second is scheduled, then the value is None. The webservice\nrelies on the information of the last Bulletin C and the current date.\n\nSee http://hpiers.obspm.fr/eop-pc/index.php?index=webservice\n\nInstallation\n------------\n\nNo dependencies except Python itself and the webservice.\nTo install, just `download leap_second_client.py `_ or run::\n\n $ pip install leap_second_client\n\nSupport: Python 2.6+, Python 3.\n\nLicense: MIT\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zed/leap-second-client", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "leap-second-client", "package_url": "https://pypi.org/project/leap-second-client/", "platform": "", "project_url": "https://pypi.org/project/leap-second-client/", "project_urls": { "Homepage": "https://github.com/zed/leap-second-client" }, "release_url": "https://pypi.org/project/leap-second-client/1.0/", "requires_dist": null, "requires_python": "", "summary": "Find the next leap second using IERS-OP web service.", "version": "1.0" }, "last_serial": 3572047, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "f13b3c7b9cd19095a46807eacc2aac0e", "sha256": "ecb8b5ce29ee36fc4ab8e97c4d1032ae43e76a635d261aa4e0deeea3c48bf61b" }, "downloads": -1, "filename": "leap_second_client-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f13b3c7b9cd19095a46807eacc2aac0e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5148, "upload_time": "2018-02-11T13:23:20", "url": "https://files.pythonhosted.org/packages/09/18/c86466f508c2c3abb5bf9419bd1c7224d8ea71b93212c432f383c9aa2185/leap_second_client-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "19fa02813ab4466b83a83c62dcc9e390", "sha256": "39d9e4d8c7843bd1d9acf2bbce40341a32356f1e858419b64be438fd31c7d465" }, "downloads": -1, "filename": "leap_second_client-1.0.tar.gz", "has_sig": false, "md5_digest": "19fa02813ab4466b83a83c62dcc9e390", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4507, "upload_time": "2018-02-11T13:23:20", "url": "https://files.pythonhosted.org/packages/3f/17/e595e29de7936da4a4fdbc14b8b55689702badd76d14ead00772a6fe3237/leap_second_client-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f13b3c7b9cd19095a46807eacc2aac0e", "sha256": "ecb8b5ce29ee36fc4ab8e97c4d1032ae43e76a635d261aa4e0deeea3c48bf61b" }, "downloads": -1, "filename": "leap_second_client-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f13b3c7b9cd19095a46807eacc2aac0e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5148, "upload_time": "2018-02-11T13:23:20", "url": "https://files.pythonhosted.org/packages/09/18/c86466f508c2c3abb5bf9419bd1c7224d8ea71b93212c432f383c9aa2185/leap_second_client-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "19fa02813ab4466b83a83c62dcc9e390", "sha256": "39d9e4d8c7843bd1d9acf2bbce40341a32356f1e858419b64be438fd31c7d465" }, "downloads": -1, "filename": "leap_second_client-1.0.tar.gz", "has_sig": false, "md5_digest": "19fa02813ab4466b83a83c62dcc9e390", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4507, "upload_time": "2018-02-11T13:23:20", "url": "https://files.pythonhosted.org/packages/3f/17/e595e29de7936da4a4fdbc14b8b55689702badd76d14ead00772a6fe3237/leap_second_client-1.0.tar.gz" } ] }