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.14.tar.gz (12.5 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.14-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwstreamlit-0.0.14.tar.gz
  • Upload date:
  • Size: 12.5 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.14.tar.gz
Algorithm Hash digest
SHA256 46f0ea1860741bcc67fbd9bb3988a6d7f03e91d60a03e7207d14daf7c01505cc
MD5 7e4b660705842d672394ebca27ee34ab
BLAKE2b-256 28b7670e75e9142849180ac9f2a3b30d2a0a32b844a7b09c94524b5f529242c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gwstreamlit-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 14.6 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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 77874b8978ffbb3a388f115f425daed726a5d49a9af4d6e58e638632edae2163
MD5 d8ce44e80d0fc283c254934e65ec4545
BLAKE2b-256 591c25038fb6fd9d9c802678a15ed5dd8868ab1baba94ee3ae849d972eb29733

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