{ "info": { "author": "Eficent, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python" ], "description": ".. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg\n :alt: License LGPL-3\n\n======================\nWeb Widget Bokeh Chart\n======================\n\nThis module add the posibility to insert Bokeh charts into Odoo standard views.\n\n.. image:: /web_widget_bokeh_chart/static/description/example.png\n :alt: Bokeh Chart inserted into an Odoo view\n :width: 600 px\n\n`Bokeh `_ is a Python interactive visualization\nlibrary that targets modern web browsers for presentation. Its goal is to\nprovide elegant, concise construction of basic exploratory and advanced\ncustom graphics in the style of D3.js, but also deliver this capability with\nhigh-performance interactivity over very large or streaming datasets. Bokeh\ncan help anyone who would like to quickly and easily create interactive\nplots, dashboards, and data applications.\n\nIf you want to see some samples of bokeh's capabilities follow this `link\n`_.\n\nInstallation\n============\n\nYou need to install the python bokeh library::\n\n pip install bokeh==0.12.7\n\nUsage\n=====\n\nTo insert a Bokeh chart in a view proceed as follows:\n\n#. Declare a text computed field like this::\n\n bokeh_chart = fields.Text(\n string='Bokeh Chart',\n compute=_compute_bokeh_chart)\n\n#. In its computed method do::\n\n def _compute_bokeh_chart(self):\n for rec in self:\n # Design your bokeh figure:\n p = figure()\n line = p.line([0, 2], [1, 8], line_width=5)\n # (...)\n # Get the html components and convert them to string into the field.\n script, div = components(p)\n rec.bokeh_chart = '%s%s' % (div, script)\n\n#. In the view, add something like this wherever you want to display your\n bokeh chart::\n\n
\n \n
\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues `_.\nIn case of trouble, please check there if your issue has already been\nreported. If you spotted it first, help us smash it by providing detailed and\nwelcomed feedback.\n\nCredits\n=======\n\n* This module uses the library `Bokeh `_\n which is under the open-source BSD 3-clause \"New\" or \"Revised\" License.\n Copyright (c) 2012, Anaconda, Inc.\n* Odoo Community Association (OCA)\n\nContributors\n------------\n\n* Jordi Ballester Alomar \n* Lois Rilo Antelo \n\nMaintainer\n----------\n\n.. image:: http://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: http://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nTo contribute to this module, please visit http://odoo-community.org.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/OCA/web", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo10-addon-web-widget-bokeh-chart", "package_url": "https://pypi.org/project/odoo10-addon-web-widget-bokeh-chart/", "platform": "", "project_url": "https://pypi.org/project/odoo10-addon-web-widget-bokeh-chart/", "project_urls": { "Homepage": "https://github.com/OCA/web" }, "release_url": "https://pypi.org/project/odoo10-addon-web-widget-bokeh-chart/10.0.1.0.0/", "requires_dist": [ "bokeh", "odoo (<10.1dev,>=10.0)" ], "requires_python": "~=2.7", "summary": "This widget allows to display charts using Bokeh library.", "version": "10.0.1.0.0" }, "last_serial": 3994475, "releases": { "10.0.1.0.0": [ { "comment_text": "", "digests": { "md5": "549eb285ba30063194da0e4293c8bc7e", "sha256": "c95d712c441c952aafabb0f1186c61ecbb20b5d9a68f3ca6b093961a03cb8013" }, "downloads": -1, "filename": "odoo10_addon_web_widget_bokeh_chart-10.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "549eb285ba30063194da0e4293c8bc7e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 500221, "upload_time": "2018-01-19T05:30:18", "url": "https://files.pythonhosted.org/packages/0e/19/0300918378f356aa24104561a05955d8eb695a508fd4e38d4d998f450e1b/odoo10_addon_web_widget_bokeh_chart-10.0.1.0.0-py2-none-any.whl" } ], "10.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "876952b45234c425b4569f753a42dfde", "sha256": "bc841740b56d0856480d66492c70b3dc54d801b14e076eb17e146ebe00b9bfc2" }, "downloads": -1, "filename": "odoo10_addon_web_widget_bokeh_chart-10.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "876952b45234c425b4569f753a42dfde", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 500369, "upload_time": "2018-02-08T05:30:14", "url": "https://files.pythonhosted.org/packages/75/ea/ac8c3caf724bdf851f612e5ba9c885442a934ad0ab7b91f59b9f07d64b94/odoo10_addon_web_widget_bokeh_chart-10.0.1.0.0.99.dev1-py2-none-any.whl" } ], "10.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "59b7a9fb9ef6b062c7ef10510750571e", "sha256": "7884be6130e3a3bc426312ac806180e8fe461445629ef199f5f3c04e297f3060" }, "downloads": -1, "filename": "odoo10_addon_web_widget_bokeh_chart-10.0.1.0.0.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "59b7a9fb9ef6b062c7ef10510750571e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 500851, "upload_time": "2018-06-24T04:39:10", "url": "https://files.pythonhosted.org/packages/0c/a7/ee5fc66c4cbcf769516996fe24a68ffdcda7d79f17673ccece8df5583134/odoo10_addon_web_widget_bokeh_chart-10.0.1.0.0.99.dev2-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "549eb285ba30063194da0e4293c8bc7e", "sha256": "c95d712c441c952aafabb0f1186c61ecbb20b5d9a68f3ca6b093961a03cb8013" }, "downloads": -1, "filename": "odoo10_addon_web_widget_bokeh_chart-10.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "549eb285ba30063194da0e4293c8bc7e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 500221, "upload_time": "2018-01-19T05:30:18", "url": "https://files.pythonhosted.org/packages/0e/19/0300918378f356aa24104561a05955d8eb695a508fd4e38d4d998f450e1b/odoo10_addon_web_widget_bokeh_chart-10.0.1.0.0-py2-none-any.whl" } ] }