{ "info": { "author": "Boris Lau", "author_email": "boris@techie.im", "bugtrack_url": null, "classifiers": [], "description": "# Graphitty\n\n[![Circle CI](https://circleci.com/gh/sketchytechky/graphitty.svg?style=svg&circle-token=)](https://circleci.com/gh/sketchytechky/graphitty)\n\n[![Coverage Status](https://coveralls.io/repos/github/sketchytechky/graphitty/badge.svg?branch=master)](https://coveralls.io/github/sketchytechky/graphitty?branch=master)\n\nA Python library that convert time series to direction Graph to discover the story within data.\n\n\n![Example graph](apollo.png)\n\n\n# Installing\n\nTo install this package, runs:\n\n pip install git+https://github.com/sketchytechky/graphitty.git\n\nRemember to add the following line to `requirements.txt`\n\n git+https://github.com/sketchytechky/graphitty.git\n\n\n-----------\n\n\n# How to use\n\n```\nfrom graphitty.graphitty import Graphitty\nimport pandas as pd\n\n# Example input data - see test_simple.py for example\ndf = pd.DataFrame(\n [...],\n columns=['timestamp','action', 'user_id'])\n\n# Parsing and outputting graph\ng = Graphitty(\n df,\n id_col='user_id',\n beahivour_col='action',\n ts_col='timestamp')\nnx_graph = g.render()\n\n# create the beautiful directional graph\n# see https://github.com/chebee7i/nxpd for usage\nimport nxpd\nnxpd.draw(nx_graph, show='ipynb')\n```\n\n# Running Tests\n\nRun test with\n\n py.test --pep8\n\nTo run test in watch mode\n\n py.test.watch -- --pep8\n # same with: ptw -- --pep8\n\n\n-----------\n\n\n# Related research\n\n\n* Information Foraging Theory:Adaptive Interaction with Information - http://www.peterpirolli.com/Professional/About_Me_files/IFT%20Ch%201.pdf\n\n\n* Jakob Nielson example on how to apply information foraging theory to understand visitor's behaviour\n - http://www.useit.com/alertbox/scrolling-attention.html\n - https://www.nngroup.com/articles/information-scent/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sketchytechky/graphitty", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "graphitty", "package_url": "https://pypi.org/project/graphitty/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/graphitty/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/sketchytechky/graphitty" }, "release_url": "https://pypi.org/project/graphitty/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "A Python library that convert time series to direction Graph to discover the story within data.", "version": "0.0.2" }, "last_serial": 2898375, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "04c00d2ad1ea4ab5390ac3a347c98e0f", "sha256": "f899ce9c865270daf8f7aaac71489df844a86c35b79301e8c787ba5a282f0531" }, "downloads": -1, "filename": "graphitty-0.0.1.tar.gz", "has_sig": false, "md5_digest": "04c00d2ad1ea4ab5390ac3a347c98e0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6123, "upload_time": "2017-02-09T13:25:12", "url": "https://files.pythonhosted.org/packages/dd/62/276c72538d61437edc8fc7e8a7c2ba57941a111bb76da37d492365c3db1a/graphitty-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "4f853ea06b366225a68398d4213d9bf1", "sha256": "b80dbdd9b9f406a713ff053b6037f7711bd54af3a26237fc23148e8d6f0850d2" }, "downloads": -1, "filename": "graphitty-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4f853ea06b366225a68398d4213d9bf1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6138, "upload_time": "2017-05-25T15:39:44", "url": "https://files.pythonhosted.org/packages/6a/fe/a0568e362f9862b60dfe095531d737f05ae070d7af8030d7c63575497050/graphitty-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4f853ea06b366225a68398d4213d9bf1", "sha256": "b80dbdd9b9f406a713ff053b6037f7711bd54af3a26237fc23148e8d6f0850d2" }, "downloads": -1, "filename": "graphitty-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4f853ea06b366225a68398d4213d9bf1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6138, "upload_time": "2017-05-25T15:39:44", "url": "https://files.pythonhosted.org/packages/6a/fe/a0568e362f9862b60dfe095531d737f05ae070d7af8030d7c63575497050/graphitty-0.0.2.tar.gz" } ] }