Command-line interface for Boomi Platform API
Project description
pyboomi-cli
Command-line interface for the Boomi Platform API.
Installation
For Development
# Clone the repository
git clone https://github.com/iesoftwaredeveloper/pyboomi-cli
cd pyboomi-cli
# Install with development dependencies
pip install -e .[dev]
For Usage (when published)
pip install pyboomi-cli
From Source
git clone https://github.com/iesoftwaredeveloper/pyboomi-cli
cd pyboomi-cli
pip install -e .
Usage
# Get help (both entry points are available)
boomi --help
pyboomi --help
# Query folders (folders alias is supported)
boomi folder query --account-id YOUR_ACCOUNT_ID --username YOUR_USERNAME --api-token YOUR_API_TOKEN
# or
boomi folders query --account-id YOUR_ACCOUNT_ID --username YOUR_USERNAME --api-token YOUR_API_TOKEN
# Filter folders by name and print verbose request/response
boomi folder query --name "My Folder" --verbose
# Filter folders with parent constraints
boomi folder query --name "My Folder" --parent-id 0000-parent-id
boomi folder query --name "My Folder" --parent-name "Parent Folder"
boomi folder query --name "My Folder" --parent-path "/Root/Parent"
# Create a folder (parent can be provided by id or name/path)
boomi folder create --name "New Folder" --parent-id 0000-parent-id
boomi folder create --name "New Folder" --parent-name "Parent Folder"
boomi folder create --name "New Folder" --parent-name "Parent Folder" --parent-path "/Root/Parent"
# Using environment variables
export BOOMI_ACCT=your-account-id
export BOOMI_USER=your-username
export BOOMI_TOKEN=your-api-token
boomi folder query
# Get component XML (optionally include branch/version with ~)
boomi component get 1234-abcd
boomi component get 1234-abcd --branch-id 5678-branch --version 1.0
# Get component metadata for a branch (json|yaml|text)
boomi component metadata 1234-abcd --branch-id 5678-branch --output-format json
# Create a packaged component
boomi package create 1234-abcd --version 1.0.0 --notes "Initial package"
# Query packaged components by component ID or version (supports xml)
boomi package query --component-id 1234-abcd --package-version 1.0.0 --output-format xml
# Query branches (filter by name or parent)
boomi branch query --name "feature-x"
# Create a new branch under a parent branch
boomi branch create 1111-parent "feature-x"
# Update a branch
boomi branch update 2222-branch --name "feature-x-renamed" --ready
# Delete a branch
boomi branch delete 2222-branch
Commands
folder— Manage Boomi folders (group command, alias:folders)- Subcommands:
folder query— Query and list folders (--name,--parent-id,--parent-name,--parent-path,--verbose)folder create— Create a folder (--namerequired;--parent-idor--parent-namerequired, with optional--parent-pathto disambiguate;--output-formatjson|yaml|text)
- Common options:
--account-id,--username,--api-token
- Subcommands:
component— Manage Boomi components (group command)- Subcommands:
component get <component_id>— Get component XML (--branch-id,--versionoptional; always returns XML)component metadata <component_id>— Get component metadata (--branch-idoptional;--output-formatjson|yaml|text)
- Common options:
--account-id,--username,--api-token
- Subcommands:
package— Manage Boomi packages (group command)- Subcommands:
package create <component_id> --version <version>— Create packaged component (--notes,--branch-name,--output-formatjson|yaml|text|xml)package get <packaged_component_id>— Get packaged component (--output-formatjson|yaml|text|xml)package query— Query packaged components (--component-id,--package-version,--output-formatjson|yaml|text|xml)
- Common options:
--account-id,--username,--api-token
- Subcommands:
branch— Manage Boomi branches (group command)- Subcommands:
branch get <branch_id>— Get a branchbranch query— Query branches (--name,--parent-branch-id,--package-id,--ready,--output-formatjson|yaml|text)branch create <parent_branch_id> <branch_name>— Create a branch (--package-id,--output-formatjson|yaml|text)branch update <branch_id>— Update a branch (--name,--description,--ready/--not-ready,--output-formatjson|yaml|text)branch delete <branch_id>— Delete a branch
- Common options:
--account-id,--username,--api-token
- Subcommands:
process— Manage Boomi processes (alias:processes) — placeholder
Environment Variables
BOOMI_ACCT: Your Boomi account IDBOOMI_USER: Your Boomi username (email)BOOMI_TOKEN: Your Boomi API tokenBOOMI_AUTH: Base64 encoded Basic Auth string (alternative to username/token)
Output Formats
Many commands support --output-format with the following values:
json(default)yaml(falls back to json if PyYAML is not installed)text(simple key/value text)xml(returns raw XML when requested; defaults to XML forcomponent get)
Templates
The templates/ directory contains XML templates for various Boomi component types including:
- Processes: Unit test harnesses and process templates
- Connectors: Database, API, and file connectors
- Profiles: JSON, XML, flat file, and database profiles
- Maps: Data mapping templates and functions
- APIs: API services and proxy configurations
- Scripts: Process and map scripts
- Certificates: Security certificate templates
These templates provide standardized starting points for creating Boomi components. See TEMPLATE_SYSTEM.md for detailed information about the template system and usage.
Documentation
- CHANGELOG.md - Version history and release notes
- TEMPLATE_SYSTEM.md - Template system documentation
- TEMPLATES_STRUCTURE.md - Template directory structure
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyboomi_cli-0.3.1.tar.gz.
File metadata
- Download URL: pyboomi_cli-0.3.1.tar.gz
- Upload date:
- Size: 39.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4c7f9035244d7bdf77613e9fff95630608716be46f1f6593bafe53c4f5d2b08
|
|
| MD5 |
ae79c4013ce5ec7537c3afa14cb6bcd3
|
|
| BLAKE2b-256 |
5992705d9ec0aef54ea25165d067f14b4eaf531229ab0607b43bf64c24ca384c
|
Provenance
The following attestation bundles were made for pyboomi_cli-0.3.1.tar.gz:
Publisher:
publish-pypi.yml on iesoftwaredeveloper/pyboomi-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyboomi_cli-0.3.1.tar.gz -
Subject digest:
e4c7f9035244d7bdf77613e9fff95630608716be46f1f6593bafe53c4f5d2b08 - Sigstore transparency entry: 945463733
- Sigstore integration time:
-
Permalink:
iesoftwaredeveloper/pyboomi-cli@77b653f244d760ba8d3de8e0ff6416f26ce9e9fb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/iesoftwaredeveloper
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@77b653f244d760ba8d3de8e0ff6416f26ce9e9fb -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pyboomi_cli-0.3.1-py3-none-any.whl.
File metadata
- Download URL: pyboomi_cli-0.3.1-py3-none-any.whl
- Upload date:
- Size: 43.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a62f7984a0aca7b41ce1ce8d04aa194a6182960a5ae7b75ef5604afdf78b4bed
|
|
| MD5 |
df62ff3e50bbfa510de11e47bdcd936b
|
|
| BLAKE2b-256 |
96db64d28cd9b4bd47829418d1ec90cd9ba11802c9715a6d447f826ad98ff8b7
|
Provenance
The following attestation bundles were made for pyboomi_cli-0.3.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on iesoftwaredeveloper/pyboomi-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyboomi_cli-0.3.1-py3-none-any.whl -
Subject digest:
a62f7984a0aca7b41ce1ce8d04aa194a6182960a5ae7b75ef5604afdf78b4bed - Sigstore transparency entry: 945463764
- Sigstore integration time:
-
Permalink:
iesoftwaredeveloper/pyboomi-cli@77b653f244d760ba8d3de8e0ff6416f26ce9e9fb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/iesoftwaredeveloper
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@77b653f244d760ba8d3de8e0ff6416f26ce9e9fb -
Trigger Event:
workflow_dispatch
-
Statement type: