{ "info": { "author": "Samuel Gratzl", "author_email": "samuel-gratzl@gmx.at", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Jupyter", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Multimedia :: Graphics" ], "description": "LineUp.js as Jupyter Widget\n============================\n\n[![License: MIT][mit-image]][mit-url] [![CircleCI][ci-image]][ci-url] [![CircleCI][ci-image-dev]][ci-url-dev] \n\nLineUp is an interactive technique designed to create, visualize and explore rankings of items based on a set of heterogeneous attributes. \nThis is a [Jupyter Widget](https://jupyter.org/widgets.html) wrapper around the JavaScript library [LineUp.js](https://github.com/datavisyn/lineupjs). Details about the LineUp visualization technique can be found at [http://lineup.caleydo.org](http://lineup.caleydo.org). \n\nInstallation\n------------\n\n1. install Jupyter Widgets\n ```bash\n pip install ipywidgets\n jupyter nbextension enable --py widgetsnbextension\n ```\n\n1. install library\n ```bash\n pip install lineup_widget\n jupyter nbextension enable --py --sys-prefix lineup_widget\n ```\n\n1. OR directly via repository (requires node and npm to be installed):\n ```bash\n pip install -e git+https://github.com/datavisyn/lineup_widget.git#egg=lineup_widget\n jupyter nbextension enable --py --sys-prefix lineup_widget\n ```\n\n1. Jupyterlab\n ```bash\n jupyter labextension install @jupyter-widgets/jupyterlab-manager\n jupyter labextension install lineup_widget\n ```\n\nExamples\n--------\n\n[![Launch Binder][binder-image]][binder-url]\n\n```python\nimport lineup_widget\nimport pandas as pd\nimport numpy as np\n\ndf = pd.DataFrame(np.random.randint(0,100,size=(100, 4)), columns=list('ABCD'))\n\nw = lineup_widget.LineUpWidget(df)\nw.on_selection_changed(lambda selection: print(selection))\nw\n```\n\n![simple usage](https://user-images.githubusercontent.com/4129778/35321859-7925d3a6-00e8-11e8-9884-bcbc76ae51c9.png)\n\n```python\nfrom __future__ import print_function\nfrom ipywidgets import interact, interactive, interact_manual\n\ndef selection_changed(selection):\n return df.iloc[selection]\n\ninteract(selection_changed, selection=lineup_widget.LineUpWidget(df));\n```\n\n![interact example](https://user-images.githubusercontent.com/4129778/35321846-6c5b07cc-00e8-11e8-9388-0acb65cbb509.png)\n\n**Hint**: \n\nIn case you see scrollbars in each cell it is because of the font the cells are too narrow, you can specify a larger row height using\n```python\nw = lineup_widget.LineUpWidget(df, options=dict(rowHeight=20))\n```\n\nRelease Package\n---------------\n\n1. JavaScript NPM\n ```bash\n cd js\n npm install\n npm publish\n ```\n\n1. Python PyPi\n ```bash\n pip install -U twine setuptools\n\n python setup.py clean sdist bdist_wheel\n twine upload dist/*\n ```\n\n1. Git \n ```bash\n git tag v\n git push --follow-tags\n ```\n\n1. update versions\n edit the version in\n * `js/package.json`\n * `js/lib/version.ts`\n * `lineup_widget/_version.py`\n\n\nAuthors\n-------\n\n * Samuel Gratzl (@sgratzl)\n\n\n[mit-image]: https://img.shields.io/badge/License-MIT-yellow.svg\n[mit-url]: https://opensource.org/licenses/MIT\n[binder-image]: https://camo.githubusercontent.com/70c5b4d050d4019f4f20b170d75679a9316ac5e5/687474703a2f2f6d7962696e6465722e6f72672f62616467652e737667\n[binder-url]: http://mybinder.org/repo/datavisyn/lineup_widget/examples\n[ci-image]: https://circleci.com/gh/datavisyn/lineup_widget.svg?style=shield\n[ci-url]: https://circleci.com/gh/datavisyn/lineup_widget\n[ci-image-dev]: https://circleci.com/gh/datavisyn/lineup_widget/tree/develop.svg?style=shield\n[ci-url-dev]: https://circleci.com/gh/datavisyn/lineup_widget/tree/develop\n\n\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/datavisyn/lineup_widget", "keywords": "ipython,jupyter,widgets,lineup,ranking", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lineup-widget", "package_url": "https://pypi.org/project/lineup-widget/", "platform": "Linux", "project_url": "https://pypi.org/project/lineup-widget/", "project_urls": { "Homepage": "https://github.com/datavisyn/lineup_widget" }, "release_url": "https://pypi.org/project/lineup-widget/1.0.7/", "requires_dist": [ "ipywidgets (>=7.0.0)", "pandas (>=0.18.0)" ], "requires_python": "", "summary": "Wrapper around the LineUp.js library for multi attribute rankings", "version": "1.0.7" }, "last_serial": 4467274, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "748f465f18d79987753c27ac38def363", "sha256": "4c0b8403867ac851b608772bdcd5839ad8922380ebd5f1be72fe04b94cf6a9ff" }, "downloads": -1, "filename": "lineup_widget-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "748f465f18d79987753c27ac38def363", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1184490, "upload_time": "2018-08-15T16:18:23", "url": "https://files.pythonhosted.org/packages/1b/ea/e17f92086ee7617ae0b64c31809920e5485674e21d86449aa9fd0504c361/lineup_widget-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec422a4bae43e0085fa3ca75a6fb99fc", "sha256": "392571b3ab7d90235d5178ae42ad5d4f3d5fb76224a3f4bb23cb4d7cd9cf31e3" }, "downloads": -1, "filename": "lineup_widget-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ec422a4bae43e0085fa3ca75a6fb99fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 575099, "upload_time": "2018-08-15T16:18:26", "url": "https://files.pythonhosted.org/packages/48/f5/3e8f5cd08b4677154abbd00cb6a518eafc965640f270ad917bc69c9717d4/lineup_widget-1.0.0.tar.gz" } ], "1.0.0a0": [ { "comment_text": "", "digests": { "md5": "a921c3e147a6032f0e5543ebebaef4a7", "sha256": "1aeb4f216605ec3d76aa27bbe71d4c99e3d4a95d14be887eb554d7cbc2443dfb" }, "downloads": -1, "filename": "lineup_widget-1.0.0a0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a921c3e147a6032f0e5543ebebaef4a7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1184542, "upload_time": "2018-08-15T16:14:50", "url": "https://files.pythonhosted.org/packages/bb/e7/9f67d69100623ddf920aaa01b3d3e2517a66f1063e62e86862897913c4ed/lineup_widget-1.0.0a0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c29c37b0620196ada4863f330c3c73e8", "sha256": "6c75fef3fb2ecfc4632c4f4fc847b4c078097b3162ead5d93643d52a4e26c7a1" }, "downloads": -1, "filename": "lineup_widget-1.0.0a0.tar.gz", "has_sig": false, "md5_digest": "c29c37b0620196ada4863f330c3c73e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 575095, "upload_time": "2018-08-15T16:14:52", "url": "https://files.pythonhosted.org/packages/fc/ce/3063e48de19e659801d888a75e20bada3421aed33daf1c949fb43e4cab55/lineup_widget-1.0.0a0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "8f0696a310615cbc5648f4ebe3acf515", "sha256": "b4ec65b0a489e3d8ef5eedc74e70a85482a9facce5048bc969571f9c2e1819eb" }, "downloads": -1, "filename": "lineup_widget-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8f0696a310615cbc5648f4ebe3acf515", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1185694, "upload_time": "2018-08-15T17:04:48", "url": "https://files.pythonhosted.org/packages/41/96/206331cb1703e550cbe42cd2fa075894304d86c5c8e7f874bead2a206c90/lineup_widget-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "24f7c2f797c5414c9836c9d18e9d92f1", "sha256": "69a791559cc787a7ec79d4dee8bc554ecefe2193edf5f27556f0d2870a9d6f96" }, "downloads": -1, "filename": "lineup_widget-1.0.1.tar.gz", "has_sig": false, "md5_digest": "24f7c2f797c5414c9836c9d18e9d92f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 575606, "upload_time": "2018-08-15T17:04:50", "url": "https://files.pythonhosted.org/packages/f7/55/d611c7ffedeb9c7c6852fa64662b8cc67b5e2cadaf514490dd445bbb66c5/lineup_widget-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "255afb4b5abad7ed8e9abb0a8d2ad226", "sha256": "09245a06c58bb9cb6d61e6cb3796c86826002477e100457e1c401fc1bbad0bd6" }, "downloads": -1, "filename": "lineup_widget-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "255afb4b5abad7ed8e9abb0a8d2ad226", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1185854, "upload_time": "2018-08-15T18:02:50", "url": "https://files.pythonhosted.org/packages/ad/c2/fd9d00dae4c989ccb9ccd11ee771fa38e9ee139a977d532005f8b2e2fbaa/lineup_widget-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "81c3a8b1d7fa17ed3065d5d8a7d0ee7e", "sha256": "794209209ca2c788349e442dd1bb5f33d3e467dcc4d4230620ae1a450b27fe95" }, "downloads": -1, "filename": "lineup_widget-1.0.2.tar.gz", "has_sig": false, "md5_digest": "81c3a8b1d7fa17ed3065d5d8a7d0ee7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 575839, "upload_time": "2018-08-15T18:02:53", "url": "https://files.pythonhosted.org/packages/c5/2b/465808e8ddc90c59c4daa07613b9349e75661557466799046f6ce885d3fc/lineup_widget-1.0.2.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "e5e567cfb6ff5c9fdc696021caf47313", "sha256": "2f64f9de3b2fca6b9ee30742c82b8fc6f995dd23c342f7ad4ce7810cf4ec24d7" }, "downloads": -1, "filename": "lineup_widget-1.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e5e567cfb6ff5c9fdc696021caf47313", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1163289, "upload_time": "2018-11-08T22:04:39", "url": "https://files.pythonhosted.org/packages/ae/c0/b51cd89860182a483b06ce608ddc022e4af2e0c9a4085edf6a5282f4f298/lineup_widget-1.0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a663b1e3d03b5d6a0678626c772036a0", "sha256": "ec22498a8e66718a828acb72ad6d35acafd2aeb474a775b56182ef66cfabdf65" }, "downloads": -1, "filename": "lineup_widget-1.0.7.tar.gz", "has_sig": false, "md5_digest": "a663b1e3d03b5d6a0678626c772036a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 564969, "upload_time": "2018-11-08T22:04:41", "url": "https://files.pythonhosted.org/packages/39/ee/fc14f336967b311aac55a28fcce77f307610fc229cf98874a1d125d92bef/lineup_widget-1.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e5e567cfb6ff5c9fdc696021caf47313", "sha256": "2f64f9de3b2fca6b9ee30742c82b8fc6f995dd23c342f7ad4ce7810cf4ec24d7" }, "downloads": -1, "filename": "lineup_widget-1.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e5e567cfb6ff5c9fdc696021caf47313", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1163289, "upload_time": "2018-11-08T22:04:39", "url": "https://files.pythonhosted.org/packages/ae/c0/b51cd89860182a483b06ce608ddc022e4af2e0c9a4085edf6a5282f4f298/lineup_widget-1.0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a663b1e3d03b5d6a0678626c772036a0", "sha256": "ec22498a8e66718a828acb72ad6d35acafd2aeb474a775b56182ef66cfabdf65" }, "downloads": -1, "filename": "lineup_widget-1.0.7.tar.gz", "has_sig": false, "md5_digest": "a663b1e3d03b5d6a0678626c772036a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 564969, "upload_time": "2018-11-08T22:04:41", "url": "https://files.pythonhosted.org/packages/39/ee/fc14f336967b311aac55a28fcce77f307610fc229cf98874a1d125d92bef/lineup_widget-1.0.7.tar.gz" } ] }