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.9.tar.gz (12.0 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.9-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwstreamlit-0.0.9.tar.gz
  • Upload date:
  • Size: 12.0 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.9.tar.gz
Algorithm Hash digest
SHA256 697aeefc64ea92c3fb43e07d9df32428719f20a342d8d821860c0d1bcfd10a15
MD5 123bb61235a4eda5d5d2802cae7f9e10
BLAKE2b-256 f36354ac2ba251f3c8f096b0ccfffb27b59eb1aff996e82ef7b331e4efa737e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gwstreamlit-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 14.1 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1011d8cb58cdb6062e8e0a5077c3bf3362e5710b6eeabfdb27e9c9134397e914
MD5 d3fe462c0d8920547fce014591104979
BLAKE2b-256 d2f374d0ca0c599e6e31a00200129f162373151c90433a6f3e904b26fb0c00c1

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