Skip to main content

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

  1. 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.

  1. To stop Geoweaver, please run:
geoweaver.stop()
  1. To list the existing objects, please run:
geoweaver.list_hosts()
geoweaver.list_processes()
geoweaver.list_workflows()
  1. To run a workflow, please run:
geoweaver.run_workflow("workflow_id", "host_id_list", "password_list", "environment_list")

or

geoweaver.run_workflow("workflow_zip_file_path", "host_id_list", "password_list", "environment_list")

or

geoweaver.run_workflow("workflow_local_folder_path", "host_id_list", "password_list", "environment_list")
  1. To export a workflow:
geoweaver.export_workflow("workflow_id", "workflow_zip_save_path")
  1. To import a workflow:
geoweaver.import_workflow("<workflow_zip_file_path>")

or

geoweaver.import_workflow("<workflow_folder_path>")
  1. To get history of a workflow run:
geoweaver.history("<workflow_history_id>")
  1. To get history of a process run:
geoweaver.history("<process_history_id>")
  1. To check the source code of a process
geoweaver.detail_processs("<process_id>")
  1. To check the configuration of a workflow
geoweaver.detail_workflow("<workflow_id>")
  1. To check the details of a host:
geoweaver.detail_host("<host_id>")

Project details


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.7.1.tar.gz (14.5 kB view hashes)

Uploaded Source

Built Distribution

pygeoweaver-0.7.1-py3-none-any.whl (21.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page