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.12.tar.gz (12.2 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.12-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwstreamlit-0.0.12.tar.gz
  • Upload date:
  • Size: 12.2 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.12.tar.gz
Algorithm Hash digest
SHA256 11808edac8fe9bd3b0f0408701aa240bddd2a14ff41e4c38571c25d23c3c61f6
MD5 364de471630ebf2979dffcb10b2f476a
BLAKE2b-256 3c583dd0162224f6c201f043e5535191916da472c71e071000350227a9140939

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gwstreamlit-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 14.2 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 90b2041b1e020c26ecc7737a20b4c8cefeb6d717b30b61e058ed9b3a0c60563e
MD5 47b1872772020c3f41e66240a433279e
BLAKE2b-256 0f716510de4c70c3c43e67d1848b2e025eb1c34ff3829eb24b034d17a49ca31a

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