uipath 1.0.0__py3-none-any.whl → 1.1.1__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-1.1.1.dist-info/METADATA +177 -0
- uipath-1.1.1.dist-info/RECORD +7 -0
- uipath-1.0.0.dist-info/METADATA +0 -181
- uipath-1.0.0.dist-info/RECORD +0 -7
- {uipath-1.0.0.dist-info → uipath-1.1.1.dist-info}/LICENSE +0 -0
- {uipath-1.0.0.dist-info → uipath-1.1.1.dist-info}/WHEEL +0 -0
- {uipath-1.0.0.dist-info → uipath-1.1.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,177 @@
|
|
|
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
|
|
@@ -0,0 +1,7 @@
|
|
|
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,,
|
uipath-1.0.0.dist-info/METADATA
DELETED
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.2
|
|
2
|
-
Name: uipath
|
|
3
|
-
Version: 1.0.0
|
|
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
|
-
Classifier: Development Status :: 3 - Alpha
|
|
9
|
-
Classifier: Intended Audience :: Developers
|
|
10
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
-
Classifier: Operating System :: OS Independent
|
|
12
|
-
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
-
Requires-Python: >=3.7
|
|
20
|
-
Description-Content-Type: text/markdown
|
|
21
|
-
License-File: LICENSE
|
|
22
|
-
Requires-Dist: requests>=2.25.0
|
|
23
|
-
Requires-Dist: typing-extensions>=4.0.0; python_version < "3.8"
|
|
24
|
-
Provides-Extra: dev
|
|
25
|
-
Requires-Dist: pytest>=6.0; extra == "dev"
|
|
26
|
-
Requires-Dist: pytest-cov>=2.0; extra == "dev"
|
|
27
|
-
Requires-Dist: black>=22.0; extra == "dev"
|
|
28
|
-
Requires-Dist: isort>=5.0; extra == "dev"
|
|
29
|
-
Requires-Dist: mypy>=0.900; extra == "dev"
|
|
30
|
-
Requires-Dist: flake8>=3.9; extra == "dev"
|
|
31
|
-
Dynamic: author
|
|
32
|
-
Dynamic: author-email
|
|
33
|
-
Dynamic: classifier
|
|
34
|
-
Dynamic: description
|
|
35
|
-
Dynamic: description-content-type
|
|
36
|
-
Dynamic: home-page
|
|
37
|
-
Dynamic: provides-extra
|
|
38
|
-
Dynamic: requires-dist
|
|
39
|
-
Dynamic: requires-python
|
|
40
|
-
Dynamic: summary
|
|
41
|
-
|
|
42
|
-
# UiPath Python SDK
|
|
43
|
-
|
|
44
|
-
A Python SDK for interacting with UiPath's APIs. This SDK provides a simple and intuitive way to automate UiPath operations programmatically.
|
|
45
|
-
|
|
46
|
-
## Installation
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
pip install uipath
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
## Quick Start
|
|
53
|
-
|
|
54
|
-
```python
|
|
55
|
-
from uipath.auth.authentication import UiPathAuth
|
|
56
|
-
from uipath.client.api_client import UiPathClient
|
|
57
|
-
from uipath.resources.robots import RobotsResource
|
|
58
|
-
|
|
59
|
-
# Initialize authentication
|
|
60
|
-
auth = UiPathAuth(
|
|
61
|
-
tenant_name="your_tenant",
|
|
62
|
-
client_id="your_client_id",
|
|
63
|
-
client_secret="your_client_secret"
|
|
64
|
-
)
|
|
65
|
-
|
|
66
|
-
# Create API client
|
|
67
|
-
client = UiPathClient(auth)
|
|
68
|
-
|
|
69
|
-
# Use the robots resource
|
|
70
|
-
robots = RobotsResource(client)
|
|
71
|
-
|
|
72
|
-
# List all robots
|
|
73
|
-
all_robots = robots.list_robots()
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
## Features
|
|
77
|
-
|
|
78
|
-
- Simple, intuitive interface for UiPath APIs
|
|
79
|
-
- Authentication handling
|
|
80
|
-
- Comprehensive error handling
|
|
81
|
-
- Type hints for better IDE support
|
|
82
|
-
- Resource classes for all major UiPath entities:
|
|
83
|
-
- Robots
|
|
84
|
-
- Jobs
|
|
85
|
-
- Processes
|
|
86
|
-
- Assets
|
|
87
|
-
- And more...
|
|
88
|
-
|
|
89
|
-
## Authentication
|
|
90
|
-
|
|
91
|
-
The SDK supports client credentials authentication. You'll need:
|
|
92
|
-
- Tenant name
|
|
93
|
-
- Client ID
|
|
94
|
-
- Client secret
|
|
95
|
-
|
|
96
|
-
You can obtain these credentials from your UiPath Orchestrator account under Admin → API Access.
|
|
97
|
-
|
|
98
|
-
```python
|
|
99
|
-
auth = UiPathAuth(
|
|
100
|
-
tenant_name="your_tenant",
|
|
101
|
-
client_id="your_client_id",
|
|
102
|
-
client_secret="your_client_secret",
|
|
103
|
-
scope="OR.Default" # Optional, defaults to OR.Default
|
|
104
|
-
)
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
## Usage Examples
|
|
108
|
-
|
|
109
|
-
### Working with Robots
|
|
110
|
-
|
|
111
|
-
```python
|
|
112
|
-
# List all robots
|
|
113
|
-
robots = RobotsResource(client)
|
|
114
|
-
all_robots = robots.list_robots()
|
|
115
|
-
|
|
116
|
-
# Get a specific robot
|
|
117
|
-
robot = robots.get_robot(robot_id=123)
|
|
118
|
-
|
|
119
|
-
# Create a new robot
|
|
120
|
-
new_robot = robots.create_robot(
|
|
121
|
-
name="MyNewRobot",
|
|
122
|
-
machine_name="DESKTOP-123",
|
|
123
|
-
type="Unattended"
|
|
124
|
-
)
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
### Error Handling
|
|
128
|
-
|
|
129
|
-
The SDK provides custom exceptions for different types of errors:
|
|
130
|
-
|
|
131
|
-
```python
|
|
132
|
-
from uipath.exceptions.exceptions import AuthenticationError, ApiError
|
|
133
|
-
|
|
134
|
-
try:
|
|
135
|
-
robots.get_robot(robot_id=999)
|
|
136
|
-
except AuthenticationError as e:
|
|
137
|
-
print("Authentication failed:", e)
|
|
138
|
-
except ApiError as e:
|
|
139
|
-
print("API request failed:", e)
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
## Configuration
|
|
143
|
-
|
|
144
|
-
The SDK can be configured with custom endpoints and API versions:
|
|
145
|
-
|
|
146
|
-
```python
|
|
147
|
-
client = UiPathClient(
|
|
148
|
-
auth,
|
|
149
|
-
base_url="https://cloud.uipath.com", # Custom base URL
|
|
150
|
-
api_version="v1" # API version
|
|
151
|
-
)
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
## Contributing
|
|
155
|
-
|
|
156
|
-
Contributions are welcome! Please feel free to submit a Pull Request.
|
|
157
|
-
|
|
158
|
-
1. Fork the repository
|
|
159
|
-
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
|
|
160
|
-
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
|
|
161
|
-
4. Push to the branch (`git push origin feature/AmazingFeature`)
|
|
162
|
-
5. Open a Pull Request
|
|
163
|
-
|
|
164
|
-
## License
|
|
165
|
-
|
|
166
|
-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
167
|
-
|
|
168
|
-
## Support
|
|
169
|
-
|
|
170
|
-
If you encounter any problems or have questions, please:
|
|
171
|
-
1. Check the [documentation](docs/)
|
|
172
|
-
2. Open an issue in the GitHub repository
|
|
173
|
-
|
|
174
|
-
## Requirements
|
|
175
|
-
|
|
176
|
-
- Python 3.7+
|
|
177
|
-
- requests library
|
|
178
|
-
|
|
179
|
-
## Disclaimer
|
|
180
|
-
|
|
181
|
-
This is an unofficial SDK and is not affiliated with, maintained, authorized, endorsed, or sponsored by UiPath.
|
uipath-1.0.0.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.0.0.dist-info/LICENSE,sha256=FyuBsNr3YLXHPRQfWIpCAC4brUeSdYelr01V-Fkog8U,1066
|
|
4
|
-
uipath-1.0.0.dist-info/METADATA,sha256=r9uU1FkrqU8Lkyb7l-GqA1pzys9E4VaActrh878pzoM,4536
|
|
5
|
-
uipath-1.0.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
6
|
-
uipath-1.0.0.dist-info/top_level.txt,sha256=cO-fuTo_YlozqaZ6VNk0ST79wuBjLkcTRzYpXLM6rRg,7
|
|
7
|
-
uipath-1.0.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|