Home Applications BardPythonSample

BardPythonSample

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
0
0 reviews
0
Awards
198
Views
2
IPM installs
0
0
Details
Releases
Reviews
Issues
Pull requests
An Embedded Python Calling Bard Example

What's new in this version

Add some new features

install

zpm bardpythonsample

irispip install –target D:\work\iris\mgr\python GoogleBard

irispip install –target D:\work\iris\mgr\python PyQt5

微信图片_20230914165322

Get cookies

Open Google Chrome, log in to Bard, F12 to view the Application and obtain the required cookie value

image

Replace to the desired location

image

Gif image replace

Replace the gif image in the normal folder with your preferred format, naming it normal1. gif, normal2. gif, etc

Replace the gif image in the click folder with your favorite one, which shows the status of the application when clicked

url replace

Replace the file URL in main.py with the local environment

image

Test

  1. Bard Run Test

w ##class(EmbeddedPython.Bard).Call(“Hello”)

image

2.Application Testing

irispython C:\InterSystems\IRISHealth\mgr\python\main.py

image

1694856779138

Right click to query iris runtime or dialogue

image

image

image

Other

If you want to add other functions,Add corresponding menus in the following locations

image

Made with
Install
zpm install bardpythonsample download archive
Version
1.0.116 Sep, 2023
Category
Technology Example
Works with
InterSystems IRIS
First published
14 Sep, 2023