Skip to main content

Battle-tested InterSystems IRIS infrastructure utilities for Python development

Project description

IRIS DevTester

Battle-tested InterSystems IRIS infrastructure utilities for Python development

PyPI version Python Versions License: MIT Test Coverage

What is This?

IRIS DevTester is a comprehensive Python package that provides automatic, reliable, production-tested infrastructure for InterSystems IRIS development. It handles connectivity, container lifecycles, and test data management, codifying years of experience into a reusable toolkit.

The Problem It Solves

  • Auto-Remediation: Fixes "Password change required" and expired accounts automatically.
  • Port Management: Eliminates conflicts when running tests in parallel.
  • Isolation: Ensures every test gets a clean, isolated database instance.
  • Performance: DBAPI-first connection pooling is 3x faster than traditional JDBC.
  • Data Refresh: High-speed DAT fixture loading (10-100x faster than SQL inserts).

Quick Start

1. Install

pip install iris-devtester[all]

2. Start a Container

iris-devtester container up

3. Write and Run a Test

from iris_devtester.containers import IRISContainer

def test_connection():
    with IRISContainer.community() as iris:
        conn = iris.get_connection()
        cursor = conn.cursor()
        cursor.execute("SELECT 1")
        assert cursor.fetchone()[0] == 1

Key Features

  • 🔐 Automatic Password Management: Remediates security flags using official system APIs.
  • 🐳 Container Lifecycle: CLI and Python API for IRIS container management (up, start, stop).
  • 📦 DAT Fixture Management: Create and load reproducible test fixtures in seconds.
  • ⚡ DBAPI-First Performance: Automatically selects the fastest available driver.
  • 📊 Resource Monitoring: Resource-aware performance tracking.

AI-Assisted Development

This project is optimized for AI coding assistants:

Documentation

License

MIT License - See LICENSE

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

iris_devtester-1.8.1.tar.gz (462.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iris_devtester-1.8.1-py3-none-any.whl (151.5 kB view details)

Uploaded Python 3

File details

Details for the file iris_devtester-1.8.1.tar.gz.

File metadata

  • Download URL: iris_devtester-1.8.1.tar.gz
  • Upload date:
  • Size: 462.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for iris_devtester-1.8.1.tar.gz
Algorithm Hash digest
SHA256 f360793fd51d3b13bd9a5aa3d9f01a79ea5ce94b9e22b150ca252b12fa053b2c
MD5 2429885fbd316ff8333933fdbcd1429f
BLAKE2b-256 a732ad18d3e622ede320d6c8c0c4f10996e6c5dc8b33e660c798a2468451419a

See more details on using hashes here.

File details

Details for the file iris_devtester-1.8.1-py3-none-any.whl.

File metadata

  • Download URL: iris_devtester-1.8.1-py3-none-any.whl
  • Upload date:
  • Size: 151.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for iris_devtester-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5e129e971a0e3011a1788dd8671b8e99fea4fa844f035bf9898eed75ddf6037
MD5 0fd030f1eac0b9077d8161ce9c7dc00e
BLAKE2b-256 a9e7014afeb1b80c2218602ac813fa5f617cf93cea0d6a940aebde422666bd14

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