{ "info": { "author": "David Bothe", "author_email": "davbothe@googlemail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Visualization", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "![pive Logo](/artwork/pive_logo_optimized_100x100.png)\n\n\nPython Interactive Visualization Environment\n=====\n\npython-ive\n[\u02c8pai\u03b8\u0259n-\u02c8aivi]\n\n(alternative titles: *p-ive* or preferably **pive**)\n\ncurrent version: 0.3.3\n\nWhat is pive?\n\nPive is a template based visualization tool utilizing D3.js to create interactive visualizations on the fly. It is aimed\nat users who want to enhance their web applications with dynamic D3.js visualizations without diving deep into the\ncoding of D3.js.\n\nInstall pive:\n\nClone this repository:\n```\ngit clone https://github.com/daboth/pive.git\n```\nand install manually:\n```\npython setup.py install\n```\nor install with pip:\n```\npip install pive\n```\n\nYou may need to add ```sudo``` before executing each command.\nNow write a simple script to render a chart:\n\n```python\n\n #!/usr/bin/env python\n import pive.environment as environment\n import pive.inputmanager as inputmanager\n\n\t# Assuming you have a testdata.json file with some datapoints\n\t# in the same directory. Try to create JSON-Objekts as Key/Value\n\t# pairs or use a JSON formatted String Object. CSV is also\n\t# supported.\n\tinput_path = 'samples/numerical.json'\n\n\t###########################\n\t### Basic usage of pive ###\n\t###########################\n\t# 1)Set up the environment by creating the input manager and\n\t# passing it to an environment. Optionally, you can omit\n\t# an output path. Default is 'output/'.\n\tmanager = inputmanager.InputManager(mergedata=False)\n\tenv = environment.Environment(inputmanager=manager)\n\n\t# 2) Load your dataset into the environment to get a\n\t# list of supported visualizations.\n\tsupported = env.load(input_path)\n\n\t# 3) Check if your desired chart is in the list and choose\n\t# it as your visualization object. Alternatively you can\n\t# print out the list of the supported charts and choose directly\n\t# from it. The accessors, e.g. CHART_LINE, are environment\n\t# constants and represent the charts included in pive.\n\tif environment.CHART_LINE in supported:\n\t chart = env.choose(CHART_LINE)\n\n #You can now edit the charts properties.\n\t chart.set_width(900)\n\t chart.set_height(500)\n\n # 4.1) Let the environment render the chart.\n # The visualizuation files will be generated\n # in the output path defined in the environment.\n env.render(chart)\n\n # 4.2) Optionally you can receive the\n # javascript code and its dataset as json.\n code = env.render_code(chart)\n```", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/daboth/pive/tarball/0.3.3", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/daboth/pive", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "pive", "package_url": "https://pypi.org/project/pive/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pive/", "project_urls": { "Download": "https://github.com/daboth/pive/tarball/0.3.3", "Homepage": "https://github.com/daboth/pive" }, "release_url": "https://pypi.org/project/pive/0.3.3/", "requires_dist": null, "requires_python": null, "summary": "Interactive visualization tool", "version": "0.3.3" }, "last_serial": 1812913, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "265e645eddd154d05cf2f605663c03cc", "sha256": "d6ee04b1e33d5335bc16e26fed20aa3c2f03d9f24e63122b53627f744820b721" }, "downloads": -1, "filename": "pive-0.2.1.tar.gz", "has_sig": false, "md5_digest": "265e645eddd154d05cf2f605663c03cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35560, "upload_time": "2014-09-18T08:16:47", "url": "https://files.pythonhosted.org/packages/f6/57/6cc91807dd45080742e32f0ea342d7f338bc62ac97984c9e1a180e63d6b7/pive-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "b964e771b47f20644decc8356338f8c0", "sha256": "cd249ec4b237f478f736cafdd65256baa8c8f92ebf097cf351440a26ab0237c4" }, "downloads": -1, "filename": "pive-0.2.2.tar.gz", "has_sig": false, "md5_digest": "b964e771b47f20644decc8356338f8c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30731, "upload_time": "2014-10-15T07:24:18", "url": "https://files.pythonhosted.org/packages/1d/91/4effd7df62d9877de8ddb0ed945d489ad730441a859de84f4ebc2c2eec1f/pive-0.2.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "11427c7c1487c00271e15de92f954322", "sha256": "55f92bf30e60adefb8fbfee2ae456ccd436dea1a49c021d65cd67abebdfc67cb" }, "downloads": -1, "filename": "pive-0.3.3.tar.gz", "has_sig": false, "md5_digest": "11427c7c1487c00271e15de92f954322", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28656, "upload_time": "2015-11-12T13:00:28", "url": "https://files.pythonhosted.org/packages/33/a0/0132de2dbd9e6281b48da42d7c93f1c56ed1ce668484be24a3d4b56f8528/pive-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "11427c7c1487c00271e15de92f954322", "sha256": "55f92bf30e60adefb8fbfee2ae456ccd436dea1a49c021d65cd67abebdfc67cb" }, "downloads": -1, "filename": "pive-0.3.3.tar.gz", "has_sig": false, "md5_digest": "11427c7c1487c00271e15de92f954322", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28656, "upload_time": "2015-11-12T13:00:28", "url": "https://files.pythonhosted.org/packages/33/a0/0132de2dbd9e6281b48da42d7c93f1c56ed1ce668484be24a3d4b56f8528/pive-0.3.3.tar.gz" } ] }