Skip to main content

Python SDK for Boomi Platform API - provides programmatic access to Boomi Enterprise Platform functionality.

Project description

Boomi Python SDK

A modern, intuitive Python SDK for the Boomi Platform API that makes integration development simple and efficient.

Python 3.9+ PyPI version License: MIT

🚀 What is Boomi?

Boomi is a leading cloud-native integration platform that connects applications, data, and people. The Boomi Platform API provides programmatic access to manage integrations, deploy processes, monitor executions, and control platform resources.

📦 Installation

pip install boomi

⚡ Quick Start

from boomi import Boomi

# Initialize the SDK
client = Boomi(
    account_id="your-account-id",
    access_token="your-api-token"  # or use username/password
)

# List all environments
environments = client.environment.query_environment()
print(f"Found {len(environments.result)} environments")

# Component XML is opaque: get_component returns RAW bytes (the SDK never parses it)
from boomi import extract_component_xml_metadata

xml = client.component.get_component(component_id="your-process-id")  # -> bytes
print(f"Process: {extract_component_xml_metadata(xml)['name']}")

# Execute a process
from boomi.models import ExecutionRequest

execution = client.execution_request.create_execution_request(
    request_body=ExecutionRequest(
        process_id="your-process-id",
        atom_id="your-atom-id"
    )
)
print(f"Execution ID: {execution.request_id}")

🔑 Authentication

The SDK supports multiple authentication methods:

API Token (Recommended)

client = Boomi(
    account_id="your-account-id",
    access_token="your-api-token"
)

Username/Password

client = Boomi(
    account_id="your-account-id",
    username="your-username",
    password="your-password"
)

💡 Tip: Get your API token from the Boomi Platform: ManageAtomSphere API Tokens

🎯 Key Features

📋 Process Management

  • Create, update, and deploy integration processes
  • Manage process components and configurations
  • Handle process libraries and shared resources

🔄 Runtime Operations

  • Execute processes on-demand
  • Monitor execution status and logs
  • Manage Atom and Molecule runtimes

🌍 Environment Control

  • Manage deployment environments
  • Handle environment extensions and configurations
  • Control environment roles and permissions

👥 Account Administration

  • User and role management
  • Account configuration
  • License and quota monitoring

📊 Monitoring & Analytics

  • Execution records and logs
  • Performance metrics
  • Error tracking and debugging

🔧 Advanced Usage

Async Support

import asyncio
from boomi import BoomiAsync

async def main():
    client = BoomiAsync(
        account_id="your-account-id",
        access_token="your-api-token"
    )
    environments = await client.environment.query_environment()
    print(f"Found {len(environments.result)} environments")

asyncio.run(main())

Custom Timeout

client = Boomi(
    account_id="your-account-id",
    access_token="your-api-token",
    timeout=30000  # 30 seconds (default: 60 seconds)
)

Error Handling

from boomi.net.transport.api_error import ApiError

try:
    process = client.component.get_component(component_id="invalid-id")
except ApiError as e:
    print(f"API Error: {e.status} - {e.message}")

📚 Common Use Cases

Inspect Deployed Packages

# Preferred deployment surface: packaged components and deployed packages
deployed_packages = client.deployed_package.query_deployed_package()

for deployed_package in deployed_packages.result[:5]:
    print(f"Deployment: {deployed_package.id_}")

Monitor Executions

# Query recent executions
executions = client.execution_record.query_execution_record()

for execution in executions.result[:5]:
    print(f"Execution {execution.execution_id}: {execution.status}")

Manage Atoms

# List all atoms
atoms = client.atom.query_atom()

for atom in atoms.result:
    print(f"Atom: {atom.name} - Status: {atom.status}")

🏗️ Architecture

The SDK is organized into logical service modules:

  • Component Services: Process, connector, and component management
  • Runtime Services: Atom, execution, and deployment management
  • Platform Services: Account, environment, and user management
  • Monitoring Services: Logs, metrics, and audit trails

Each service provides intuitive methods following REST conventions:

  • get_*() - Retrieve single resources
  • query_*() - Search and filter resources
  • create_*() - Create new resources
  • update_*() - Modify existing resources
  • delete_*() - Remove resources

🔗 Resources

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

⚠️ Requirements

  • Python 3.9 or higher
  • Active Boomi account with API access
  • Valid API token or username/password credentials

Built with ❤️ for the Boomi developer community

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

boomi-3.0.1.tar.gz (453.0 kB view details)

Uploaded Source

Built Distribution

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

boomi-3.0.1-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file boomi-3.0.1.tar.gz.

File metadata

  • Download URL: boomi-3.0.1.tar.gz
  • Upload date:
  • Size: 453.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for boomi-3.0.1.tar.gz
Algorithm Hash digest
SHA256 d74f74effc6f1f1e203f6e2cb7fe2bb567f14b0e4edf101cf52aba366ba92795
MD5 37ccb00a9927f3f22e395e3b0e9d1ec3
BLAKE2b-256 348f3c665344304a532ba43359501f7b92f0a24be86eabea7c9e4b759f49fbdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for boomi-3.0.1.tar.gz:

Publisher: publish.yml on RenEra-ai/boomi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file boomi-3.0.1-py3-none-any.whl.

File metadata

  • Download URL: boomi-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for boomi-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e682db2e6914d18826af762792fe70a4ebff38fe005032f53d91271fa60dd6
MD5 19446e385b9f461ba32b9576591097ae
BLAKE2b-256 83b716740e1b7251b9174681088304034bc294eed170afd967fe2cad2e25c1be

See more details on using hashes here.

Provenance

The following attestation bundles were made for boomi-3.0.1-py3-none-any.whl:

Publisher: publish.yml on RenEra-ai/boomi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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