==========================
eea.jupyter
==========================
.. image:: https://ci.eionet.europa.eu/buildStatus/icon?job=eea/eea.jupyter/develop
:target: https://ci.eionet.europa.eu/job/eea/job/eea.jupyter/job/develop/display/redirect
:alt: Develop
.. image:: https://ci.eionet.europa.eu/buildStatus/icon?job=eea/eea.jupyter/master
:target: https://ci.eionet.europa.eu/job/eea/job/eea.jupyter/job/master/display/redirect
:alt: Master
The eea.jupyter is a jupyter utility package for EEA.
.. contents::
Upgrade
=======
Usage
=============
1. Install eea.jupyter package
.. code-block:: console
pip install eea.jupyter
2. Import uploadPlotly in your notebook
.. code-block:: python
from eea.jupyter import uploadPlotly
3. Upload a plotly figure
.. code-block:: python
uploadPlotly(url, fig, **metadata)
Note: step 3 should be run as the last part of notebook cell, otherwise the plotly editor will not be displayed in the notebook.
Note: updatePlotly function can be used like this:
.. code-block:: python
metadata = {"title":"My visualization"}
uploadPlotly(url, fig, **metadata)
uploadPlotly(url, fig, **{"title":"My visualization"})
uploadPlotly(url, fig, title="My visualization")
Note: fig can be a plotly figure object (plotly.graph_objs.Figure) or a json string.
Install
=======
Eggs repository
===============
- https://pypi.python.org/pypi/eea.jupyter
- http://eggrepo.eea.europa.eu/simple
How to contribute
=================
See the `contribution guidelines (CONTRIBUTING.md) <https://github.com/eea/eea.jupyter/blob/main/CONTRIBUTING.md>`_.
Copyright and license
=====================
eea.jupyter (the Original Code) is free software; you can
redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc., 59
Temple Place, Suite 330, Boston, MA 02111-1307 USA.
The Initial Owner of the Original Code is European Environment Agency (EEA).
Portions created by Eau de Web are Copyright (C) 2009 by
European Environment Agency. All Rights Reserved.
Funding
=======
EEA_ - European Environment Agency (EU)
.. _EEA: https://www.eea.europa.eu/
.. _`EEA Web Systems Training`: http://www.youtube.com/user/eeacms/videos?view=1
Changelog
=========
1.0 - (2024-12-04)
---------------------------
* Change: make uploadPlotly accept dict, ref #281230
[razvanMiu]
0.9 - (2024-02-02)
---------------------------
* Change: update readme + set postMessage origin
[razvanMiu]
0.8 - (2024-02-01)
---------------------------
* Change: fix import
[razvanMiu]
0.7 - (2024-02-01)
---------------------------
* Change: add uploadPlotly function wrapper
[razvanMiu]
0.6 - (2024-01-30)
---------------------------
* Change: Develop
[razvanMiu]
0.5 - (2024-01-30)
---------------------------
* Change: Develop
[razvanMiu]
0.4 - (2024-01-30)
---------------------------
* Change: Develop
[razvanMiu]
0.3 - (2024-01-30)
---------------------------
* Change: Develop
[razvanMiu]
0.2 - (2024-01-30)
---------------------------
* Change: 0.2
[razvanMiu]
0.1 - (2024-01-19)
-----------------------
* Initial release.
[eea]
Raw data
{
"_id": null,
"home_page": "https://github.com/eea/eea.banner",
"name": "eea.jupyter",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "EEA Utilities",
"author": "European Environment Agency: IDM2 A-Team",
"author_email": "eea-edw-a-team-alerts@googlegroups.com",
"download_url": "https://files.pythonhosted.org/packages/61/cd/76bb7c24ae6ab9fa7188fd7ee73670538a6cbffa2615c826fdb355f36ec6/eea.jupyter-1.0.zip",
"platform": null,
"description": "==========================\neea.jupyter\n==========================\n.. image:: https://ci.eionet.europa.eu/buildStatus/icon?job=eea/eea.jupyter/develop\n :target: https://ci.eionet.europa.eu/job/eea/job/eea.jupyter/job/develop/display/redirect\n :alt: Develop\n.. image:: https://ci.eionet.europa.eu/buildStatus/icon?job=eea/eea.jupyter/master\n :target: https://ci.eionet.europa.eu/job/eea/job/eea.jupyter/job/master/display/redirect\n :alt: Master\n\nThe eea.jupyter is a jupyter utility package for EEA.\n\n.. contents::\n\nUpgrade\n=======\n\n\nUsage\n=============\n1. Install eea.jupyter package\n \n.. code-block:: console\n\n pip install eea.jupyter\n\n2. Import uploadPlotly in your notebook\n \n.. code-block:: python\n\n from eea.jupyter import uploadPlotly\n\n\n3. Upload a plotly figure\n\n.. code-block:: python\n\n uploadPlotly(url, fig, **metadata)\n\nNote: step 3 should be run as the last part of notebook cell, otherwise the plotly editor will not be displayed in the notebook.\n\nNote: updatePlotly function can be used like this:\n\n.. code-block:: python\n\n metadata = {\"title\":\"My visualization\"}\n uploadPlotly(url, fig, **metadata)\n uploadPlotly(url, fig, **{\"title\":\"My visualization\"})\n uploadPlotly(url, fig, title=\"My visualization\")\n\nNote: fig can be a plotly figure object (plotly.graph_objs.Figure) or a json string.\n\nInstall\n=======\n\n\nEggs repository\n===============\n\n- https://pypi.python.org/pypi/eea.jupyter\n- http://eggrepo.eea.europa.eu/simple\n\n\nHow to contribute\n=================\nSee the `contribution guidelines (CONTRIBUTING.md) <https://github.com/eea/eea.jupyter/blob/main/CONTRIBUTING.md>`_.\n\n\nCopyright and license\n=====================\n\neea.jupyter (the Original Code) is free software; you can\nredistribute it and/or modify it under the terms of the\nGNU General Public License as published by the Free Software Foundation;\neither version 2 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\nor FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License\nfor more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc., 59\nTemple Place, Suite 330, Boston, MA 02111-1307 USA.\n\nThe Initial Owner of the Original Code is European Environment Agency (EEA).\nPortions created by Eau de Web are Copyright (C) 2009 by\nEuropean Environment Agency. All Rights Reserved.\n\n\nFunding\n=======\n\nEEA_ - European Environment Agency (EU)\n\n.. _EEA: https://www.eea.europa.eu/\n.. _`EEA Web Systems Training`: http://www.youtube.com/user/eeacms/videos?view=1\n\nChangelog\n=========\n\n1.0 - (2024-12-04)\n---------------------------\n* Change: make uploadPlotly accept dict, ref #281230\n [razvanMiu]\n\n0.9 - (2024-02-02)\n---------------------------\n* Change: update readme + set postMessage origin\n [razvanMiu]\n\n0.8 - (2024-02-01)\n---------------------------\n* Change: fix import\n [razvanMiu]\n\n0.7 - (2024-02-01)\n---------------------------\n* Change: add uploadPlotly function wrapper\n [razvanMiu]\n\n0.6 - (2024-01-30)\n---------------------------\n* Change: Develop\n [razvanMiu]\n\n0.5 - (2024-01-30)\n---------------------------\n* Change: Develop\n [razvanMiu]\n\n0.4 - (2024-01-30)\n---------------------------\n* Change: Develop\n [razvanMiu]\n\n0.3 - (2024-01-30)\n---------------------------\n* Change: Develop\n [razvanMiu]\n\n0.2 - (2024-01-30)\n---------------------------\n* Change: 0.2\n [razvanMiu]\n\n0.1 - (2024-01-19)\n-----------------------\n\n* Initial release.\n [eea]\n",
"bugtrack_url": null,
"license": "GPL version 2",
"summary": "eea.jupyter utilities for jupyter notebook",
"version": "1.0",
"project_urls": {
"Homepage": "https://github.com/eea/eea.banner"
},
"split_keywords": [
"eea",
"utilities"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "61cd76bb7c24ae6ab9fa7188fd7ee73670538a6cbffa2615c826fdb355f36ec6",
"md5": "84909cc51d78f5abaf14e901e0c684fa",
"sha256": "65d6428f6c8632f3ba1054689551b599803ed92b51f46c7302cd39c2a4d8c94d"
},
"downloads": -1,
"filename": "eea.jupyter-1.0.zip",
"has_sig": false,
"md5_digest": "84909cc51d78f5abaf14e901e0c684fa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 20505,
"upload_time": "2024-12-04T12:00:34",
"upload_time_iso_8601": "2024-12-04T12:00:34.328857Z",
"url": "https://files.pythonhosted.org/packages/61/cd/76bb7c24ae6ab9fa7188fd7ee73670538a6cbffa2615c826fdb355f36ec6/eea.jupyter-1.0.zip",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-04 12:00:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "eea",
"github_project": "eea.banner",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "eea.jupyter"
}