uipath 1.1.1__py3-none-any.whl → 2.0.0__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.

@@ -0,0 +1,197 @@
1
+ Metadata-Version: 2.4
2
+ Name: uipath
3
+ Version: 2.0.0
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.10
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Topic :: Software Development :: Build Tools
14
+ Requires-Python: >=3.10
15
+ Requires-Dist: click>=8.1.8
16
+ Requires-Dist: httpx>=0.28.1
17
+ Requires-Dist: pydantic>=2.11.1
18
+ Requires-Dist: pytest-asyncio>=0.25.3
19
+ Requires-Dist: python-dotenv>=1.0.1
20
+ Requires-Dist: requests>=2.32.3
21
+ Requires-Dist: tenacity>=9.0.0
22
+ Requires-Dist: tomli>=2.2.1
23
+ Requires-Dist: types-requests>=2.32.0.20250306
24
+ Provides-Extra: langchain
25
+ Requires-Dist: uipath-langchain==0.0.85; extra == 'langchain'
26
+ Description-Content-Type: text/markdown
27
+
28
+ # UiPath Python SDK
29
+
30
+ [![PyPI downloads](https://img.shields.io/pypi/dm/uipath.svg)](https://pypi.org/project/uipath/)
31
+ [![PyPI - Version](https://img.shields.io/pypi/v/uipath)](https://img.shields.io/pypi/v/uipath)
32
+ [![Python versions](https://img.shields.io/pypi/pyversions/uipath.svg)](https://pypi.org/project/uipath/)
33
+
34
+
35
+ 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.
36
+
37
+ ## Table of Contents
38
+
39
+ - [Installation](#installation)
40
+ - [Configuration](#configuration)
41
+ - [Environment Variables](#environment-variables)
42
+ - [Basic Usage](#basic-usage)
43
+ - [Available Services](#available-services)
44
+ - [Examples](#examples)
45
+ - [Buckets Service](#buckets-service)
46
+ - [Context Grounding Service](#context-grounding-service)
47
+ - [Command Line Interface (CLI)](#command-line-interface-cli)
48
+ - [Authentication](#authentication)
49
+ - [Initialize a Project](#initialize-a-project)
50
+ - [Debug a Project](#debug-a-project)
51
+ - [Package a Project](#package-a-project)
52
+ - [Publish a Package](#publish-a-package)
53
+ - [Project Structure](#project-structure)
54
+ - [Development](#development)
55
+ - [Setting Up a Development Environment](#setting-up-a-development-environment)
56
+
57
+ ## Installation
58
+
59
+ ```bash
60
+ pip install uipath
61
+ ```
62
+
63
+ using `uv`:
64
+
65
+ ```bash
66
+ uv add uipath
67
+ ```
68
+
69
+ ## Configuration
70
+
71
+ ### Environment Variables
72
+
73
+ Create a `.env` file in your project root with the following variables:
74
+
75
+ ```
76
+ UIPATH_URL=https://cloud.uipath.com/ACCOUNT_NAME/TENANT_NAME
77
+ UIPATH_ACCESS_TOKEN=YOUR_TOKEN_HERE
78
+ ```
79
+
80
+ ## Basic Usage
81
+
82
+ ```python
83
+ from uipath import UiPath
84
+ # Initialize the SDK
85
+ sdk = UiPath()
86
+ # Execute a process
87
+ job = sdk.processes.invoke(
88
+ name="MyProcess",
89
+ input_arguments={"param1": "value1", "param2": 42}
90
+ )
91
+ # Work with assets
92
+ asset = sdk.assets.retrieve(name="MyAsset")
93
+ ```
94
+
95
+ ## Available Services
96
+
97
+ The SDK provides access to various UiPath services:
98
+ - `sdk.processes` - Manage and execute UiPath automation processes
99
+ - `sdk.assets` - Work with assets (variables, credentials) stored in UiPath
100
+ - `sdk.buckets` - Manage cloud storage containers for automation files
101
+ - `sdk.connections` - Handle connections to external systems
102
+ - `sdk.context_grounding` - Work with semantic contexts for AI-enabled automation
103
+ - `sdk.jobs` - Monitor and manage automation jobs
104
+ - `sdk.queues` - Work with transaction queues
105
+ - `sdk.actions` - Work with Action Center
106
+ - `sdk.api_client` - Direct access to the API client for custom requests
107
+
108
+ ## Examples
109
+
110
+ ### Buckets Service
111
+
112
+ ```python
113
+ # Download a file from a bucket
114
+ sdk.buckets.download(
115
+ bucket_key="my-bucket",
116
+ blob_file_path="path/to/file.xlsx",
117
+ destination_path="local/path/file.xlsx"
118
+ )
119
+ ```
120
+
121
+ ### Context Grounding Service
122
+
123
+ ```python
124
+ # Search for contextual information
125
+ results = sdk.context_grounding.search(
126
+ name="my-knowledge-index",
127
+ query="How do I process an invoice?",
128
+ number_of_results=5
129
+ )
130
+ ```
131
+
132
+ ## Command Line Interface (CLI)
133
+
134
+ The SDK also provides a command-line interface for creating, packaging, and deploying automations:
135
+
136
+ ### Authentication
137
+
138
+ ```bash
139
+ uipath auth
140
+ ```
141
+
142
+ This command opens a browser for authentication and creates/updates your `.env` file with the proper credentials.
143
+
144
+ ### Initialize a Project
145
+
146
+ ```bash
147
+ uipath init [ENTRYPOINT]
148
+ ```
149
+
150
+ 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.
151
+
152
+ ### Debug a Project
153
+
154
+ ```bash
155
+ uipath run ENTRYPOINT [INPUT]
156
+ ```
157
+
158
+ Executes a Python script with the provided JSON input arguments.
159
+
160
+ ### Package a Project
161
+
162
+ ```bash
163
+ uipath pack
164
+ ```
165
+
166
+ Packages your project into a `.nupkg` file that can be deployed to UiPath.
167
+
168
+ **Note:** Your `pyproject.toml` must include:
169
+ - A description field (avoid characters: &, <, >, ", ', ;)
170
+ - Author information
171
+
172
+ Example:
173
+ ```toml
174
+ description = "Your package description"
175
+ authors = [{name = "Your Name", email = "your.email@example.com"}]
176
+ ```
177
+
178
+ ### Publish a Package
179
+
180
+ ```bash
181
+ uipath publish
182
+ ```
183
+
184
+ Publishes the most recently created package to your UiPath Orchestrator.
185
+
186
+ ## Project Structure
187
+
188
+ To properly use the CLI for packaging and publishing, your project should include:
189
+ - A `pyproject.toml` file with project metadata
190
+ - A `uipath.json` file (generated by `uipath init`)
191
+ - Any Python files needed for your automation
192
+
193
+ ## Development
194
+
195
+ ### Setting Up a Development Environment
196
+
197
+ Please read our [contribution guidelines](CONTRIBUTING.md) before submitting a pull request.
@@ -0,0 +1,4 @@
1
+ uipath-2.0.0.dist-info/METADATA,sha256=QEfumC0fAXZ2oezWsPmTyFP5kx0xIXklrVq2F7fFGVg,5777
2
+ uipath-2.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
3
+ uipath-2.0.0.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
4
+ uipath-2.0.0.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
-
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ uipath = uipath._cli:cli
uipath/__init__.py DELETED
@@ -1,9 +0,0 @@
1
- from uipath.__version__ import __version__
2
- from uipath.auth.authentication import UiPathAuth
3
- from uipath.client.api_client import UiPathClient
4
-
5
- __all__ = [
6
- '__version__',
7
- 'UiPathAuth',
8
- 'UiPathClient',
9
- ]
uipath/__version__.py DELETED
@@ -1,3 +0,0 @@
1
- VERSION = (1, 0, 0)
2
-
3
- __version__ = '.'.join(map(str, VERSION))
@@ -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.
@@ -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
- [![PyPI version](https://badge.fury.io/py/uipath.svg)](https://badge.fury.io/py/uipath)
45
- [![Documentation](https://img.shields.io/badge/docs-latest-brightgreen.svg)](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
@@ -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