# pyESASky
Welcome to the ESASky Jupyter widget page.
# Requirements
`Jupyter` comes together with anaconda.
# Installation
```bash
$ pip install pyesasky
```
# pyesasky in Jupyter lab
```bash
$ jupyter labextension install pyesasky
```
In some cases you might also have to run these 2 commands to enable PyESASky in Jupyter
```bash
$ jupyter nbextension install --py pyesasky --sys-prefix
$ jupyter nbextension enable --py pyeasky --sys-prefix
```
In order to be able to run pyesasky in Jupyter lab it is necessary to install the labextension ivywidgets by the following command:
```bash
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager
```
NOTE that this requires `node.js` to be installed.
If you use conda, you can get it with:
```bash
conda install -c conda-forge nodejs
```
If you use Homebrew on Mac OS X:
```bash
brew install node
```
You can also download `Node.js` from the Node.js website https://nodejs.org/ and install it directly.
# Running pyESASky samples:
Multiple sample notebooks of the functionality in pyESASky can be found in https://github.com/esdc-esac-esa-int/pyesasky/tree/master/samples
For the basic functionalities, open the pyESASky-Basic.ipynb. To check how to overlay a catalogue, run the pyESASky-Catalogue.ipynb. To overlay a set of footprints, open pyESASky-Footprints.ipynb .
# Run pyesasky
In general, it is possible to instantiate pyESASky by running the folowing code in your Jupyter Notebook.
```python
from pyesasky import ESASkyWidget
esasky = ESASkyWidget()
esasky
```
To be able to use catalogue features, the following additional classes must be imported:
```python
from pyesasky import Catalogue
from pyesasky import CatalogueDescriptor
from pyesasky import MetadataDescriptor
from pyesasky import MetadataType
```
To be able to use footprints features, the following additional classes must be imported:
```python
from pyesasky import FootprintSet
from pyesasky import FootprintSetDescriptor
from pyesasky import MetadataDescriptor
from pyesasky import MetadataType
```
# Source code installation
For a development installation (requires npm),
```bash
$ git clone https://github.com/esdc-esac-esa-int/pyesasky
$ cd pyesasky
$ sh install.sh
```
Raw data
{
"_id": null,
"home_page": "https://github.com/esdc-esac-esa-int/pyesasky.git",
"name": "pyesasky",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "Jupyter,JupyterLab,JupyterLab3",
"author": "Mattias W\u00e5ngblad / Fabrizio Giordano from ESDC (ESA/ESAC)",
"author_email": "esdc_esasky@sciops.esa.int",
"download_url": "https://files.pythonhosted.org/packages/26/b9/a3f5962bbda89ee1929ff4e0790e2a58d2aec4bd0036019cb5fc7ecd8b21/pyesasky-1.9.5.tar.gz",
"platform": "Linux",
"description": "# pyESASky\r\n\r\nWelcome to the ESASky Jupyter widget page. \r\n\r\n# Requirements\r\n\r\n`Jupyter` comes together with anaconda. \r\n\r\n# Installation\r\n\r\n```bash\r\n$ pip install pyesasky\r\n```\r\n\r\n# pyesasky in Jupyter lab\r\n\r\n```bash\r\n$ jupyter labextension install pyesasky\r\n```\r\nIn some cases you might also have to run these 2 commands to enable PyESASky in Jupyter\r\n\r\n```bash\r\n$ jupyter nbextension install --py pyesasky --sys-prefix\r\n$ jupyter nbextension enable --py pyeasky --sys-prefix\r\n```\r\nIn order to be able to run pyesasky in Jupyter lab it is necessary to install the labextension ivywidgets by the following command:\r\n\r\n```bash\r\n$ jupyter labextension install @jupyter-widgets/jupyterlab-manager\r\n```\r\n\r\nNOTE that this requires `node.js` to be installed. \r\n\r\nIf you use conda, you can get it with:\r\n\r\n```bash\r\nconda install -c conda-forge nodejs\r\n```\r\n\r\nIf you use Homebrew on Mac OS X:\r\n```bash\r\nbrew install node\r\n```\r\nYou can also download `Node.js` from the Node.js website https://nodejs.org/ and install it directly.\r\n\r\n\r\n# Running pyESASky samples:\r\n\r\nMultiple sample notebooks of the functionality in pyESASky can be found in https://github.com/esdc-esac-esa-int/pyesasky/tree/master/samples\r\n\r\nFor the basic functionalities, open the pyESASky-Basic.ipynb. To check how to overlay a catalogue, run the pyESASky-Catalogue.ipynb. To overlay a set of footprints, open pyESASky-Footprints.ipynb .\r\n\r\n# Run pyesasky\r\n\r\nIn general, it is possible to instantiate pyESASky by running the folowing code in your Jupyter Notebook.\r\n\r\n```python\r\nfrom pyesasky import ESASkyWidget\r\nesasky = ESASkyWidget()\r\nesasky\r\n```\r\nTo be able to use catalogue features, the following additional classes must be imported:\r\n\r\n```python\r\nfrom pyesasky import Catalogue\r\nfrom pyesasky import CatalogueDescriptor\r\nfrom pyesasky import MetadataDescriptor\r\nfrom pyesasky import MetadataType\r\n```\r\n\r\nTo be able to use footprints features, the following additional classes must be imported:\r\n\r\n```python\r\nfrom pyesasky import FootprintSet\r\nfrom pyesasky import FootprintSetDescriptor\r\nfrom pyesasky import MetadataDescriptor\r\nfrom pyesasky import MetadataType\r\n```\r\n\r\n# Source code installation\r\n\r\nFor a development installation (requires npm),\r\n```bash\r\n$ git clone https://github.com/esdc-esac-esa-int/pyesasky\r\n$ cd pyesasky\r\n$ sh install.sh\r\n```\r\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "ESASky Python wrapper",
"version": "1.9.5",
"project_urls": {
"Homepage": "https://github.com/esdc-esac-esa-int/pyesasky.git"
},
"split_keywords": [
"jupyter",
"jupyterlab",
"jupyterlab3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7166716a85c6f77ca50dfc83ec568b50c03cca7eb818b0df6251c9570016f589",
"md5": "85e5d696939b790f70985f506e6a641e",
"sha256": "1e4d90484e382e4a0b78129d4876b02d1f1fb2454c38799e8f7231a24215a080"
},
"downloads": -1,
"filename": "pyesasky-1.9.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "85e5d696939b790f70985f506e6a641e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.6",
"size": 1649688,
"upload_time": "2023-03-31T07:13:41",
"upload_time_iso_8601": "2023-03-31T07:13:41.782164Z",
"url": "https://files.pythonhosted.org/packages/71/66/716a85c6f77ca50dfc83ec568b50c03cca7eb818b0df6251c9570016f589/pyesasky-1.9.5-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "26b9a3f5962bbda89ee1929ff4e0790e2a58d2aec4bd0036019cb5fc7ecd8b21",
"md5": "084bd8b5c2308429b4cf188f401403b2",
"sha256": "2d4a406c34d24a8d41e3a6b7ac520411d19949cbc484cf376ff36c3f895dd45c"
},
"downloads": -1,
"filename": "pyesasky-1.9.5.tar.gz",
"has_sig": false,
"md5_digest": "084bd8b5c2308429b4cf188f401403b2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 900205,
"upload_time": "2023-03-31T07:13:45",
"upload_time_iso_8601": "2023-03-31T07:13:45.099376Z",
"url": "https://files.pythonhosted.org/packages/26/b9/a3f5962bbda89ee1929ff4e0790e2a58d2aec4bd0036019cb5fc7ecd8b21/pyesasky-1.9.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-31 07:13:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "esdc-esac-esa-int",
"github_project": "pyesasky",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pyesasky"
}