This is a wrapper package of the Geoweaver app.
Project description
PyGeoWeaver
Description
This package is a Python wrapper of the GeoWeaver app which was written in Java. This package is designed for Jupyter users to be able to directly use Geoweaver in Jupyter notebook or JupyterLab (JupyterHub).
Installation
pip install pygeoweaver
Usage
- To show Geoweaver graphic user interface, please create a new cell and type:
import geoweaver
geoweaver.start()
The command will first check if Geoweaver has been downloaded and installed. If no, it will automatically download and install Geoweaver in the local environment. Then it will open Geoweaver in the cell output in a iframe. Users can use all the functions provided in Geoweaver.
- To stop Geoweaver, please run:
geoweaver.stop()
- To list the existing objects, please run:
geoweaver.list("host")
geoweaver.list("process")
geoweaver.list("workflow")
- To run a workflow, please run:
geoweaver.run_workflow()
- To export a workflow:
geoweaver.export_workflow("workflow_id", "workflow_zip_save_path")
- To import a workflow:
geoweaver.import_workflow("workflow_zip_file_path")
or
geoweaver.import_workflow("workflow_folder_path")
- To get history of a workflow run:
geoweaver.history_workflow()
- To get history of a process run:
geoweaver.history_process()
- To check the source code of a process
geoweaver.detail_processs(process_id)
- To check the configuration of a workflow
geoweaver.detail_workflow(workflow_id)
- To check the details of a host:
geoweaver.detail_host(host_id)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygeoweaver-0.6.1.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for pygeoweaver-0.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c7f3cb91bdb08933ec2d10b4308d933490e8cf4a14374b2feccc5f35828f090 |
|
MD5 | 3e4f7e0a8729c1c0d6f0a7e75586aceb |
|
BLAKE2b-256 | a11ce42f95fbddd17b4fe1dbb15d66e7a05ab65d4af6d59bbe602187837f5fa7 |