uipath: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools. · Pythie
A Python SDK that enables programmatic interaction with UiPath Cloud Platform services including processes, assets, buckets, context grounding, data services, jobs, and more. The package also features a CLI for creation, packaging, and deployment of automations to UiPath Cloud Platform.
from uipath.platform import UiPath
# Initialize the SDK
sdk = UiPath()
# Execute a process
job = sdk.processes.invoke(
name="MyProcess",
input_arguments={"param1": "value1", "param2": 42}
)
# Work with assets
asset = sdk.assets.retrieve(name="MyAsset")
Available Services
The SDK provides access to various UiPath services:
sdk.processes - Manage and execute UiPath automation processes
sdk.assets - Work with assets (variables, credentials) stored in UiPath
sdk.buckets - Manage cloud storage containers for automation files
sdk.connections - Handle connections to external systems
sdk.context_grounding - Work with semantic contexts for AI-enabled automation
sdk.jobs - Monitor and manage automation jobs
sdk.queues - Work with transaction queues
sdk.tasks - Work with Action Center
sdk.api_client - Direct access to the API client for custom requests
Examples
Buckets Service
# Download a file from a bucket
sdk.buckets.download(
bucket_key="my-bucket",
blob_file_path="path/to/file.xlsx",
destination_path="local/path/file.xlsx"
)
Context Grounding Service
# Search for contextual information
results = sdk.context_grounding.search(
name="my-knowledge-index",
query="How do I process an invoice?",
number_of_results=5
)
Command Line Interface (CLI)
The SDK also provides a command-line interface for creating, packaging, and deploying automations:
Authentication
uipath auth
This command opens a browser for authentication and creates/updates your .env file with the proper credentials.
Initialize a Project
uipath init
The uipath.json file should include your entry points in the functions section:
{
"functions": {
"main": "main.py:main"
}
}
Running uipath init will process these function definitions and create the corresponding entry-points.json file needed for deployment.
Use together with uipath: extensions, drivers, servers and companion tools.
uipath-langchainPythie’s Index: 86Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform452.2K downloads/mo