Using the Native SDK for Python

Call ObjectScript methods and manipulate global arrays from Python.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/sorodriguezz/skills-objectscript --skill using-the-native-sdk-for-python
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Using the Native SDK for Python
Source: https://github.com/sorodriguezz/skills-objectscript/tree/main/skills/using-the-native-sdk-for-python
Command: npx skills add https://github.com/sorodriguezz/skills-objectscript --skill using-the-native-sdk-for-python

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill bridges the gap between Python applications and InterSystems IRIS databases, enabling seamless interaction with ObjectScript methods, global arrays, and database objects directly from Python.

Core Features & Use Cases

  • Call ObjectScript Methods: Execute any embedded language class method from Python.
  • Control Database Objects: Manage instances of database classes written in ObjectScript or Embedded Python.
  • Work with Global Arrays: Directly access and manipulate InterSystems global arrays.
  • Transaction and Locking: Utilize InterSystems transaction and locking mechanisms within Python applications.
  • Use Case: A Python web application needs to retrieve and update data stored in InterSystems IRIS globals. This Skill allows the application to perform these operations efficiently without needing to write separate ObjectScript code.

Quick Start

Use the Using the Native SDK for Python skill to connect to the InterSystems IRIS database and retrieve the value of the global node 'root'('foo','SubFoo').

Frequently Asked Questions about Using the Native SDK for Python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I access InterSystems IRIS database globals from a Python application?

You can access InterSystems IRIS database globals from Python by using the Native SDK for Python to directly connect to the database and manipulate global arrays without writing separate ObjectScript code.

Can I call ObjectScript methods directly from Python?

Yes, you can call ObjectScript methods directly from Python by using the Native SDK for Python to execute any embedded language class method and manage instances of database objects.

Does the Native SDK for Python support transaction management and locking?

Yes, the Native SDK for Python supports transaction management and locking, allowing you to utilize InterSystems transaction and locking mechanisms within your Python applications for robust data operations.

What is the best way to update data stored in InterSystems IRIS globals using Python?

The best way to update data in InterSystems IRIS globals using Python is the Native SDK for Python, which allows external Python environments to directly access and manipulate global arrays efficiently.

Do I need to write ObjectScript code to control InterSystems IRIS database objects from Python?

No, you do not need to write separate ObjectScript code because the Native SDK for Python enables Python applications to control instances of database classes written in ObjectScript or Embedded Python directly.