grafanacode


Namegrafanacode JSON
Version 0.5.7 PyPI version JSON
download
home_page
SummaryGrafana dashboards as Python code
upload_time2022-12-26 16:23:27
maintainer
docs_urlNone
author
requires_python>=3.7
licenseApache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright 2022 DOSprojects Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
keywords grafana python code
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ******
Readme
******

Description
===========

This module aims to generate `Grafana <http://grafana.org/>`_ dashboards from Python scripts.
The module is tested with Grafana version 9. Older versions of Grafana might have another API and another JSON structure and are thus unsupported.

Use Case
========

According to their website, Grafana is a web-based application to query, visualize, alert on, and understand your data no matter where it’s stored.
With Grafana you can create, explore, and share all of your data through beautiful, flexible dashboards.

The configuration is done through a GUI, which is very user friendly.
Developing a dashboard can be done via trial and error or on progressive insight.
The configurations are stored in a Sqlite3 database.
There is a basic version control and the dashboards and panels are portable via json.
The json of a dashboard or a panel can be inspected via the GUI.
Grafana has a web API that can be used to interact with the installation.
Also `provisioning <https://grafana.com/docs/grafana/latest/administration/provisioning/>`_ can be used.
Then the generated config files will have to be stored at the appropriate location.

But, sometimes we want more...

* a robust configuration that can be backup-ed

    * The database can get corruption.
    * There can arise issues during upgrades.

* manageable via GIT
* roll-out dashboards and panels over different installations
* roll-out changes easily over all panels and dashboards

    * change the foreground color over all panels and all dashboards
    * change a data source over all panels and all dashboards
    * add a timezone offset in all queries

* have a unified look and feel 
* have a compact notation (json files are very verbose and lengthy)

Solution: Config in code

* Grafana configuration in Python

    * set of Python dataclasses
    * supporting multiple panel types
    * supporting multiple data sources
    * supporting other configurations (alarming, ...)

* User functions

    * implement some communication via the Grafana API
    * download a dashboard from a Grafana installation as json
    * upload a dashboard to a Grafana installation as json
    * convert a python script to uploadable json
    * convert a json to a python script

the grafanacode tool
====================

As already said, the configuration will be done in Python.
Although this is all relative simple code, some knowledge of python will be useful.
We will use Python 3 with some additional libraries. Under the hood we make extensive use of the `attrs library <https://www.attrs.org>`_.
If you install it via ``pip`` (see below), these dependencies will be installed together with the tool, 


Usage
=====

This module contains a number of functionalities:

* Save one or more Grafana dashboards.
* Export one or more Grafana dashboards to Python code (*).
* Generate one or more Grafana dashboards.
* Upload one or more Grafana dashboards to a running system.

(*) The export is not complete. Some additional work needs to be done before the code can run.
But the script contains already most of the code

Take a look at the included examples for more info.

**IMPORTANT NOTE:**

In order to reduce typing there is only one namespace: grafanacode.
So when in the documentation there is: ``grafanacode.plugins.panel_base.PropGridPos``, you have to type ``grafanacode.PropGridPos``. 
Or when you ``from grafanacode import *``, you simply type ``PropGridPos``.
I know this is strongly disadvised. Nevertheless, in this case, importing the grafanacode objects in your namespace implies little risk. On the other side, t makes the code much more compact and readable, which is one of the main aims of this module.


Installation
============

grafanacode is just a Python package, so:

    .. code-block:: console

        pip install grafanacode

Support
=======

This library is under development.
So breaking changes are always possible.

grafanacode works with Python 3.9 and 3.10.

Development setup
=================

Every Python development system will do, but on Windows OS, I prefer Anaconda.

To install Anaconda:

* Download Anaconda from https://www.anaconda.com/; chose windows installer
* Double click to install; Accept all defaults (personally I install this at another location).
* Start Anaconda
* Click on Anaconda Navigator
* Setup a virtual environment; I called this *grafanacode*
* Click on ``environments``
* Click on ``create`` at the bottom
* Fill in the popup; chose ``Python 3``
* Select environment
* Start a Command prompt
    * Click on the green play button
    * Chose ``open terminal``
    * In the command prompt, between brackets, you can see the virtual environment you are in.
* Install dependencies

    .. code-block:: console

        pip install attrs
        pip install requests
        pip install sphinx-rtd-theme
        pip install sphinx-toolbox
        pip install pprinter
        pip install pylint
        pip install docutils==0.16
        pip install hypothesis


