{ "info": { "author": "Jake VanderPlas", "author_email": "jakevdp@google.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Altair data server\n\n[![build status](http://img.shields.io/travis/altair-viz/altair_data_server/master.svg?style=flat)](https://travis-ci.org/altair-viz/altair_data_server)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/altair-viz/altair_data_server/master?urlpath=lab/tree/AltairDataServer.ipynb)\n[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/altair-viz/altair_data_server/blob/master/AltairDataServer.ipynb)\n\n\nThis is a data transformer plugin for [Altair](http://altair-viz.github.io)\nthat transparently serves data for Altair charts via a background WSGI server.\n\nNote that charts will only render as long as your Python session is active.\n\nThe data server is a good option when you'll be **generating multiple charts as\npart of an exploration of data**.\n\n## Usage\n\nFirst install the package and its dependencies:\n\n```\n$ pip install altair_data_server\n```\n\nNext import altair and enable the data server:\n\n```python\nimport altair as alt\nalt.data_transformers.enable('data_server')\n```\nNow when you create an Altair chart, the data will be served in the background\nrather than embedded in the chart specification.\n\nOnce you are finished with exploration and want to generate charts that\nwill have their data fully embedded in the notebook, you can restore the\ndefault data transformer:\n\n```python\nalt.data_transformers.enable('default')\n```\n\nand carry on from there.\n\n## Remote Systems\nRemote systems (JupyterHub instances like Binder) usually do not allow the end\nuser to access arbitrary ports. To enable users to work on that setup, make sure\n[jupyter-server-proxy](https://github.com/jupyterhub/jupyter-server-proxy) is\ninstalled on the jupyter server. In your notebook, use the following\ntransformer:\n\n```python\nalt.data_transformers.enable('data_server_proxied')\n```\n\n## Example\n\n[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/altair-viz/altair_data_server/blob/master/AltairDataServer.ipynb)\n\nYou can see this in action, as well as read some of the motivation for this\nplugin, in the example notebook: [AltairDataServer.ipynb](AltairDataServer.ipynb).\nClick the \"Open in Colab\" link above to run a live version of the notebook.\n\n## Known Issues\n\nBecause [jupyter-server-proxy](https://github.com/jupyterhub/jupyter-server-proxy)\nrequires at least Python 3.5, the methods described in\n[Remote Systems](#remote-systems) do not work.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "http://github.com/altair-viz/altair_data_server/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/altair-viz/altair_data_server/", "keywords": "", "license": "BSD 3-clause", "maintainer": "", "maintainer_email": "", "name": "altair-data-server", "package_url": "https://pypi.org/project/altair-data-server/", "platform": "", "project_url": "https://pypi.org/project/altair-data-server/", "project_urls": { "Download": "http://github.com/altair-viz/altair_data_server/", "Homepage": "http://github.com/altair-viz/altair_data_server/" }, "release_url": "https://pypi.org/project/altair-data-server/0.2.0/", "requires_dist": [ "altair", "portpicker", "tornado" ], "requires_python": "", "summary": "A background data server for Altair charts.", "version": "0.2.0" }, "last_serial": 5546707, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "95f4c6d295e1230b99474c793dfca74e", "sha256": "16d47083a6e15a39306b35257ad80ac3ab95da659f8c6a4f59f97cf6b5da00fd" }, "downloads": -1, "filename": "altair_data_server-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "95f4c6d295e1230b99474c793dfca74e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10054, "upload_time": "2019-02-21T17:09:59", "url": "https://files.pythonhosted.org/packages/be/5b/4dd8c1590a1eb4131233def2952d9c75cdf5bbf7a7293c0376e4ce8b4e0b/altair_data_server-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3a5475b87c44dc511e58da76fa11db00", "sha256": "737f3b64c7c1abf5ddde5059b29c49fb96530cea894bf15b8e8984717fb653f5" }, "downloads": -1, "filename": "altair_data_server-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3a5475b87c44dc511e58da76fa11db00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9049, "upload_time": "2019-02-21T17:10:02", "url": "https://files.pythonhosted.org/packages/e4/40/7fe082fc10e79a394bf5b14d0ef1a3692e771aa3791308e4a94ddaf12b91/altair_data_server-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "570174a91ff04b0b76362f1fa9f5eb45", "sha256": "bff61d25bcfb20a142b02a7d8e523d28e9a47a698a4269fd7d9f59d35c5116ed" }, "downloads": -1, "filename": "altair_data_server-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "570174a91ff04b0b76362f1fa9f5eb45", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10563, "upload_time": "2019-07-17T16:19:30", "url": "https://files.pythonhosted.org/packages/52/e2/4fe126dbc775dbb8f15ff628a1290b6b188387219fe4edacf67ab32e68f7/altair_data_server-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7a0bc94e69df9ed54a0256230352f93", "sha256": "eaa25bf76ac80f67420b92b10919d142615b7812a7feea0e010d436185d358fb" }, "downloads": -1, "filename": "altair_data_server-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e7a0bc94e69df9ed54a0256230352f93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9554, "upload_time": "2019-07-17T16:19:32", "url": "https://files.pythonhosted.org/packages/f5/0e/d2af9934bbcef6321d8e9570e3fd7776458f0c89ee724c710d98140db2c3/altair_data_server-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "570174a91ff04b0b76362f1fa9f5eb45", "sha256": "bff61d25bcfb20a142b02a7d8e523d28e9a47a698a4269fd7d9f59d35c5116ed" }, "downloads": -1, "filename": "altair_data_server-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "570174a91ff04b0b76362f1fa9f5eb45", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10563, "upload_time": "2019-07-17T16:19:30", "url": "https://files.pythonhosted.org/packages/52/e2/4fe126dbc775dbb8f15ff628a1290b6b188387219fe4edacf67ab32e68f7/altair_data_server-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7a0bc94e69df9ed54a0256230352f93", "sha256": "eaa25bf76ac80f67420b92b10919d142615b7812a7feea0e010d436185d358fb" }, "downloads": -1, "filename": "altair_data_server-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e7a0bc94e69df9ed54a0256230352f93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9554, "upload_time": "2019-07-17T16:19:32", "url": "https://files.pythonhosted.org/packages/f5/0e/d2af9934bbcef6321d8e9570e3fd7776458f0c89ee724c710d98140db2c3/altair_data_server-0.2.0.tar.gz" } ] }