{ "info": { "author": "Eficent, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python" ], "description": "======================\nWeb Widget Bokeh Chart\n======================\n\n.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n :target: https://odoo-community.org/page/development-status\n :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png\n :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html\n :alt: License: LGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github\n :target: https://github.com/OCA/web/tree/12.0/web_widget_bokeh_chart\n :alt: OCA/web\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n :target: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_bokeh_chart\n :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png\n :target: https://runbot.odoo-community.org/runbot/162/12.0\n :alt: Try me on Runbot\n\n|badge1| |badge2| |badge3| |badge4| |badge5| \n\nThis module add the possibility to insert Bokeh charts into Odoo standard views.\n\n.. image:: https://raw.githubusercontent.com/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\n**Table of contents**\n\n.. contents::\n :local:\n\nInstallation\n============\n\nYou need to install the python bokeh library::\n\n pip3 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\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() # import that as `from bokeh.plotting import figure`\n line = p.line([0, 2], [1, 8], line_width=5)\n # (...)\n # fill the record field with both markup and the script of a chart.\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 reported.\nIf you spotted it first, help us smashing it by providing a detailed and welcomed\n`feedback `_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* Eficent\n\nContributors\n~~~~~~~~~~~~\n\n* Jordi Ballester Alomar \n* Lois Rilo Antelo \n* Artem Kostyuk \n\nOther credits\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\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\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\nThis module is part of the `OCA/web `_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/OCA/web", "keywords": "", "license": "LGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo12-addon-web-widget-bokeh-chart", "package_url": "https://pypi.org/project/odoo12-addon-web-widget-bokeh-chart/", "platform": "", "project_url": "https://pypi.org/project/odoo12-addon-web-widget-bokeh-chart/", "project_urls": { "Homepage": "https://github.com/OCA/web" }, "release_url": "https://pypi.org/project/odoo12-addon-web-widget-bokeh-chart/12.0.1.0.1/", "requires_dist": [ "bokeh", "odoo (<12.1dev,>=12.0a)" ], "requires_python": ">=3.5", "summary": "This widget allows to display charts using Bokeh library.", "version": "12.0.1.0.1" }, "last_serial": 5916025, "releases": { "12.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "e5643b38cec4bb5c2570d1d2e327be47", "sha256": "9e03e2a9d8829561e773a901413d5f99ce5c117800f5507d402aee04d635a504" }, "downloads": -1, "filename": "odoo12_addon_web_widget_bokeh_chart-12.0.1.0.0.99.dev3-py3-none-any.whl", "has_sig": false, "md5_digest": "e5643b38cec4bb5c2570d1d2e327be47", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 537542, "upload_time": "2019-08-02T04:45:20", "url": "https://files.pythonhosted.org/packages/4a/53/8148f82f66ec51c74d8b2ea01fe8995ebfd2e0d5546d2757740f6983cc25/odoo12_addon_web_widget_bokeh_chart-12.0.1.0.0.99.dev3-py3-none-any.whl" } ], "12.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "a3a129c5b552ae39d99d3fde08ced8da", "sha256": "54c63dd4484819b53a95c4fb769bb34adefaba0dbd978cbe6a33b65f53212780" }, "downloads": -1, "filename": "odoo12_addon_web_widget_bokeh_chart-12.0.1.0.0.99.dev4-py3-none-any.whl", "has_sig": false, "md5_digest": "a3a129c5b552ae39d99d3fde08ced8da", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 538024, "upload_time": "2019-09-03T04:47:48", "url": "https://files.pythonhosted.org/packages/f5/df/aa77dff3d6698e7b63c0e4c0cc3d4f668a082e753f27d997d7ff211f247e/odoo12_addon_web_widget_bokeh_chart-12.0.1.0.0.99.dev4-py3-none-any.whl" } ], "12.0.1.0.1": [ { "comment_text": "", "digests": { "md5": "37959406408b1a6640473d82886dded0", "sha256": "69dc3df1c389489e6aa62e3bc4c193eaeab7896d4f7eacf20942a58081c1e525" }, "downloads": -1, "filename": "odoo12_addon_web_widget_bokeh_chart-12.0.1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "37959406408b1a6640473d82886dded0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 537947, "upload_time": "2019-09-24T04:46:49", "url": "https://files.pythonhosted.org/packages/65/fc/d9adea2bfeef32257b3146f5e86072af0599488a347dbda67d8e6546256b/odoo12_addon_web_widget_bokeh_chart-12.0.1.0.1-py3-none-any.whl" } ], "12.0.1.0.1.99.dev1": [ { "comment_text": "", "digests": { "md5": "ba096901e3fba1497db8ca174aeccbb3", "sha256": "56a107f81a2b6da67d263e750e1557be17de4b28620e2a93e03d8e645344d1e7" }, "downloads": -1, "filename": "odoo12_addon_web_widget_bokeh_chart-12.0.1.0.1.99.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "ba096901e3fba1497db8ca174aeccbb3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 538278, "upload_time": "2019-10-02T04:47:25", "url": "https://files.pythonhosted.org/packages/ab/07/47acd213e00d85f886f93ac56c781d364e0fc1eded729c848d5283f99cf2/odoo12_addon_web_widget_bokeh_chart-12.0.1.0.1.99.dev1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "37959406408b1a6640473d82886dded0", "sha256": "69dc3df1c389489e6aa62e3bc4c193eaeab7896d4f7eacf20942a58081c1e525" }, "downloads": -1, "filename": "odoo12_addon_web_widget_bokeh_chart-12.0.1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "37959406408b1a6640473d82886dded0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 537947, "upload_time": "2019-09-24T04:46:49", "url": "https://files.pythonhosted.org/packages/65/fc/d9adea2bfeef32257b3146f5e86072af0599488a347dbda67d8e6546256b/odoo12_addon_web_widget_bokeh_chart-12.0.1.0.1-py3-none-any.whl" } ] }