Command-line interface for Boomi Platform API
Project description
pyboomi-cli
Command-line interface for the Boomi Platform API.
Disclaimer
This is an independent, unofficial project. It is not affiliated with, endorsed by, or supported by Boomi or any related entities. This tool is provided as-is for personal and community use. For official Boomi tools and support, visit boomi.com.
Installation
pip install pyboomi-cli
Usage
Authentication
Recommended: Use environment variables for authentication
export BOOMI_ACCT=your-account-id
export BOOMI_USER=your-username
export BOOMI_TOKEN=your-api-token
# Now run commands without authentication flags
boomi folder query
boomi component get 1234-abcd
Alternatively, use command-line options (must be specified BEFORE the subcommand):
# Correct: Options before subcommand
boomi folder --account-id YOUR_ACCOUNT_ID --username YOUR_USERNAME --api-token YOUR_API_TOKEN query
# Incorrect: Options after subcommand will fail
boomi folder query --account-id YOUR_ACCOUNT_ID # This will NOT work
Examples
# Get help (both entry points are available)
boomi --help
pyboomi --help
# Query folders (folders alias is supported)
boomi folder query
# or
boomi folders query
# 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"
# 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
# Create a merge request
boomi merge create --source-branch-id QjoyMDI1OTk --destination-branch-id QjoyMDI1OTg --strategy OVERRIDE --priority-branch SOURCE
# Get merge request details
boomi merge get TVI6NTB9
# Query merge requests by branch
boomi merge query --source-branch-id QjoyMDI1OTk --stage MERGED
# Execute a merge
boomi merge execute TVI6NTQ5 --action MERGE
# Update merge request to resolve conflicts
boomi merge update TVI6NjY3 --component-guid 50e9d4f5-fea6-4ab0-91b1-d8b683ede8c0 --resolution KEEP_DESTINATION
# Delete a merge request
boomi merge delete TVI6NTQ5
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:
merge— Manage Boomi merge requests (group command)- Subcommands:
merge create— Create a merge request (--source-branch-id,--destination-branch-id,--strategy,--priority-branch,--note,--output-formatjson|yaml|text)merge get <merge_request_id>— Get a merge request by IDmerge bulk <merge_request_id>...— Retrieve multiple merge requests by IDsmerge query— Query merge requests (--source-branch-id,--destination-branch-id,--stage,--created-by,--modified-by,--created-date,--modified-date,--output-formatjson|yaml|text)merge update <merge_request_id>— Update a merge request (--strategy,--note,--component-guid,--resolution,--exclude-component,--output-formatjson|yaml|text)merge execute <merge_request_id>— Execute a merge action (--actionMERGE|REVERT|RETRY_DRAFTING,--output-formatjson|yaml|text)merge delete <merge_request_id>— Delete a merge request
- Common options:
--account-id,--username,--api-token
- Subcommands:
process— Manage Boomi processes (alias:processes) — placeholder
Environment Variables
Recommended: Use environment variables instead of command-line options
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)
Environment variables are preferred because:
- More secure (not visible in command history or process lists)
- Cleaner command syntax
- Easier to manage across multiple commands
- Can be set once per session or in shell configuration
If you must use command-line options, remember they must be specified BEFORE the subcommand:
# Correct
boomi component --account-id ACCT123 get <component-id>
# Incorrect
boomi component get --account-id ACCT123 <component-id>
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.9.0.tar.gz.
File metadata
- Download URL: pyboomi_cli-0.9.0.tar.gz
- Upload date:
- Size: 46.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09816f97deb7a76ed2609c3b5ade9ba8f1c54330dcd670727fb85ba30d6e13e1
|
|
| MD5 |
c532103691d54ace81a2b78a030b2b84
|
|
| BLAKE2b-256 |
fc2b661e823780c12273ea0d495a595427a38456d7027dc625dbe0e87d08648e
|
Provenance
The following attestation bundles were made for pyboomi_cli-0.9.0.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.9.0.tar.gz -
Subject digest:
09816f97deb7a76ed2609c3b5ade9ba8f1c54330dcd670727fb85ba30d6e13e1 - Sigstore transparency entry: 1219392738
- Sigstore integration time:
-
Permalink:
iesoftwaredeveloper/pyboomi-cli@fb3814a330e507389f05c85be160b636779c3be6 -
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@fb3814a330e507389f05c85be160b636779c3be6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pyboomi_cli-0.9.0-py3-none-any.whl.
File metadata
- Download URL: pyboomi_cli-0.9.0-py3-none-any.whl
- Upload date:
- Size: 54.0 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 |
a2eeeda94b5eb8b7c7540fecc34808b22d70fd79b46c7a4b47d7bb4aa6f3d036
|
|
| MD5 |
b83ee9f3a0da21873245f862bf785929
|
|
| BLAKE2b-256 |
af797c8672f5587fe042d6922d63a2191ab14c859f1dc24d27ccd37ea2ce9451
|
Provenance
The following attestation bundles were made for pyboomi_cli-0.9.0-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.9.0-py3-none-any.whl -
Subject digest:
a2eeeda94b5eb8b7c7540fecc34808b22d70fd79b46c7a4b47d7bb4aa6f3d036 - Sigstore transparency entry: 1219392775
- Sigstore integration time:
-
Permalink:
iesoftwaredeveloper/pyboomi-cli@fb3814a330e507389f05c85be160b636779c3be6 -
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@fb3814a330e507389f05c85be160b636779c3be6 -
Trigger Event:
workflow_dispatch
-
Statement type: