{ "info": { "author": "tpchris1", "author_email": "topchrischang@hotmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Text Processing :: Linguistic" ], "description": "# deepeye_pack\r\n\r\n## Update - 2018/10/22 v0.0.2\r\n1. read_csv_handld_changedate revise to pandas method\r\n2. both the import methods require **Mandatory** table_info to specify the table \r\n3. mysql_handle now change to pandas dataframe verison\r\n4. from_mysql also changes to para-method, pass port/user/db... instead of query and MySQLdb conn\r\n\r\n\r\n## Description\r\n1. This is a Python package for DeepEye API,can easily visualize data without too much effort. And provide with really simple usage\r\n2. the DeepEye system: https://github.com/TsinghuaDatabaseGroup/DeepEye/tree/master/APIs_Deepeye\r\n\r\n## Installation\r\n1. Python 2.7\r\n2. MySQL 5.7\r\n3. Packages\r\n 1. mysqldb binary packages for windows: link1:https://www.lfd.uci.edu/~gohlke/pythonlibs/
link2:https://sourceforge.net/projects/mysql-python/\r\n - Download 'MySQL-python' and choose the right version for it \r\n - Install the .whl by wheel install\r\n - there is a back up version in this repository under 'mysqldb' folder \r\n 2. numpy(latest version)\r\n 3. pandas(latest version) above ver 0.23.0\r\n\r\n## Usage\r\n1. Initial\r\n 1. example code:\r\n ```py\r\n import deepeye_pack\r\n\r\n #create a deepeye_pack class that wraps everything\r\n dp = deepeye_pack.deepeye('demo') # the name here doesnt actually matter\r\n\r\n # then user needs to input table info\r\n # as in table_info(table_name,column_names,column_types)\r\n dp.table_info('electricity',['city','date','electricity(kWh)'],['varchar','date','float'])\r\n ```\r\n 2. the column_types that supported by deepeye_pack are specified as below:\r\n 1. numerical: `int`, `float`, `double`\r\n 2. temporal: `date`, `datetime`, `year`\r\n 3. categorical: `char`, `varchar`\r\n2. Import\r\n 1. from_mysql()\r\n ```py\r\n # call the from_mysql() function\r\n dp.from_mysql(host='localhost',port=3306,user='root',passwd='ppww',db='deepeye', query='SELECT * FROM `table_name`')\r\n\r\n ```\r\n 2. from_csv()\r\n ```py\r\n path = \"file.csv\" # the path where the file located\r\n dp.from_csv(path)\r\n ```\r\n3. Visualization\r\n ```py\r\n # choose one from three\r\n dp.learning_to_rank()\r\n dp.partial_order()\r\n dp.diversified_ranking()\r\n ```\r\n4. Output\r\n ```py\r\n # can use several different methods at the same time\r\n dp.to_print_out()\r\n dp.to_single_json()\r\n dp.to_multiple_jsons()\r\n dp.to_multiple_htmls()\r\n dp.to_single_html()\r\n ```\r\n\r\n\r\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/TsinghuaDatabaseGroup/DeepEye/tree/master/APIs_Deepeye", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "deepeye-pack", "package_url": "https://pypi.org/project/deepeye-pack/", "platform": "", "project_url": "https://pypi.org/project/deepeye-pack/", "project_urls": { "Homepage": "https://github.com/TsinghuaDatabaseGroup/DeepEye/tree/master/APIs_Deepeye" }, "release_url": "https://pypi.org/project/deepeye-pack/0.2/", "requires_dist": [ "numpy", "pandas", "MySQLdb", "pyecharts", "pprint" ], "requires_python": "", "summary": "a Python package for DeepEye:Towards automatic Data Visualization API", "version": "0.2" }, "last_serial": 5112900, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "34f5a90bc54f7e8a82f0f4ef34ee15d0", "sha256": "e5146d710b242c0b141dc7515165cab21f9d463de969ce1886da1ae010d65648" }, "downloads": -1, "filename": "deepeye_pack-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "34f5a90bc54f7e8a82f0f4ef34ee15d0", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 143119, "upload_time": "2019-04-08T09:38:34", "url": "https://files.pythonhosted.org/packages/18/40/505140a0c3cc6d4a4bd33bcb3c1033a2fa471e923e5347980d07266ab6ed/deepeye_pack-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bd662783e69e059de228d9a35cac215", "sha256": "f46bc6fba37ab3575dc5181b0b7e9d5f2fd7296a102d197220f84b0850c69b2e" }, "downloads": -1, "filename": "deepeye_pack-0.2.tar.gz", "has_sig": false, "md5_digest": "6bd662783e69e059de228d9a35cac215", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 140084, "upload_time": "2019-04-08T09:38:37", "url": "https://files.pythonhosted.org/packages/e4/73/7a96b9babfa36a77bc6d254b7f9a41f09c78b8c074a4906c7ea986b09017/deepeye_pack-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "34f5a90bc54f7e8a82f0f4ef34ee15d0", "sha256": "e5146d710b242c0b141dc7515165cab21f9d463de969ce1886da1ae010d65648" }, "downloads": -1, "filename": "deepeye_pack-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "34f5a90bc54f7e8a82f0f4ef34ee15d0", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 143119, "upload_time": "2019-04-08T09:38:34", "url": "https://files.pythonhosted.org/packages/18/40/505140a0c3cc6d4a4bd33bcb3c1033a2fa471e923e5347980d07266ab6ed/deepeye_pack-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bd662783e69e059de228d9a35cac215", "sha256": "f46bc6fba37ab3575dc5181b0b7e9d5f2fd7296a102d197220f84b0850c69b2e" }, "downloads": -1, "filename": "deepeye_pack-0.2.tar.gz", "has_sig": false, "md5_digest": "6bd662783e69e059de228d9a35cac215", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 140084, "upload_time": "2019-04-08T09:38:37", "url": "https://files.pythonhosted.org/packages/e4/73/7a96b9babfa36a77bc6d254b7f9a41f09c78b8c074a4906c7ea986b09017/deepeye_pack-0.2.tar.gz" } ] }