{ "info": { "author": "Yeddu Dinesh Babu", "author_email": "ydineshy225@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# datetime_extractor\nThe main intent of this project is to extract mostly all possible timestamps from a given string where date and time written together. It extracts timestaamps in a string format. Later one can convert extracted timestamp to python timestamp using pandas datetime package.\n\n# How to install the package\n\t\tpip install datetime-extractor\n\n# Example1\n``` python\n from datetime_extractor import DateTimeExtractor\n\n import pandas as pd\n import re\n\n samplestring = 'scala> val xorder= new order(1,\"2016-02-22 00:00:00.00\",100,\"COMPLETED\")'\n\n DateTimeExtractor(samplestring)\n\n Out: ['2016-02-22 00:00:00.00']\n```\n\n# Example2\nSuppose if one has a dataframe with text column where timestamps written, the above function can be used to create a new column with extracted timestamp strings. One can use below command in this case\n``` python\n data = pd.read_csv('sampledata.csv')\n data['textcolumn'] = data['textcolumn'].fillna('')\n\n data['ExtractedTimestamp'] = data['textcolumn'].apply(lambda x: DateTimeExtractor(str(x)))\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/ydineshy225/datetime_extractor", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "datetime-extractor", "package_url": "https://pypi.org/project/datetime-extractor/", "platform": "", "project_url": "https://pypi.org/project/datetime-extractor/", "project_urls": { "Homepage": "https://github.com/ydineshy225/datetime_extractor" }, "release_url": "https://pypi.org/project/datetime-extractor/0.5/", "requires_dist": null, "requires_python": "", "summary": "Extracts timestamp from a given text/string", "version": "0.5" }, "last_serial": 4924741, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "77cb4b491f0afb4b30cc6f62c153b5be", "sha256": "8334bbbb769145fd2bb5c5c4faca59bb3881ea6a919513cb3e51c6f35a040dd7" }, "downloads": -1, "filename": "datetime_extractor-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "77cb4b491f0afb4b30cc6f62c153b5be", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2985, "upload_time": "2019-03-05T08:57:21", "url": "https://files.pythonhosted.org/packages/7a/93/7317bbe9403351ef494fc2408ca14184575a4aa0ab3c8e67c5aeadc9baf6/datetime_extractor-0.1-py3-none-any.whl" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "c78bab0003797fc60658898349ae585f", "sha256": "db3a36ea9c799b61c98a5fbb17c986415e99855c7badc1210bb2a3411ee79406" }, "downloads": -1, "filename": "datetime_extractor-0.2.tar.gz", "has_sig": false, "md5_digest": "c78bab0003797fc60658898349ae585f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2430, "upload_time": "2019-03-06T05:00:17", "url": "https://files.pythonhosted.org/packages/87/47/7b298d1126fec587493151b472a73015f8b57a6d5a9b4fb91302082dde09/datetime_extractor-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "87c9d6b8d3216e151954fd55f3cfc7d1", "sha256": "327302073b96499258288cc68acdb00108c41f89f26b7f001fa1fe6a8ff688c1" }, "downloads": -1, "filename": "datetime_extractor-0.3.tar.gz", "has_sig": false, "md5_digest": "87c9d6b8d3216e151954fd55f3cfc7d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2431, "upload_time": "2019-03-06T05:03:57", "url": "https://files.pythonhosted.org/packages/df/ab/533549615f9337727e134fdcb33ed41a96ae1529de6b7bbd53dc4d9ce061/datetime_extractor-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "64765564423e46a9520574bcad35c751", "sha256": "88dcb34d6a092b7bb1463beed4a37ea97a9e549a6ec54dbfe390f1665a0d711a" }, "downloads": -1, "filename": "datetime_extractor-0.4.tar.gz", "has_sig": false, "md5_digest": "64765564423e46a9520574bcad35c751", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2427, "upload_time": "2019-03-06T13:04:25", "url": "https://files.pythonhosted.org/packages/56/ab/4924e64e9a08d28c90885318a54f0cbed18e1521ec67a560ade68e6d3a6f/datetime_extractor-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "ade9dee554a4a44ecbdca1112b888eef", "sha256": "9706118af2c423dc3a23875651fe910a12fedb3fb1f31e44d6177be3e33a6234" }, "downloads": -1, "filename": "datetime_extractor-0.5.tar.gz", "has_sig": false, "md5_digest": "ade9dee554a4a44ecbdca1112b888eef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2440, "upload_time": "2019-03-11T11:41:56", "url": "https://files.pythonhosted.org/packages/b9/66/6b28056bdb706794db2c1546659d0417d18248b0efaf9b2c10e59efb678e/datetime_extractor-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ade9dee554a4a44ecbdca1112b888eef", "sha256": "9706118af2c423dc3a23875651fe910a12fedb3fb1f31e44d6177be3e33a6234" }, "downloads": -1, "filename": "datetime_extractor-0.5.tar.gz", "has_sig": false, "md5_digest": "ade9dee554a4a44ecbdca1112b888eef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2440, "upload_time": "2019-03-11T11:41:56", "url": "https://files.pythonhosted.org/packages/b9/66/6b28056bdb706794db2c1546659d0417d18248b0efaf9b2c10e59efb678e/datetime_extractor-0.5.tar.gz" } ] }