{ "info": { "author": "TUNE Inc.", "author_email": "jefft@tune.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: PyPy" ], "description": ".. -*- mode: rst -*-\n\npytz-convert\n------------\n\nPython extension for package `pytz `_.\n\n\nBadges\n------\n\n.. start-badges\n\n.. list-table::\n :stub-columns: 1\n\n * - docs\n - |docs| |license|\n * - info\n - |hits| |contributors|\n * - tests\n - |travis| |coveralls|\n * - package\n - |version| |supported-versions|\n * - other\n - |requires|\n\n.. |docs| image:: https://readthedocs.org/projects/pytz-convert/badge/?style=flat\n :target: http://pytz-convert.readthedocs.io\n :alt: Documentation Status\n\n.. |hits| image:: http://hits.dwyl.io/TuneLab/pytz-convert.svg\n :target: http://hits.dwyl.io/TuneLab/pytz-convert\n :alt: Hit Count\n\n.. |contributors| image:: https://img.shields.io/github/contributors/TuneLab/pytz-convert.svg\n :target: https://github.com/TuneLab/pytz-convert/graphs/contributors\n :alt: Contributors\n\n.. |license| image:: https://img.shields.io/badge/License-MIT-yellow.svg\n :alt: License Status\n :target: https://opensource.org/licenses/MIT\n\n.. |travis| image:: https://travis-ci.org/TuneLab/pytz-convert.svg?branch=master\n :target: https://travis-ci.org/TuneLab/pytz-convert\n :alt: Travis-CI Build Status\n\n.. |coveralls| image:: https://coveralls.io/repos/TuneLab/pytz-convert/badge.svg?branch=master&service=github\n :target: https://coveralls.io/r/TuneLab/pytz-convert?branch=master\n :alt: Code Coverage Status\n\n.. |requires| image:: https://requires.io/github/TuneLab/pytz-convert/requirements.svg?branch=master\n :target: https://requires.io/github/TuneLab/pytz-convert/requirements/?branch=master\n :alt: Requirements Status\n\n.. |version| image:: https://img.shields.io/pypi/v/pytz-convert.svg?style=flat\n :target: https://pypi.python.org/pypi/pytz-convert\n :alt: PyPI Package latest release\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/pytz-convert.svg?style=flat\n :target: https://pypi.python.org/pypi/pytz-convert\n :alt: Supported versions\n\n.. end-badges\n\n\nInstall\n-------\n\n.. code-block:: bash\n\n pip install pytz-convert\n\n\nArchitecture\n------------\n\n``pytz-convert`` is an extension of the `pytz `_ providing functions for converting timezone names, abbreviations, and offsets.\n\n\nFunctions\n---------\n\n- ``convert_bing_ads_tz``: Convert **Bing timezone name** to **Standard timezone name**.\n- ``convert_tz_abbrev_to_tz_hours()``: Convert **timezone abbreviation** to **timezone hours**.\n- ``convert_tz_abbrev_to_tz_offset()``: Convert **timezone abbreviation** to **timezone offset**.\n- ``convert_tz_abbrev_to_tz_seconds()``: Convert **timezone abbreviation** to **timezone seconds**.\n- ``convert_tz_hours_to_tz_offset()``: Convert **timezone hours** into **timezone offset**.\n- ``convert_tz_name_to_date_tz_abbrev()``: Convert **timezone name + date** to **timezone abbreviation**.\n- ``convert_tz_name_to_date_tz_offset()``: Convert **timezone name + date** to **timezone offset**.\n- ``convert_tz_name_to_now_tz_abbrev()``: Convert **timezone name + current date** to current **timezone abbreviation**.\n- ``convert_tz_name_to_now_tz_offset()``: Convert **timezone name + current date** to current **timezone offset**.\n- ``convert_tz_offset_and_date_to_tz_name()``: Convert **timezone offset + date** to **timezone name**.\n- ``convert_tz_offset_to_now_tz_abbrev()``: Convert **timezone offset + current date** to current **timezone abbreviation**.\n- ``convert_tz_offset_to_tz_hours()``: Convert **timezone offset** to **hours**.\n- ``convert_tz_offset_to_tz_minutes()``: Convert **timezone offset** to **minutes**.\n- ``convert_tz_offset_to_tz_seconds()``: Convert **timezone offset** to **seconds**.\n- ``parse_gmt_offset_timezone()``: Parse GMT string into **timezone name** and **timezone offset**.\n- ``validate_tz_abbrev()``: Validate **timezone abbreviation**.\n- ``validate_tz_name()``: Validate **timezone name**.\n\nRequirements\n------------\n\n``pytz-convert`` module is built upon Python 3 and has dependencies upon\nseveral Python modules available within `Python Package Index PyPI `_.\n\n.. code-block:: bash\n\n make install-requirements\n\nor\n\n\n.. code-block:: bash\n\n python3 -m pip uninstall --yes --no-input -r requirements.txt\n python3 -m pip install --upgrade -r requirements.txt\n\n\nDependencies\n------------\n\n- `pytz `_\n- `python-dateutil `_\n\n\n.. :changelog:\n\nRelease History\n===============\n\n0.2.8 (2018-02-19)\n------------------\n- Python 2.7 supported\n- Travis CI testing both Python 2.7 and 3.6.\n\n0.2.8 (2018-02-16)\n------------------\n- migrate to github/TuneLab.\n\n0.2.3 (2018-01-25)\n------------------\n- migrate to github/tuneinc.\n- LICENSE: MIT\n\n0.2.0 (2017-12-10)\n------------------\n- readthedocs.org\n\n0.1.0 (2017-11-25)\n------------------\n- README\n- Tests\n\n0.0.5 (2017-06-15)\n------------------\n* Add BING_TIMEZONES_TO_PREFERRED dict that maps bing tz names to pytz tz names\n* Add convert_bing_ads_tz function\n\n0.0.1 (2016-11-17)\n------------------\n* Initial release\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/TuneLab/pytz-convert/archive/v0.2.9.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tuneinc/pycountry-convert", "keywords": "pytz convert tune", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "pytz-convert", "package_url": "https://pypi.org/project/pytz-convert/", "platform": "", "project_url": "https://pypi.org/project/pytz-convert/", "project_urls": { "Download": "https://github.com/TuneLab/pytz-convert/archive/v0.2.9.tar.gz", "Homepage": "https://github.com/tuneinc/pycountry-convert" }, "release_url": "https://pypi.org/project/pytz-convert/0.2.9/", "requires_dist": null, "requires_python": "", "summary": "Extension of Python package pytz providing functions for converting timezone names, abbreviations, and offsets.", "version": "0.2.9" }, "last_serial": 3852705, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "6c0d1225a9f17b2a06c5714bb6e7d8a7", "sha256": "986c4c962280e16b65991a0dc1ae67aa3bb395fd5fd8d34c1a2a7a7432a1c346" }, "downloads": -1, "filename": "pytz_convert-0.2.0-py3.6.egg", "has_sig": false, "md5_digest": "6c0d1225a9f17b2a06c5714bb6e7d8a7", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 12043, "upload_time": "2017-12-05T22:19:55", "url": "https://files.pythonhosted.org/packages/7d/86/20717c7e2f60036239b5af674fa34568563e76c467b9afb46fb78c94c532/pytz_convert-0.2.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "8aaecbada7fa51ce44f80a72c3b9b28c", "sha256": "608dca5782fc65c48d11625bd46647cd9a1329acf688c636aa2116dfaa1c8e96" }, "downloads": -1, "filename": "pytz_convert-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8aaecbada7fa51ce44f80a72c3b9b28c", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9146, "upload_time": "2017-12-05T22:19:52", "url": "https://files.pythonhosted.org/packages/af/3c/715e2a33852e0109f9b3e562aa2d057f0fcda8690074607cff62928f9de5/pytz_convert-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c91f272a1599049e2607067a34a6ad51", "sha256": "94130468b2f54ce431b3205540ccc835405e60d1710301e943e6b5c01d241c67" }, "downloads": -1, "filename": "pytz-convert-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c91f272a1599049e2607067a34a6ad51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9867, "upload_time": "2017-12-05T22:19:59", "url": "https://files.pythonhosted.org/packages/86/e7/06f266ae1b624faf178bcf8afa53f7550486417fb1df0fb935fa79c4cb34/pytz-convert-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "cd1bd4607cddb2e95d8c462bb91263ae", "sha256": "f3935136504f4a9f150f8802886ee9dddc45ca214dc5bc10ff42ed646f7e73c4" }, "downloads": -1, "filename": "pytz_convert-0.2.1-py3.6.egg", "has_sig": false, "md5_digest": "cd1bd4607cddb2e95d8c462bb91263ae", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 12042, "upload_time": "2017-12-10T20:48:01", "url": "https://files.pythonhosted.org/packages/fa/b3/d462e32995405e2a861fbf7426af68398822e2ea9caaa91e0f0e70cefa4a/pytz_convert-0.2.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "c69c51ce51e73d492097b01f65e09c83", "sha256": "30520aeb0a16ddc1579bfab00059c37f64c7530eb7be64a7ea44c2b658540ab0" }, "downloads": -1, "filename": "pytz_convert-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c69c51ce51e73d492097b01f65e09c83", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9181, "upload_time": "2017-12-10T20:47:58", "url": "https://files.pythonhosted.org/packages/c6/f8/b3e483c21accc1ec39ec8fd9678d010da2a2cd5d04620808373682adc5f7/pytz_convert-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "98f27f9979db3c117c39bb5c9f5e1dda", "sha256": "48dd533a63cf87e568078ad2b80417e89ea512700c448668c5422be1e42846fe" }, "downloads": -1, "filename": "pytz-convert-0.2.1.tar.gz", "has_sig": false, "md5_digest": "98f27f9979db3c117c39bb5c9f5e1dda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9935, "upload_time": "2017-12-10T20:48:04", "url": "https://files.pythonhosted.org/packages/2d/86/71bb82ac971d56255d1f13fe3de994165f859f9f5e53a7cd58b8cf9121f0/pytz-convert-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "36620de47f4324eaf86f47329da1d883", "sha256": "ed678f09a316ef65c4174b6c049425198d9234491736fcb40ed6a637e3667e3e" }, "downloads": -1, "filename": "pytz_convert-0.2.2-py3.6.egg", "has_sig": false, "md5_digest": "36620de47f4324eaf86f47329da1d883", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 12040, "upload_time": "2017-12-10T20:53:46", "url": "https://files.pythonhosted.org/packages/7c/71/956f38bc5bebb1cf48852ee53cb756adfdbdae51e29428017c21e7605e79/pytz_convert-0.2.2-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "37736a946fb4e214a03b87608c412c6c", "sha256": "22147947a15af9f2feaedeb9c6d519cddc1b7cca9a828e7952bd13da1d0d147b" }, "downloads": -1, "filename": "pytz_convert-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "37736a946fb4e214a03b87608c412c6c", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9177, "upload_time": "2017-12-10T20:53:41", "url": "https://files.pythonhosted.org/packages/62/ac/0d6687d056324c2f65b4f912911b1ba12d77ea197f6af2a445d525ff4215/pytz_convert-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fd330de17d898878705475309d669cd7", "sha256": "58d3438e3cb9d4b16a91b02ef3d03d81d96eeb1bc14035d6b46d9ca76a43a0a2" }, "downloads": -1, "filename": "pytz-convert-0.2.2.tar.gz", "has_sig": false, "md5_digest": "fd330de17d898878705475309d669cd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9919, "upload_time": "2017-12-10T20:53:51", "url": "https://files.pythonhosted.org/packages/f6/7a/0a3f65b7e7d1c1e496e167a5fdf7bea16ad027c97533268c2fb0c3c8652b/pytz-convert-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "a76e5b4f881c2229fbb20ffe926cc59a", "sha256": "e95af92016a7d106ca625aabbcb85a66dbd9fa607115f2edb5b18e46fc133710" }, "downloads": -1, "filename": "pytz_convert-0.2.3-py3.6.egg", "has_sig": false, "md5_digest": "a76e5b4f881c2229fbb20ffe926cc59a", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 12126, "upload_time": "2018-01-28T17:15:55", "url": "https://files.pythonhosted.org/packages/ca/c7/b2381a1efb6508efaed91de422a0c740cbef0ce9e92016fe8a3df15ced9c/pytz_convert-0.2.3-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "9f4dd45101f89050d44bc3ae71911204", "sha256": "fe01498eb883b7d6cd7ad2310a788d857607919416423771eefb16da3897e916" }, "downloads": -1, "filename": "pytz_convert-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "9f4dd45101f89050d44bc3ae71911204", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9249, "upload_time": "2018-01-28T17:15:53", "url": "https://files.pythonhosted.org/packages/a3/83/5da31453c38e57eb94159a7ad9b0feb5797d94f61a4dd98ead9df080e5e9/pytz_convert-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3751682b7a7054f2d9463c6d2d3a6ab9", "sha256": "2619aa28ad891aa84cd5f523b08eb91a946db74610ab4df68a92498ee81a82b9" }, "downloads": -1, "filename": "pytz-convert-0.2.3.tar.gz", "has_sig": false, "md5_digest": "3751682b7a7054f2d9463c6d2d3a6ab9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9942, "upload_time": "2018-01-28T17:15:59", "url": "https://files.pythonhosted.org/packages/21/87/2e8e53487f473c8197f4af05f1dc3d14f0b2b9257f8f6822d63fbf0ed110/pytz-convert-0.2.3.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "fc01bd957f0ff1bfc6061e7436bca1c4", "sha256": "01dd20edfd0eceff16f1ce2b24f34d92facac10964390f99aec4ea21e88bedb2" }, "downloads": -1, "filename": "pytz_convert-0.2.6-py3-none-any.whl", "has_sig": false, "md5_digest": "fc01bd957f0ff1bfc6061e7436bca1c4", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9256, "upload_time": "2018-01-28T18:21:42", "url": "https://files.pythonhosted.org/packages/c8/d6/5f04cc09680acce8dc69aa2112ee3613ec77226b64b8407dad1a09804658/pytz_convert-0.2.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dca9daf933bbb3808faf4c47b3798d76", "sha256": "41e263bec99a6c32bb0485431929bb862ae02bce187e3a75a333ca8ebc482734" }, "downloads": -1, "filename": "pytz-convert-0.2.6.tar.gz", "has_sig": false, "md5_digest": "dca9daf933bbb3808faf4c47b3798d76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9989, "upload_time": "2018-01-28T18:21:40", "url": "https://files.pythonhosted.org/packages/7f/91/28c14b809981169788c366c29957803988d111637c59204a8dbc2acebd62/pytz-convert-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "80e7bbfca7566391af9efee323b19202", "sha256": "9a93ac355999b2a45d5614364c36554b8c52bdb11b2f7d5aa5ef3f939b07c19d" }, "downloads": -1, "filename": "pytz_convert-0.2.7-py3-none-any.whl", "has_sig": false, "md5_digest": "80e7bbfca7566391af9efee323b19202", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9257, "upload_time": "2018-01-28T18:23:07", "url": "https://files.pythonhosted.org/packages/67/45/cdf2485ad60c022fa01fd117dc8e20a70d80865de2afa8352ae18d24f5b2/pytz_convert-0.2.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3d8039f75571b8119a451ebaff2396a6", "sha256": "484c3d7e607c71c3372e33cff1cea839266797012f26a6a21ab69477109168c7" }, "downloads": -1, "filename": "pytz-convert-0.2.7.tar.gz", "has_sig": false, "md5_digest": "3d8039f75571b8119a451ebaff2396a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9967, "upload_time": "2018-01-28T18:23:05", "url": "https://files.pythonhosted.org/packages/dd/36/95e37f1d8096af57cffb0f00cbb36f7eb500686143661cd245a00be93886/pytz-convert-0.2.7.tar.gz" } ], "0.2.8": [ { "comment_text": "", "digests": { "md5": "48a222a909b8209af38f92fcfb5ee8a7", "sha256": "17b94ca696502951c1dbf7618096e9c6a5305d565011645beee37b98dced29c8" }, "downloads": -1, "filename": "pytz_convert-0.2.8-py3-none-any.whl", "has_sig": false, "md5_digest": "48a222a909b8209af38f92fcfb5ee8a7", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9300, "upload_time": "2018-02-18T17:41:41", "url": "https://files.pythonhosted.org/packages/46/73/a1462c42a1b0ee27d852909cf809252b08903ce3d1f4ba5bb9f09e6c42d2/pytz_convert-0.2.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "85d339a58d48b5345c3da5f5b0a43b62", "sha256": "506a66dba5a1f2381a6bec71ec8e62c8a2cac50d36a7ad60e39e8c77ed5b094b" }, "downloads": -1, "filename": "pytz-convert-0.2.8.tar.gz", "has_sig": false, "md5_digest": "85d339a58d48b5345c3da5f5b0a43b62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9988, "upload_time": "2018-02-18T17:41:39", "url": "https://files.pythonhosted.org/packages/58/b5/7fa03ecc7c7b23e920ffb601f7b4b6dc56357086ced77f00bea898020039/pytz-convert-0.2.8.tar.gz" } ], "0.2.9": [ { "comment_text": "", "digests": { "md5": "59e6c64fd29340c3be16ea867c481812", "sha256": "10ffc40885a40a90bdb7856b2720492ee8ae2fe44257bf4fa03c7cd85f3b0a69" }, "downloads": -1, "filename": "pytz_convert-0.2.9-py3-none-any.whl", "has_sig": false, "md5_digest": "59e6c64fd29340c3be16ea867c481812", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9365, "upload_time": "2018-02-20T01:29:53", "url": "https://files.pythonhosted.org/packages/5a/4e/b77fbe619da32ff677c7a11ecabf1f71632edf291b962cff39e92eb5faa2/pytz_convert-0.2.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84ce0e0980bb6e522af0a99f7215be3c", "sha256": "0b8a0cd9aff95d799d8143d052bc6d1f91b9d15809656347e904c0df4a1f78da" }, "downloads": -1, "filename": "pytz-convert-0.2.9.tar.gz", "has_sig": false, "md5_digest": "84ce0e0980bb6e522af0a99f7215be3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10307, "upload_time": "2018-02-20T01:29:50", "url": "https://files.pythonhosted.org/packages/0b/7d/d710ae5ef338650a2a4fb45520585d94957c63c398cdf1a52bee78f1e088/pytz-convert-0.2.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "59e6c64fd29340c3be16ea867c481812", "sha256": "10ffc40885a40a90bdb7856b2720492ee8ae2fe44257bf4fa03c7cd85f3b0a69" }, "downloads": -1, "filename": "pytz_convert-0.2.9-py3-none-any.whl", "has_sig": false, "md5_digest": "59e6c64fd29340c3be16ea867c481812", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9365, "upload_time": "2018-02-20T01:29:53", "url": "https://files.pythonhosted.org/packages/5a/4e/b77fbe619da32ff677c7a11ecabf1f71632edf291b962cff39e92eb5faa2/pytz_convert-0.2.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84ce0e0980bb6e522af0a99f7215be3c", "sha256": "0b8a0cd9aff95d799d8143d052bc6d1f91b9d15809656347e904c0df4a1f78da" }, "downloads": -1, "filename": "pytz-convert-0.2.9.tar.gz", "has_sig": false, "md5_digest": "84ce0e0980bb6e522af0a99f7215be3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10307, "upload_time": "2018-02-20T01:29:50", "url": "https://files.pythonhosted.org/packages/0b/7d/d710ae5ef338650a2a4fb45520585d94957c63c398cdf1a52bee78f1e088/pytz-convert-0.2.9.tar.gz" } ] }