{ "info": { "author": "Michael Shafir", "author_email": "michael.shafir@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: IPython", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "# vislib\nA library of web-based visualizations for python and ipython\n\n## Set Up / Usage\n\n```\npip install vislib\n```\n\n*vislib* is set up to optionally be used within an ipython interactive environment.\nIf used outside of ipython, it will generate html files and open\nthe default browser with the created visualizations.\n\n## Visualizations\n\n### vis.js timeline\n\nA library for rich interactive timelines.\nRenders a vis.js timeline component. See http://visjs.org/docs/timeline/\n\n```python\nfrom vislib.visjs import timeline\ntimeline([{'text': 'first item', 'start': '2018-05-21 17:30:08.202'},\n {'text': 'second item', 'start': \"2018-05-21 17:31:53.712\"},\n {'text': 'third item', 'start': \"2018-05-21 18:14:05.843\"}], content_field='text', title='example1')\n```\n\n### Taucharts\n\nA d3 based charting library that elegantly mixes power and simplicity.\nRenders a basic taucharts chart with the given data. See https://www.taucharts.com/\n\n```python\nfrom vislib.taucharts import chart\nchart([{'item': 'car', 'amount': 1},\n {'item': 'book', 'amount': 10},\n {'item': 'bed', 'amount': 3}], x='item', y='amount', title='Taucharts example')\n```\n\n### Treant\n\nRenders a Treant.js tree. See http://fperucic.github.io/treant-js/\n\n```python\nfrom vislib.treant import tree\ntree({\n 'text': { 'name': \"Parent node\" },\n 'children': [{\n 'text': { 'name': \"First child\" }\n },{\n 'text': { 'name': \"Second child\" }\n }]\n })\n```\n\n## Development\n\n### Generate Documentation\n\n```\n cd docs\n rm -rf _build\n make html\n```\n\n### Publish\n```\nrm -rf dist\npython setup.py sdist bdist_wheel\ntwine upload dist/*\n```\n\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/mshafir/vislib", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "vislib", "package_url": "https://pypi.org/project/vislib/", "platform": "", "project_url": "https://pypi.org/project/vislib/", "project_urls": { "Homepage": "https://github.com/mshafir/vislib" }, "release_url": "https://pypi.org/project/vislib/0.2/", "requires_dist": [ "ipython", "Jinja2" ], "requires_python": "", "summary": "Reusable html-based python visualization library", "version": "0.2" }, "last_serial": 3940522, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2d6f7725d9087c56c85ed6d6abe4c2be", "sha256": "1cce9c348c298863c792942083a78b9108b91dcda53887aa70025862e8a1bd85" }, "downloads": -1, "filename": "vislib-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "2d6f7725d9087c56c85ed6d6abe4c2be", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 1388, "upload_time": "2018-05-22T23:50:55", "url": "https://files.pythonhosted.org/packages/f9/ac/6db1ffa58c66c4f36f4e3828eaca6052982ae5e4c58de23838324c3d24cc/vislib-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d462072778c25d8103c5a1de9774c3ac", "sha256": "4848515e57af45c5c1aeb2afb6e6d6b75c351fad976fef14984885bd3002ccd9" }, "downloads": -1, "filename": "vislib-0.1.tar.gz", "has_sig": false, "md5_digest": "d462072778c25d8103c5a1de9774c3ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1197, "upload_time": "2018-05-22T23:50:56", "url": "https://files.pythonhosted.org/packages/50/a5/a7e26553752b878ed76a4bb598d6b5ac02c21202ab793faf4be3f8cac3f0/vislib-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "e271081d4094ce4af8d6fc33c1513604", "sha256": "1f6386da4eaddf2e55a91018a6002a2d8034c75cf23c02495c27199a47f109d8" }, "downloads": -1, "filename": "vislib-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "e271081d4094ce4af8d6fc33c1513604", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6040, "upload_time": "2018-06-07T17:36:40", "url": "https://files.pythonhosted.org/packages/8f/66/4307bc6290bd5b273df9ad4fbfc560fe600b8ccb33e034b8cf693d4f82f7/vislib-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7bdecc1fba7c35989e82f300ae89b747", "sha256": "2cdd80e7ea2626c2521377954dde36c5b1436bddb34c5403df6a9cb206920774" }, "downloads": -1, "filename": "vislib-0.2.tar.gz", "has_sig": false, "md5_digest": "7bdecc1fba7c35989e82f300ae89b747", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4424, "upload_time": "2018-06-07T17:36:41", "url": "https://files.pythonhosted.org/packages/26/9b/329851b9c019b99396c40598a1843a63050ad85ba7dca1bd578fc6244002/vislib-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e271081d4094ce4af8d6fc33c1513604", "sha256": "1f6386da4eaddf2e55a91018a6002a2d8034c75cf23c02495c27199a47f109d8" }, "downloads": -1, "filename": "vislib-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "e271081d4094ce4af8d6fc33c1513604", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6040, "upload_time": "2018-06-07T17:36:40", "url": "https://files.pythonhosted.org/packages/8f/66/4307bc6290bd5b273df9ad4fbfc560fe600b8ccb33e034b8cf693d4f82f7/vislib-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7bdecc1fba7c35989e82f300ae89b747", "sha256": "2cdd80e7ea2626c2521377954dde36c5b1436bddb34c5403df6a9cb206920774" }, "downloads": -1, "filename": "vislib-0.2.tar.gz", "has_sig": false, "md5_digest": "7bdecc1fba7c35989e82f300ae89b747", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4424, "upload_time": "2018-06-07T17:36:41", "url": "https://files.pythonhosted.org/packages/26/9b/329851b9c019b99396c40598a1843a63050ad85ba7dca1bd578fc6244002/vislib-0.2.tar.gz" } ] }