https://github.com/3liz/qgis-nbextension
Run qgis in Jupyter notebook - collection of pygis scripts
https://github.com/3liz/qgis-nbextension
ipython jupyter-notebook qgis
Last synced: 2 months ago
JSON representation
Run qgis in Jupyter notebook - collection of pygis scripts
- Host: GitHub
- URL: https://github.com/3liz/qgis-nbextension
- Owner: 3liz
- License: gpl-2.0
- Created: 2019-11-19T13:35:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-31T13:33:50.000Z (8 months ago)
- Last Synced: 2025-03-27T18:12:48.752Z (3 months ago)
- Topics: ipython, jupyter-notebook, qgis
- Language: Jupyter Notebook
- Size: 127 KB
- Stars: 21
- Watchers: 7
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QGIS Jupyter notebook extension: use qgis in jupyter notebook
## Installation from source
Clone the repository then install with pip from inside the repository:
```
pip install .
```## Description
Qgis notebook extension is syntactic sugar around qgis to leverage use of qgis in jupyter-notebook environment
Load in your notebook with:
```
%load_ext qgisnbextension
```## Magic commands
### %qgis
#### How it works
Start a qgis session by initialising a QgsApplication and Message hooks to QgisMessageLog.
Options:
- `--processing` : Initialize Qgis processing providers
## See also
- https://jupyter.org/
- IPython documentation: https://ipython.readthedocs.io/en/stable/config/extensions