© 2025 InterSystems Corporation, Cambridge, MA. All rights reserved.Privacy & TermsGuaranteeSection 508Contest Terms
The IRIS Python Lookup Table Utils module provides a simple API to interact with the lookup tables in Intersystems IRIS from python.
Furthermore it offers the capability to import Excel sheets which is useful for project implementation and migration.
Click on the screenshot below to view the demo video:
26.1.1
v2.27.0
intersystemsdc/iris-community:2023.1.4.580.0-zpm
docker compose build
docker compose up -d
Admin
and SYS
and change passworddocker compose exec iris bash
irispython
from pylotaut import pylotaut
pylotaut.<FUNCTION>
documented in next chaptername, table = pylotaut.load_xlsx("/irisdev/app/example_lookup_table.xlsx")
pylotaut.create_lookuptable(name, table)
pylotaut.print_table(name)
or review them in the UI under http://localhost:52795/csp/irisapp/EnsPortal.LookupSettings.zenAll API functions accept or return python objects e.g. strings, dictionaries or tuples.
get_value(table, key)
get_tables()
load_xlsx(path)
load_table(table_name)
set_value(table, key, value)
create_lookuptable(table_name, items)
delete_key(table_name, key)
delete_table(table_name)
list_tables()
print_value(table, key)
print_table(table_name)