{ "info": { "author": "Andy Chase", "author_email": "andy@andychase.us", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing" ], "description": "Date_Machine\n============\n\nDate Machine is a Date parsing system.\n\nIt is based on Reparse_, and includes 14 date patterns, and a Javascript version.\n\n.. code-block:: python\n\n date_machine_parse('All day Thursday-Sunday, Sept. 20-23., Friday September 21')\n # [Date(month=9, day=20),\n # Date(month=9, day=21),\n # Date(month=9, day=22),\n # Date(month=9, day=23)],\n\n- Fast\n- Scannable: Use over full text and find dates\n- Honest: no approximations given about the dates (i.e. if the year is missing it's not included)\n- Portable: Parser description compiles to Regex/Json. You just have to write the output builder functions.\n- Highly-Customizable: Adding more formats at different levels is easy (if you know regular expressions).\n\nInstallation\n------------\n\n pip install date_machine\n \nor\n\n python setup.py install\n\nin the base directory.\n\nUsage\n-----\n\n.. code-block:: python\n\n import date_machine\n date_machine.parse('Jan 1st')\n # [Date(month=1, day=11)]\n\n\nSupport\n-------\n\nNeed some help? Send me an email at theandychase@gmail.com and I'll do my best to help you.\n\nContribution\n------------\n\nThe code is located on Github_.\nSend me suggestions, issues, and pull requests and I'll gladly review them!\n\nLicence\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Andrew Chase\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n.. _Github: https://github.com/andychase/date_machine\n.. _Reparse: https://github.com/andychase/reparse", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/andychase/date_machine/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://andychase.me/date_machine", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "date_machine", "package_url": "https://pypi.org/project/date_machine/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/date_machine/", "project_urls": { "Download": "https://github.com/andychase/date_machine/archive/master.zip", "Homepage": "https://andychase.me/date_machine" }, "release_url": "https://pypi.org/project/date_machine/0.21/", "requires_dist": null, "requires_python": null, "summary": "The last date parser", "version": "0.21" }, "last_serial": 1336162, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "23fe281be7fc3c368ceb700679ec39ab", "sha256": "0d7f2c21a14d64cda18a4058e0af0dc1d0872ad8232193685de9068992a95122" }, "downloads": -1, "filename": "date_machine-0.2.zip", "has_sig": false, "md5_digest": "23fe281be7fc3c368ceb700679ec39ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7660, "upload_time": "2013-11-18T07:59:57", "url": "https://files.pythonhosted.org/packages/f5/fd/87adbc50d9bd6236efed64f7ab528f1dd8f1dd6da94829f398259455bf7c/date_machine-0.2.zip" } ], "0.21": [] }, "urls": [] }