Generate dashboards
===================

Take a look at the example scripts. 

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "grafanacode",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "Grafana,Python,code",
    "author": "",
    "author_email": "DOSprojects <mail@domain.com>",
    "download_url": "https://files.pythonhosted.org/packages/05/b1/cb9f739dd14d02e0a4480907e9a56e15d125ed65d731d4bd44cb74358dae/grafanacode-0.5.7.tar.gz",
    "platform": null,
    "description": "******\r\nReadme\r\n******\r\n\r\nDescription\r\n===========\r\n\r\nThis module aims to generate `Grafana <http://grafana.org/>`_ dashboards from Python scripts.\r\nThe module is tested with Grafana version 9. Older versions of Grafana might have another API and another JSON structure and are thus unsupported.\r\n\r\nUse Case\r\n========\r\n\r\nAccording to their website, Grafana is a web-based application to query, visualize, alert on, and understand your data no matter where it\u2019s stored.\r\nWith Grafana you can create, explore, and share all of your data through beautiful, flexible dashboards.\r\n\r\nThe configuration is done through a GUI, which is very user friendly.\r\nDeveloping a dashboard can be done via trial and error or on progressive insight.\r\nThe configurations are stored in a Sqlite3 database.\r\nThere is a basic version control and the dashboards and panels are portable via json.\r\nThe json of a dashboard or a panel can be inspected via the GUI.\r\nGrafana has a web API that can be used to interact with the installation.\r\nAlso `provisioning <https://grafana.com/docs/grafana/latest/administration/provisioning/>`_ can be used.\r\nThen the generated config files will have to be stored at the appropriate location.\r\n\r\nBut, sometimes we want more...\r\n\r\n* a robust configuration that can be backup-ed\r\n\r\n    * The database can get corruption.\r\n    * There can arise issues during upgrades.\r\n\r\n* manageable via GIT\r\n* roll-out dashboards and panels over different installations\r\n* roll-out changes easily over all panels and dashboards\r\n\r\n    * change the foreground color over all panels and all dashboards\r\n    * change a data source over all panels and all dashboards\r\n    * add a timezone offset in all queries\r\n\r\n* have a unified look and feel \r\n* have a compact notation (json files are very verbose and lengthy)\r\n\r\nSolution: Config in code\r\n\r\n* Grafana configuration in Python\r\n\r\n    * set of Python dataclasses\r\n    * supporting multiple panel types\r\n    * supporting multiple data sources\r\n    * supporting other configurations (alarming, ...)\r\n\r\n* User functions\r\n\r\n    * implement some communication via the Grafana API\r\n    * download a dashboard from a Grafana installation as json\r\n    * upload a dashboard to a Grafana installation as json\r\n    * convert a python script to uploadable json\r\n    * convert a json to a python script\r\n\r\nthe grafanacode tool\r\n====================\r\n\r\nAs already said, the configuration will be done in Python.\r\nAlthough this is all relative simple code, some knowledge of python will be useful.\r\nWe will use Python 3 with some additional libraries. Under the hood we make extensive use of the `attrs library <https://www.attrs.org>`_.\r\nIf you install it via ``pip`` (see below), these dependencies will be installed together with the tool, \r\n\r\n\r\nUsage\r\n=====\r\n\r\nThis module contains a number of functionalities:\r\n\r\n* Save one or more Grafana dashboards.\r\n* Export one or more Grafana dashboards to Python code (*).\r\n* Generate one or more Grafana dashboards.\r\n* Upload one or more Grafana dashboards to a running system.\r\n\r\n(*) The export is not complete. Some additional work needs to be done before the code can run.\r\nBut the script contains already most of the code\r\n\r\nTake a look at the included examples for more info.\r\n\r\n**IMPORTANT NOTE:**\r\n\r\nIn order to reduce typing there is only one namespace: grafanacode.\r\nSo when in the documentation there is: ``grafanacode.plugins.panel_base.PropGridPos``, you have to type ``grafanacode.PropGridPos``. \r\nOr when you ``from grafanacode import *``, you simply type ``PropGridPos``.\r\nI know this is strongly disadvised. Nevertheless, in this case, importing the grafanacode objects in your namespace implies little risk. On the other side, t makes the code much more compact and readable, which is one of the main aims of this module.\r\n\r\n\r\nInstallation\r\n============\r\n\r\ngrafanacode is just a Python package, so:\r\n\r\n    .. code-block:: console\r\n\r\n        pip install grafanacode\r\n\r\nSupport\r\n=======\r\n\r\nThis library is under development.\r\nSo breaking changes are always possible.\r\n\r\ngrafanacode works with Python 3.9 and 3.10.\r\n\r\nDevelopment setup\r\n=================\r\n\r\nEvery Python development system will do, but on Windows OS, I prefer Anaconda.\r\n\r\nTo install Anaconda:\r\n\r\n* Download Anaconda from https://www.anaconda.com/; chose windows installer\r\n* Double click to install; Accept all defaults (personally I install this at another location).\r\n* Start Anaconda\r\n* Click on Anaconda Navigator\r\n* Setup a virtual environment; I called this *grafanacode*\r\n* Click on ``environments``\r\n* Click on ``create`` at the bottom\r\n* Fill in the popup; chose ``Python 3``\r\n* Select environment\r\n* Start a Command prompt\r\n    * Click on the green play button\r\n    * Chose ``open terminal``\r\n    * In the command prompt, between brackets, you can see the virtual environment you are in.\r\n* Install dependencies\r\n\r\n    .. code-block:: console\r\n\r\n        pip install attrs\r\n        pip install requests\r\n        pip install sphinx-rtd-theme\r\n        pip install sphinx-toolbox\r\n        pip install pprinter\r\n        pip install pylint\r\n        pip install docutils==0.16\r\n        pip install hypothesis\r\n\r\n\r\nGenerate dashboards\r\n===================\r\n\r\nTake a look at the example scripts. \r\n",
    "bugtrack_url": null,
    "license": "Apache License Version 2.0, January 2004 http://www.apache.org/licenses/  TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION  1. Definitions.  \"License\" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.  \"Licensor\" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.  \"Legal Entity\" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, \"control\" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.  \"You\" (or \"Your\") shall mean an individual or Legal Entity exercising permissions granted by this License.  \"Source\" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.  \"Object\" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.  \"Work\" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).  \"Derivative Works\" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.  \"Contribution\" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, \"submitted\" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as \"Not a Contribution.\"  \"Contributor\" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.  2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.  3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.  4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:  (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and  (b) You must cause any modified files to carry prominent notices stating that You changed the files; and  (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and  (d) If the Work includes a \"NOTICE\" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.  You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.  5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.  6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.  7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.  8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.  9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.  END OF TERMS AND CONDITIONS  APPENDIX: How to apply the Apache License to your work.  To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets \"[]\" replaced with your own identifying information. (Don't include the brackets!)  The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same \"printed page\" as the copyright notice for easier identification within third-party archives.  Copyright 2022 DOSprojects  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ",
    "summary": "Grafana dashboards as Python code",
    "version": "0.5.7",
    "split_keywords": [
        "grafana",
        "python",
        "code"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "00b93ca12ebd950d9ef92208589f5be5",
                "sha256": "6d48304a1e268bae5007e0f4388706455bd13af57f1227621abfadefb0f305b2"
            },
            "downloads": -1,
            "filename": "grafanacode-0.5.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "00b93ca12ebd950d9ef92208589f5be5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 91783,
            "upload_time": "2022-12-26T16:23:24",
            "upload_time_iso_8601": "2022-12-26T16:23:24.871819Z",
            "url": "https://files.pythonhosted.org/packages/36/6c/d4c75fba03f5576dd7491f811b2c01af3aff96e23a3403eecc26f4b2aaa4/grafanacode-0.5.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "4c94a2b58ff6c58b924e75a68dded1e4",
                "sha256": "74824ff669e4460885dbf3ce3d56afbfb34e412bf103eab118254dccca366e60"
            },
            "downloads": -1,
            "filename": "grafanacode-0.5.7.tar.gz",
            "has_sig": false,
            "md5_digest": "4c94a2b58ff6c58b924e75a68dded1e4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 59508,
            "upload_time": "2022-12-26T16:23:27",
            "upload_time_iso_8601": "2022-12-26T16:23:27.034998Z",
            "url": "https://files.pythonhosted.org/packages/05/b1/cb9f739dd14d02e0a4480907e9a56e15d125ed65d731d4bd44cb74358dae/grafanacode-0.5.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-26 16:23:27",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "grafanacode"
}
        
Elapsed time: 0.02425s