{ "info": { "author": "Mario Corchero", "author_email": "mariocj89@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": ".. image:: https://readthedocs.org/projects/tzcron/badge/?version=latest\r\n :target: http://tzcron.readthedocs.io/en/latest/?badge=latest\r\n :alt: Documentation Status\r\n\r\ntzcron\r\n######\r\n\r\nA library to work with cron/quartz expressions and timezones.\r\n\r\nOverview\r\n########\r\n\r\ntzcron provides a way to define schedules attached to timezones and get time occurrences out of it by just iterating the object created.\r\n\r\nInstall\r\n#######\r\n\r\n>>> pip install tzcron\r\n\r\nUsage\r\n#####\r\n\r\n>>> import tzcron\r\n>>> import pytz\r\n>>> schedule = tzcron.Schedule(\"* * * * * *\", pytz.utc)\r\n>>> str(schedule)\r\n'Cron: * * * * * * @UTC [2016-09-25 19:10:48.948486+00:00->None]'\r\n>>> next(schedule)\r\ndatetime.datetime(2016, 9, 25, 19, 11, tzinfo=)\r\n>>> next(schedule)\r\ndatetime.datetime(2016, 9, 25, 19, 12, tzinfo=)\r\n>>> next(schedule)\r\ndatetime.datetime(2016, 9, 25, 19, 13, tzinfo=)\r\n\r\n\r\nFor further information, check the `official documentation `_\r\n\r\n\r\nDevelop this package\r\n####################\r\n\r\nTo test the package::\r\n\r\n > python -m nose\r\n\r\nTo release a new version of the package::\r\n\r\n > python setup.py sdist bdist_wheel upload", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bloomberg/tzcron", "keywords": "cron", "license": "Apache", "maintainer": "", "maintainer_email": "", "name": "tzcron", "package_url": "https://pypi.org/project/tzcron/", "platform": "", "project_url": "https://pypi.org/project/tzcron/", "project_urls": { "Homepage": "https://github.com/bloomberg/tzcron" }, "release_url": "https://pypi.org/project/tzcron/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Timezone aware Cron/Quartz parser", "version": "1.0.0" }, "last_serial": 2363068, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "a58682303c674fba1672b2f7b8b23c5a", "sha256": "a9ec9c149085525157e6746b5f745069a39c7c5405d31cdd7e89a65cbb20b99f" }, "downloads": -1, "filename": "tzcron-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a58682303c674fba1672b2f7b8b23c5a", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 6448, "upload_time": "2016-09-25T22:38:51", "url": "https://files.pythonhosted.org/packages/e7/23/9559e563db330b55f6e1f3ff3400849993b87ffd3bc21e4727b2fd6d617f/tzcron-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d060e5873dae158bef3ac2dd96908fd0", "sha256": "d48ce0981e0bc1dcbc895927fa590a4b3485db3123ddcdfde65588d99e0fa5ce" }, "downloads": -1, "filename": "tzcron-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d060e5873dae158bef3ac2dd96908fd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5718, "upload_time": "2016-09-25T22:38:49", "url": "https://files.pythonhosted.org/packages/03/c7/d5599259887ca1e36d32d5b844458078cfac22fc402a1ff48a07b23e6874/tzcron-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a58682303c674fba1672b2f7b8b23c5a", "sha256": "a9ec9c149085525157e6746b5f745069a39c7c5405d31cdd7e89a65cbb20b99f" }, "downloads": -1, "filename": "tzcron-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a58682303c674fba1672b2f7b8b23c5a", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 6448, "upload_time": "2016-09-25T22:38:51", "url": "https://files.pythonhosted.org/packages/e7/23/9559e563db330b55f6e1f3ff3400849993b87ffd3bc21e4727b2fd6d617f/tzcron-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d060e5873dae158bef3ac2dd96908fd0", "sha256": "d48ce0981e0bc1dcbc895927fa590a4b3485db3123ddcdfde65588d99e0fa5ce" }, "downloads": -1, "filename": "tzcron-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d060e5873dae158bef3ac2dd96908fd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5718, "upload_time": "2016-09-25T22:38:49", "url": "https://files.pythonhosted.org/packages/03/c7/d5599259887ca1e36d32d5b844458078cfac22fc402a1ff48a07b23e6874/tzcron-1.0.0.tar.gz" } ] }