{ "info": { "author": "Tobias Litherland", "author_email": "tobiaslland@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# dateparse\n[![Build Status](https://travis-ci.org/tobiasli/dateparse.svg?branch=master)](https://travis-ci.org/tobiasli/dateparse)
\n[![Coverage Status](https://coveralls.io/repos/tobiasli/dateparse/badge.svg?branch=master&service=github)](https://coveralls.io/github/tobiasli/dateparse?branch=master)
\n[![PyPI version](https://badge.fury.io/py/dateparse-tobiasli.svg)](https://badge.fury.io/py/dateparse-tobiasli)
\n\nDateparser for creating datetime objects from arbitrarily formated date strings. Primary support for Norwegian date formats.\n\nNew version is a complete refactor:\n* Much faster parsing. \n* Reduced pattern complexity. \n* Improved matching rutine. \n* Some reduced functionality with less used time formats (centuries, relative dates, text based). \n\n## Install\n\n```\npip install dateparse-tobiasli\n```\n## Usage\n```python\nimport datetime\nfrom dateparse import DateParser\nparser = DateParser()\n\n# Dates with alpha components:\ndt = parser.parse('5. januar 2015')\nprint(dt == [datetime.datetime(2015, 1, 5, 0, 0)])\n\n# Multiple dates from same string:\ndt = parser.parse('1/12/2014 kl 12, 11.12.2015 kl 14')\nprint(dt == [datetime.datetime(2014, 12, 1, 12, 00), datetime.datetime(2015, 12, 11, 14, 00)])\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tobiasli/dateparse", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "dateparse-tobiasli", "package_url": "https://pypi.org/project/dateparse-tobiasli/", "platform": "", "project_url": "https://pypi.org/project/dateparse-tobiasli/", "project_urls": { "Homepage": "https://github.com/tobiasli/dateparse" }, "release_url": "https://pypi.org/project/dateparse-tobiasli/1.1.1/", "requires_dist": null, "requires_python": "", "summary": "Package for converting string timestamps into datetimes.", "version": "1.1.1", "yanked": false, "yanked_reason": null }, "last_serial": 6043659, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "45f3798b404b41a28c7293d63f143fdb", "sha256": "b7fbd5ce16a1249bc843881526aaf3ad359cfb8ff96daa89e6881ee214c9edf6" }, "downloads": -1, "filename": "dateparse-tobiasli-1.0.0.tar.gz", "has_sig": false, "md5_digest": "45f3798b404b41a28c7293d63f143fdb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3343, "upload_time": "2019-10-26T21:01:17", "upload_time_iso_8601": "2019-10-26T21:01:17.637268Z", "url": "https://files.pythonhosted.org/packages/1e/75/c2c6f00aaa810d9fcdc5f9e1f3ca2a298f3430c44976aab8a9ffea0afc8e/dateparse-tobiasli-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "1ce225b51c3a638bb37860b78b1b3e09", "sha256": "1b6bae75a62950680e707d18df534fe3f7de8e3fa9f58bb465b8048898f387b6" }, "downloads": -1, "filename": "dateparse-tobiasli-1.0.1.tar.gz", "has_sig": false, "md5_digest": "1ce225b51c3a638bb37860b78b1b3e09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3324, "upload_time": "2019-10-27T06:15:22", "upload_time_iso_8601": "2019-10-27T06:15:22.198637Z", "url": "https://files.pythonhosted.org/packages/c8/d2/4afe3b4e7fa8fc8abeb3c51f73c3c595bb56c84acbd747e54df300748a14/dateparse-tobiasli-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "f6d9e35c536ea792d1cb3581f1fc6f5a", "sha256": "9ba0762454f413db2c4aa50715c1a0a30e54363ce8eeb9766fb497225e9939a4" }, "downloads": -1, "filename": "dateparse-tobiasli-1.0.2.tar.gz", "has_sig": false, "md5_digest": "f6d9e35c536ea792d1cb3581f1fc6f5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3374, "upload_time": "2019-10-27T06:56:40", "upload_time_iso_8601": "2019-10-27T06:56:40.703654Z", "url": "https://files.pythonhosted.org/packages/df/72/eae1ec453c4f8587a8d5b264c193f1495ed9cdb2ebb2109f2866c3c633e6/dateparse-tobiasli-1.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "12ceef964d92e71b35b413e384772c8b", "sha256": "44a74204b3351467f832188a6afee86bcfdf9e1e9dd76f6a39283e6ddfc4e04b" }, "downloads": -1, "filename": "dateparse-tobiasli-1.1.0.tar.gz", "has_sig": false, "md5_digest": "12ceef964d92e71b35b413e384772c8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3766, "upload_time": "2019-10-27T21:19:08", "upload_time_iso_8601": "2019-10-27T21:19:08.685632Z", "url": "https://files.pythonhosted.org/packages/67/2c/67496bb0f2b60ad2fdfc1dacc77b6389892559d4c865cfdd0238d3f3663c/dateparse-tobiasli-1.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "24e491dc272193e17ae3fbdeefb45b0c", "sha256": "c49ef4e162aba1825f9733d6dc893c40ef631fed76ed82164245d5699caf6c70" }, "downloads": -1, "filename": "dateparse-tobiasli-1.1.1.tar.gz", "has_sig": false, "md5_digest": "24e491dc272193e17ae3fbdeefb45b0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3890, "upload_time": "2019-10-28T20:16:08", "upload_time_iso_8601": "2019-10-28T20:16:08.016183Z", "url": "https://files.pythonhosted.org/packages/e8/a3/25afb48faf743215e88d59a802e375f1df0e32917e7fb406a5f90df3ba2e/dateparse-tobiasli-1.1.1.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "24e491dc272193e17ae3fbdeefb45b0c", "sha256": "c49ef4e162aba1825f9733d6dc893c40ef631fed76ed82164245d5699caf6c70" }, "downloads": -1, "filename": "dateparse-tobiasli-1.1.1.tar.gz", "has_sig": false, "md5_digest": "24e491dc272193e17ae3fbdeefb45b0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3890, "upload_time": "2019-10-28T20:16:08", "upload_time_iso_8601": "2019-10-28T20:16:08.016183Z", "url": "https://files.pythonhosted.org/packages/e8/a3/25afb48faf743215e88d59a802e375f1df0e32917e7fb406a5f90df3ba2e/dateparse-tobiasli-1.1.1.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }