{ "info": { "author": "The BigML Team", "author_email": "bigml@bigml.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Chronos\nUtilities for parsing time strings in Python.\n\n## Building and installation\n\nBefore installing chronos you will have to generate some of its\nmodules as it is explained in [Chronos readme](../readme.md)\nThen, you can simply run\n\n```shell\npip install bigml-chronos\n```\n\n## Requirements\nPython 2.7 and Python 3 are currently supported.\n\nThe basic third-party dependencies are\n[isoweek](https://pypi.org/project/isoweek/) and\n[pytz](http://pytz.sourceforge.net/). These libraries are\nautomatically installed during the setup.\n\n## Running the tests\nThe tests will be run using nose, that is installed on setup. You can\nrun the test suite simply by issuing\n\n```shell\npython setup.py nosetests\n```\n\n## Basic methods\nChronos offers the following main functions:\n\n - With **parse** you can parse a date. You can specify a format name\n with `format_name`, a list of possible format names with\n `format_names` or not specify any format. In the last case, `parse`\n will try all the possible formats until it finds the correct one:\n\n ```python\n from chronos import chronos\n chronos.parse(\"1969-W29-1\", format_name=\"week-date\")\n ```\n\n ```python\n from chronos import chronos\n chronos.parse(\"1969-W29-1\", format_names=[\"week-date\", \"week-date-time\"])\n ```\n\n ```python\n from chronos import chronos\n chronos.parse(\"7-14-1969 5:36 PM\")\n ```\n\n - You can also find the format_name from a date with **find_format**:\n\n ```python\n from chronos import parser\n chronos.find_format(\"1969-07-14Z\")\n ```\n\nIf both `format_name` and `format_names` are passed, it will try all the\npossible formats in `format_names` and `format_name`.\n\nYou can find all the supported formats, and an example for each one of\nthem inside the [test file](./bigml/chronos/tests/test_chronos.py).\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/bigmlcom/chronos", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bigml.com", "keywords": "", "license": "http://www.apache.org/licenses/LICENSE-2.0", "maintainer": "", "maintainer_email": "", "name": "bigml-chronos", "package_url": "https://pypi.org/project/bigml-chronos/", "platform": "", "project_url": "https://pypi.org/project/bigml-chronos/", "project_urls": { "Download": "https://github.com/bigmlcom/chronos", "Homepage": "https://bigml.com" }, "release_url": "https://pypi.org/project/bigml-chronos/0.3.6/", "requires_dist": null, "requires_python": "", "summary": "Utilities for parsing time strings", "version": "0.3.6" }, "last_serial": 5863480, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "32c0152b85119484a972396bff17df62", "sha256": "f0eb90a7538d4712746e04ab47feab4342b77ff90eae34fcf8ce8ef30430dfdd" }, "downloads": -1, "filename": "bigml-chronos-0.3.1.tar.gz", "has_sig": false, "md5_digest": "32c0152b85119484a972396bff17df62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8024, "upload_time": "2019-06-19T20:31:15", "url": "https://files.pythonhosted.org/packages/19/20/cc53111a34d4403d1680557a176262e2d98a31f28f5f9503196b17149556/bigml-chronos-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "ad13a4aa92642c292cb9328dad95077b", "sha256": "fe0903cb2316043579021e1a92c3703d2cedd4ccc7ef3c33e2dceef8b76d1c08" }, "downloads": -1, "filename": "bigml-chronos-0.3.2.tar.gz", "has_sig": false, "md5_digest": "ad13a4aa92642c292cb9328dad95077b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 12284, "upload_time": "2019-06-21T10:49:16", "url": "https://files.pythonhosted.org/packages/ca/51/c8e40be820449cf34bd65e6f4d255cff961f8b1f8821dd315e750fe7b2da/bigml-chronos-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "a9daca72443978bc2537c2d6967209cd", "sha256": "f3526a95886591939c603c26e7126d9f60b2c1963cb24caaa1941b9547be9ba0" }, "downloads": -1, "filename": "bigml-chronos-0.3.3.tar.gz", "has_sig": false, "md5_digest": "a9daca72443978bc2537c2d6967209cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12200, "upload_time": "2019-06-21T14:59:27", "url": "https://files.pythonhosted.org/packages/54/a9/c2d526c883ff328bec183cbe7ec3cf720c7da13e599089baaf3c0a1719ae/bigml-chronos-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "1804b485a152aaa819bf9b745ed8fd37", "sha256": "f80b314afd8482f111dc5b04c4f405fecb7878eef52307845f189c638e9f91b1" }, "downloads": -1, "filename": "bigml-chronos-0.3.4.tar.gz", "has_sig": false, "md5_digest": "1804b485a152aaa819bf9b745ed8fd37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11217, "upload_time": "2019-07-02T19:11:35", "url": "https://files.pythonhosted.org/packages/5b/ee/c27fe0c93abbf45ffff4af1b2e8b56263912fa944f352da3242d4202382f/bigml-chronos-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "5bd21209e581bfe6cddae6ce976928cd", "sha256": "d2bc9559cdf46254b1ce5a4eb8766fcd2c9a7718a9729c98aef8c7a1fa56c93a" }, "downloads": -1, "filename": "bigml_chronos-0.3.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5bd21209e581bfe6cddae6ce976928cd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 19768, "upload_time": "2019-07-04T18:50:25", "url": "https://files.pythonhosted.org/packages/c3/be/72b6a0d0f4fd289ee059dda61c8af6504e84953d764906aeca264aa3880f/bigml_chronos-0.3.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "932f89bcd294b7183bb9b89b281120d0", "sha256": "6e2375a8827ed8f6741c9d8dc238f91effcddbd6b0976e9eb0ace64f1ceb7762" }, "downloads": -1, "filename": "bigml-chronos-0.3.5.tar.gz", "has_sig": false, "md5_digest": "932f89bcd294b7183bb9b89b281120d0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 12741, "upload_time": "2019-07-04T18:50:26", "url": "https://files.pythonhosted.org/packages/3d/85/b1756426de109f7b6c6ad3b652a1afd67efa472bbcdd03247637d551b74b/bigml-chronos-0.3.5.tar.gz" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "3f0d53ef03308699a29e6526cee23738", "sha256": "f71a5424094f46f76da02df11cb73a6232464f42f5bd005bbaf56cbe14aabec5" }, "downloads": -1, "filename": "bigml-chronos-0.3.6.tar.gz", "has_sig": false, "md5_digest": "3f0d53ef03308699a29e6526cee23738", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11859, "upload_time": "2019-09-20T17:58:55", "url": "https://files.pythonhosted.org/packages/90/95/f43b7acf50ade44570e0be654858792ea0fe569b43531d25105e0e708c5c/bigml-chronos-0.3.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3f0d53ef03308699a29e6526cee23738", "sha256": "f71a5424094f46f76da02df11cb73a6232464f42f5bd005bbaf56cbe14aabec5" }, "downloads": -1, "filename": "bigml-chronos-0.3.6.tar.gz", "has_sig": false, "md5_digest": "3f0d53ef03308699a29e6526cee23738", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11859, "upload_time": "2019-09-20T17:58:55", "url": "https://files.pythonhosted.org/packages/90/95/f43b7acf50ade44570e0be654858792ea0fe569b43531d25105e0e708c5c/bigml-chronos-0.3.6.tar.gz" } ] }