uipath 1.1.1__py3-none-any.whl → 2.0.0.dev2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of uipath might be problematic. Click here for more details.
- uipath-2.0.0.dev2.dist-info/METADATA +198 -0
- uipath-2.0.0.dev2.dist-info/RECORD +4 -0
- {uipath-1.1.1.dist-info → uipath-2.0.0.dev2.dist-info}/WHEEL +1 -2
- uipath-2.0.0.dev2.dist-info/entry_points.txt +2 -0
- uipath/__init__.py +0 -9
- uipath/__version__.py +0 -3
- uipath-1.1.1.dist-info/LICENSE +0 -21
- uipath-1.1.1.dist-info/METADATA +0 -177
- uipath-1.1.1.dist-info/RECORD +0 -7
- uipath-1.1.1.dist-info/top_level.txt +0 -1
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: uipath
|
|
3
|
+
Version: 2.0.0.dev2
|
|
4
|
+
Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
|
|
5
|
+
Project-URL: Homepage, https://uipath.com
|
|
6
|
+
Project-URL: Repository, https://github.com/UiPath/uipath-python
|
|
7
|
+
Maintainer-email: Marius Cosareanu <marius.cosareanu@uipath.com>, Cristian Pufu <cristian.pufu@uipath.com>
|
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
15
|
+
Requires-Python: >=3.9
|
|
16
|
+
Requires-Dist: click>=8.1.8
|
|
17
|
+
Requires-Dist: httpx>=0.28.1
|
|
18
|
+
Requires-Dist: pydantic>=2.11.1
|
|
19
|
+
Requires-Dist: pytest-asyncio>=0.25.3
|
|
20
|
+
Requires-Dist: python-dotenv>=1.0.1
|
|
21
|
+
Requires-Dist: requests>=2.32.3
|
|
22
|
+
Requires-Dist: tenacity>=9.0.0
|
|
23
|
+
Requires-Dist: tomli>=2.2.1
|
|
24
|
+
Requires-Dist: types-requests>=2.32.0.20250306
|
|
25
|
+
Provides-Extra: langchain
|
|
26
|
+
Requires-Dist: uipath-langchain==0.0.85; extra == 'langchain'
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+
# UiPath Python SDK
|
|
30
|
+
|
|
31
|
+
[](https://pypi.org/project/uipath/)
|
|
32
|
+
[](https://img.shields.io/pypi/v/uipath)
|
|
33
|
+
[](https://pypi.org/project/uipath/)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
A Python SDK that enables programmatic interaction with UiPath 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 Platform.
|
|
37
|
+
|
|
38
|
+
## Table of Contents
|
|
39
|
+
|
|
40
|
+
- [Installation](#installation)
|
|
41
|
+
- [Configuration](#configuration)
|
|
42
|
+
- [Environment Variables](#environment-variables)
|
|
43
|
+
- [Basic Usage](#basic-usage)
|
|
44
|
+
- [Available Services](#available-services)
|
|
45
|
+
- [Examples](#examples)
|
|
46
|
+
- [Buckets Service](#buckets-service)
|
|
47
|
+
- [Context Grounding Service](#context-grounding-service)
|
|
48
|
+
- [Command Line Interface (CLI)](#command-line-interface-cli)
|
|
49
|
+
- [Authentication](#authentication)
|
|
50
|
+
- [Initialize a Project](#initialize-a-project)
|
|
51
|
+
- [Debug a Project](#debug-a-project)
|
|
52
|
+
- [Package a Project](#package-a-project)
|
|
53
|
+
- [Publish a Package](#publish-a-package)
|
|
54
|
+
- [Project Structure](#project-structure)
|
|
55
|
+
- [Development](#development)
|
|
56
|
+
- [Setting Up a Development Environment](#setting-up-a-development-environment)
|
|
57
|
+
|
|
58
|
+
## Installation
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
pip install uipath
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
using `uv`:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
uv add uipath
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Configuration
|
|
71
|
+
|
|
72
|
+
### Environment Variables
|
|
73
|
+
|
|
74
|
+
Create a `.env` file in your project root with the following variables:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
UIPATH_URL=https://cloud.uipath.com/ACCOUNT_NAME/TENANT_NAME
|
|
78
|
+
UIPATH_ACCESS_TOKEN=YOUR_TOKEN_HERE
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Basic Usage
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
from uipath import UiPath
|
|
85
|
+
# Initialize the SDK
|
|
86
|
+
sdk = UiPath()
|
|
87
|
+
# Execute a process
|
|
88
|
+
job = sdk.processes.invoke(
|
|
89
|
+
name="MyProcess",
|
|
90
|
+
input_arguments={"param1": "value1", "param2": 42}
|
|
91
|
+
)
|
|
92
|
+
# Work with assets
|
|
93
|
+
asset = sdk.assets.retrieve(name="MyAsset")
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Available Services
|
|
97
|
+
|
|
98
|
+
The SDK provides access to various UiPath services:
|
|
99
|
+
- `sdk.processes` - Manage and execute UiPath automation processes
|
|
100
|
+
- `sdk.assets` - Work with assets (variables, credentials) stored in UiPath
|
|
101
|
+
- `sdk.buckets` - Manage cloud storage containers for automation files
|
|
102
|
+
- `sdk.connections` - Handle connections to external systems
|
|
103
|
+
- `sdk.context_grounding` - Work with semantic contexts for AI-enabled automation
|
|
104
|
+
- `sdk.jobs` - Monitor and manage automation jobs
|
|
105
|
+
- `sdk.queues` - Work with transaction queues
|
|
106
|
+
- `sdk.actions` - Work with Action Center
|
|
107
|
+
- `sdk.api_client` - Direct access to the API client for custom requests
|
|
108
|
+
|
|
109
|
+
## Examples
|
|
110
|
+
|
|
111
|
+
### Buckets Service
|
|
112
|
+
|
|
113
|
+
```python
|
|
114
|
+
# Download a file from a bucket
|
|
115
|
+
sdk.buckets.download(
|
|
116
|
+
bucket_key="my-bucket",
|
|
117
|
+
blob_file_path="path/to/file.xlsx",
|
|
118
|
+
destination_path="local/path/file.xlsx"
|
|
119
|
+
)
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Context Grounding Service
|
|
123
|
+
|
|
124
|
+
```python
|
|
125
|
+
# Search for contextual information
|
|
126
|
+
results = sdk.context_grounding.search(
|
|
127
|
+
name="my-knowledge-index",
|
|
128
|
+
query="How do I process an invoice?",
|
|
129
|
+
number_of_results=5
|
|
130
|
+
)
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Command Line Interface (CLI)
|
|
134
|
+
|
|
135
|
+
The SDK also provides a command-line interface for creating, packaging, and deploying automations:
|
|
136
|
+
|
|
137
|
+
### Authentication
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
uipath auth
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
This command opens a browser for authentication and creates/updates your `.env` file with the proper credentials.
|
|
144
|
+
|
|
145
|
+
### Initialize a Project
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
uipath init [ENTRYPOINT]
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
Creates a `uipath.json` configuration file for your project. If the entrypoint is not provided, it will try to find a single Python file in the current directory.
|
|
152
|
+
|
|
153
|
+
### Debug a Project
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
uipath run ENTRYPOINT [INPUT]
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Executes a Python script with the provided JSON input arguments.
|
|
160
|
+
|
|
161
|
+
### Package a Project
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
uipath pack
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
Packages your project into a `.nupkg` file that can be deployed to UiPath.
|
|
168
|
+
|
|
169
|
+
**Note:** Your `pyproject.toml` must include:
|
|
170
|
+
- A description field (avoid characters: &, <, >, ", ', ;)
|
|
171
|
+
- Author information
|
|
172
|
+
|
|
173
|
+
Example:
|
|
174
|
+
```toml
|
|
175
|
+
description = "Your package description"
|
|
176
|
+
authors = [{name = "Your Name", email = "your.email@example.com"}]
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### Publish a Package
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
uipath publish
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
Publishes the most recently created package to your UiPath Orchestrator.
|
|
186
|
+
|
|
187
|
+
## Project Structure
|
|
188
|
+
|
|
189
|
+
To properly use the CLI for packaging and publishing, your project should include:
|
|
190
|
+
- A `pyproject.toml` file with project metadata
|
|
191
|
+
- A `uipath.json` file (generated by `uipath init`)
|
|
192
|
+
- Any Python files needed for your automation
|
|
193
|
+
|
|
194
|
+
## Development
|
|
195
|
+
|
|
196
|
+
### Setting Up a Development Environment
|
|
197
|
+
|
|
198
|
+
Please read our [contribution guidelines](CONTRIBUTING.md) before submitting a pull request.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
uipath-2.0.0.dev2.dist-info/METADATA,sha256=0mpddrh7zJIk7VBSXdq_zcCQ1wBbl6Ex8ISqyNFFIx4,5831
|
|
2
|
+
uipath-2.0.0.dev2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
3
|
+
uipath-2.0.0.dev2.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
|
|
4
|
+
uipath-2.0.0.dev2.dist-info/RECORD,,
|
uipath/__init__.py
DELETED
uipath/__version__.py
DELETED
uipath-1.1.1.dist-info/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 Your Name
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
uipath-1.1.1.dist-info/METADATA
DELETED
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.2
|
|
2
|
-
Name: uipath
|
|
3
|
-
Version: 1.1.1
|
|
4
|
-
Summary: A Python SDK for UiPath
|
|
5
|
-
Home-page: https://github.com/christianblandford/uipath
|
|
6
|
-
Author: Christian Blandford
|
|
7
|
-
Author-email: christianblandford@me.com
|
|
8
|
-
Keywords: uipath,rpa,robotic process automation,automation,robotics,orchestrator,process-automation,api-client,api-wrapper,uipath-api,uipath-orchestrator,workflow-automation
|
|
9
|
-
Classifier: Development Status :: 3 - Alpha
|
|
10
|
-
Classifier: Intended Audience :: Developers
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
-
Classifier: Operating System :: OS Independent
|
|
13
|
-
Classifier: Programming Language :: Python :: 3
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
-
Requires-Python: >=3.7
|
|
21
|
-
Description-Content-Type: text/markdown
|
|
22
|
-
License-File: LICENSE
|
|
23
|
-
Requires-Dist: requests>=2.25.0
|
|
24
|
-
Provides-Extra: dev
|
|
25
|
-
Requires-Dist: mkdocs-material; extra == "dev"
|
|
26
|
-
Requires-Dist: mkdocs-autorefs; extra == "dev"
|
|
27
|
-
Requires-Dist: mkdocstrings[python]; extra == "dev"
|
|
28
|
-
Dynamic: author
|
|
29
|
-
Dynamic: author-email
|
|
30
|
-
Dynamic: classifier
|
|
31
|
-
Dynamic: description
|
|
32
|
-
Dynamic: description-content-type
|
|
33
|
-
Dynamic: home-page
|
|
34
|
-
Dynamic: keywords
|
|
35
|
-
Dynamic: provides-extra
|
|
36
|
-
Dynamic: requires-dist
|
|
37
|
-
Dynamic: requires-python
|
|
38
|
-
Dynamic: summary
|
|
39
|
-
|
|
40
|
-
# 🤖 UiPath Python SDK
|
|
41
|
-
|
|
42
|
-
The most awesome Python SDK for UiPath Orchestrator! Automate all the things with simple Python code.
|
|
43
|
-
|
|
44
|
-
[](https://badge.fury.io/py/uipath)
|
|
45
|
-
[](https://christianblandford.github.io/uipath/)
|
|
46
|
-
|
|
47
|
-
## 🚀 Quick Install
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
pip install uipath
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## ⚡ Quick Start
|
|
54
|
-
|
|
55
|
-
```python
|
|
56
|
-
from uipath import UiPathClient
|
|
57
|
-
|
|
58
|
-
# Connect to UiPath in just 3 lines! 🎉
|
|
59
|
-
client = UiPathClient(
|
|
60
|
-
organization_id="your_organization_id",
|
|
61
|
-
tenant_id="your_tenant_id",
|
|
62
|
-
client_id="your_client_id",
|
|
63
|
-
client_secret="your_client_secret"
|
|
64
|
-
)
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## 🎯 Why Choose This SDK?
|
|
68
|
-
|
|
69
|
-
- 🔥 **Complete API Coverage** - Access everything UiPath Orchestrator offers
|
|
70
|
-
- 🎈 **Super Simple Interface** - Designed for humans, by humans
|
|
71
|
-
- 🛡️ **Type Hints** - Get awesome IDE support
|
|
72
|
-
- 📚 **Amazing Docs** - [Check them out here!](https://christianblandford.github.io/uipath/)
|
|
73
|
-
|
|
74
|
-
## 🎨 Features
|
|
75
|
-
|
|
76
|
-
Manage all your UiPath resources with Python:
|
|
77
|
-
|
|
78
|
-
- 🤖 Robots
|
|
79
|
-
- 📦 Packages
|
|
80
|
-
- 📋 Jobs
|
|
81
|
-
- 📁 Folders
|
|
82
|
-
- 🎮 Processes
|
|
83
|
-
- 🔑 Assets
|
|
84
|
-
- 📥 Queues
|
|
85
|
-
- 📚 Libraries
|
|
86
|
-
- 💻 Machines
|
|
87
|
-
- ...and more!
|
|
88
|
-
|
|
89
|
-
## 📖 Examples
|
|
90
|
-
|
|
91
|
-
### Managing Robots
|
|
92
|
-
|
|
93
|
-
```python
|
|
94
|
-
# List all your robot friends
|
|
95
|
-
robots = client.robots.get_all()
|
|
96
|
-
|
|
97
|
-
# Create a new robot buddy
|
|
98
|
-
new_robot = client.robots.create({
|
|
99
|
-
"Name": "Wall-E",
|
|
100
|
-
"Type": "Unattended",
|
|
101
|
-
"Username": "domain\\wall-e"
|
|
102
|
-
})
|
|
103
|
-
|
|
104
|
-
# Update robot status
|
|
105
|
-
client.robots.toggle_enabled(robot_id=123, enabled=True)
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
### Working with Queues
|
|
109
|
-
|
|
110
|
-
```python
|
|
111
|
-
# Add items to your queue
|
|
112
|
-
client.queues.add_queue_item(
|
|
113
|
-
queue_name="TPS_Reports",
|
|
114
|
-
reference="TPS-001",
|
|
115
|
-
priority="High",
|
|
116
|
-
specific_content={
|
|
117
|
-
"ReportNumber": "TPS-001",
|
|
118
|
-
"Urgent": True
|
|
119
|
-
}
|
|
120
|
-
)
|
|
121
|
-
|
|
122
|
-
# Process queue items
|
|
123
|
-
items = client.queues.get_queue_items(
|
|
124
|
-
queue_name="TPS_Reports",
|
|
125
|
-
status="New"
|
|
126
|
-
)
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
## 🔧 Configuration
|
|
130
|
-
|
|
131
|
-
```python
|
|
132
|
-
client = UiPathClient(
|
|
133
|
-
organization_id="org_id",
|
|
134
|
-
tenant_id="tenant_id",
|
|
135
|
-
client_id="client_id",
|
|
136
|
-
client_secret="shhh_its_a_secret",
|
|
137
|
-
base_url="https://cloud.uipath.com" # Optional
|
|
138
|
-
)
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
## 📚 Documentation
|
|
142
|
-
|
|
143
|
-
For full documentation, visit our [awesome docs page](https://christianblandford.github.io/uipath/)!
|
|
144
|
-
|
|
145
|
-
## 🤝 Contributing
|
|
146
|
-
|
|
147
|
-
We love contributions! Here's how:
|
|
148
|
-
|
|
149
|
-
1. 🍴 Fork it
|
|
150
|
-
2. 🌱 Create your feature branch (`git checkout -b feature/CoolFeature`)
|
|
151
|
-
3. 💾 Commit your changes (`git commit -m 'Add CoolFeature'`)
|
|
152
|
-
4. 📤 Push to the branch (`git push origin feature/CoolFeature`)
|
|
153
|
-
5. 🎁 Open a Pull Request
|
|
154
|
-
|
|
155
|
-
## 📝 License
|
|
156
|
-
|
|
157
|
-
MIT License - go wild! See [LICENSE](LICENSE) for more details.
|
|
158
|
-
|
|
159
|
-
## 💪 Support
|
|
160
|
-
|
|
161
|
-
Need help? We've got your back!
|
|
162
|
-
|
|
163
|
-
1. 📚 [Check out our docs](https://christianblandford.github.io/uipath/)
|
|
164
|
-
2. 🎫 [Open an issue](https://github.com/christianblandford/uipath/issues)
|
|
165
|
-
3. 💬 [Start a discussion](https://github.com/christianblandford/uipath/discussions)
|
|
166
|
-
|
|
167
|
-
## ⚡ Requirements
|
|
168
|
-
|
|
169
|
-
- Python 3.7+
|
|
170
|
-
- A love for automation! 🤖
|
|
171
|
-
|
|
172
|
-
## 📢 Disclaimer
|
|
173
|
-
|
|
174
|
-
This is an unofficial SDK created with ❤️ by the community. Not affiliated with UiPath Inc.
|
|
175
|
-
|
|
176
|
-
---
|
|
177
|
-
Made with 🦾 by developers, for developers
|
uipath-1.1.1.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
uipath/__init__.py,sha256=j2gsFvg5BudvoZxfNncyip-FBq9PqdM39hvCJzS6k0k,215
|
|
2
|
-
uipath/__version__.py,sha256=Q1SV_A_xAMGhRrDOq-kOmB2-vbVwqaYR7R11-BM4jq8,63
|
|
3
|
-
uipath-1.1.1.dist-info/LICENSE,sha256=FyuBsNr3YLXHPRQfWIpCAC4brUeSdYelr01V-Fkog8U,1066
|
|
4
|
-
uipath-1.1.1.dist-info/METADATA,sha256=vuwysUqqyDmdjLWXbmsXaGwEgdOFH3d1LdMtv6IxR7w,4675
|
|
5
|
-
uipath-1.1.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
6
|
-
uipath-1.1.1.dist-info/top_level.txt,sha256=cO-fuTo_YlozqaZ6VNk0ST79wuBjLkcTRzYpXLM6rRg,7
|
|
7
|
-
uipath-1.1.1.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
uipath
|