Skip to main content

Guidewire Streamlit Engine

Project description

GWStreamlit

Overview

GWStreamlit is a Python package that provides a standardised streamlit interface for Guidewire applications. The user interface definition is defined in a yaml file and the package provides a streamlit interface to interact with the Guidewire application.

Use in other non Guidewire application is possible, but the package is designed to work with Guidewire applications and any maintenance for Guidewire applications will be prioritised. This is not to say that any requests for enhancements will be ignored, quite the opposite.

Installation

Installation is via pip, ensure that the latest version is installed. This requires Python 3.12 or later.

pip install gwstreamlit

Usage

GWStreamlit creation

GWStreamlit initalization requires an application name and either the name of the yaml file if the files are stored in resources/yaml_ui directory. Otherwise, the full path to the yaml file is required.

def build():
    initalize(my_application, my_yaml_file_location)

Initialize creates an instance of the GWStreamlit class transferring the yaml file information to a pydantic model. The class instance is stored in the streamlit session state. This permits only a single instance of the GWStreamlit class to exist at any one time.

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

gwstreamlit-0.0.13.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gwstreamlit-0.0.13-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file gwstreamlit-0.0.13.tar.gz.

File metadata

  • Download URL: gwstreamlit-0.0.13.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0

File hashes

Hashes for gwstreamlit-0.0.13.tar.gz
Algorithm Hash digest
SHA256 0d00b0ff9040b0e18d30d3a71fd02eac36757208eb3fd110e61fe661d6886b63
MD5 c35bfec63f1e7dd4682c713c16f2cb3b
BLAKE2b-256 f472282758d28ad374bd6ac2b3aeee9b5aa352b7f4986288df77284f44b38acb

See more details on using hashes here.

File details

Details for the file gwstreamlit-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: gwstreamlit-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0

File hashes

Hashes for gwstreamlit-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 570127afbb1b90d7a93f7f805147967ca25546fa93afcfb4da6946f5823f57b4
MD5 97d80e31399b6aabe5a0167baad2969a
BLAKE2b-256 f006b5d79a3fb506375bd187c8989deecaacc6151514a0897973a5a23ad0f527

See more details on using hashes here.

Supported by

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