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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwstreamlit-0.0.10.tar.gz
  • Upload date:
  • Size: 12.1 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.10.tar.gz
Algorithm Hash digest
SHA256 1a04e764280b09fb2b702fc0f3a570a04cd55c6a73e74c4a7c74c32bdb791f4e
MD5 9e019f64c065051d774985a1ce1794b3
BLAKE2b-256 6f12d8ea38b35444411058fb8364a966839cd1a91f9ae4ab5f741a1cf2818e9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gwstreamlit-0.0.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 463c10d52ee9fd9034cb1ce92cb62e110528cc92190e992e6a0ebdada2672ae5
MD5 ca1df284769d8b8f818ff6866c342e31
BLAKE2b-256 90bb7c3621c7f1a6019a0a59fc7fe94fa8c00bdecefa7eddc4f5049664d991ea

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