uipath 2.0.30__tar.gz → 2.0.32__tar.gz

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.

Files changed (140) hide show
  1. {uipath-2.0.30 → uipath-2.0.32}/.github/workflows/build.yml +0 -1
  2. {uipath-2.0.30 → uipath-2.0.32}/.gitignore +6 -0
  3. {uipath-2.0.30 → uipath-2.0.32}/PKG-INFO +4 -2
  4. {uipath-2.0.30 → uipath-2.0.32}/README.md +3 -1
  5. {uipath-2.0.30 → uipath-2.0.32}/docs/CONTRIBUTING.md +0 -5
  6. uipath-2.0.32/docs/core/getting_started.md +227 -0
  7. uipath-2.0.32/docs/core/index.md +7 -0
  8. uipath-2.0.32/docs/hooks.py +13 -0
  9. uipath-2.0.32/docs/langchain/chat_models.md +3 -0
  10. uipath-2.0.32/docs/langchain/context_grounding.md +9 -0
  11. uipath-2.0.32/docs/langchain/human_in_the_loop.md +3 -0
  12. uipath-2.0.32/docs/langchain/index.md +7 -0
  13. uipath-2.0.32/docs/stylesheets/extra.css +79 -0
  14. uipath-2.0.32/mkdocs.yml +106 -0
  15. {uipath-2.0.30 → uipath-2.0.32}/pyproject.toml +4 -1
  16. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_auth/_portal_service.py +10 -13
  17. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_utils/_processes.py +1 -1
  18. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/cli_init.py +2 -2
  19. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/actions_service.py +0 -17
  20. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/queues_service.py +1 -3
  21. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_uipath.py +13 -4
  22. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/__init__.py +3 -0
  23. uipath-2.0.32/src/uipath/models/errors.py +16 -0
  24. {uipath-2.0.30 → uipath-2.0.32}/tests/cli/test_init.py +6 -4
  25. {uipath-2.0.30 → uipath-2.0.32}/tests/sdk/test_config.py +6 -16
  26. {uipath-2.0.30 → uipath-2.0.32}/uv.lock +29 -1
  27. uipath-2.0.30/docs/connections.md +0 -3
  28. uipath-2.0.30/docs/getting_started_agent.md +0 -29
  29. uipath-2.0.30/docs/getting_started_cli.md +0 -124
  30. uipath-2.0.30/docs/getting_started_sdk.md +0 -83
  31. uipath-2.0.30/docs/index.md +0 -4
  32. uipath-2.0.30/docs/sdk.md +0 -3
  33. uipath-2.0.30/mkdocs.yml +0 -80
  34. {uipath-2.0.30 → uipath-2.0.32}/.cursorrules +0 -0
  35. {uipath-2.0.30 → uipath-2.0.32}/.editorconfig +0 -0
  36. {uipath-2.0.30 → uipath-2.0.32}/.gitattributes +0 -0
  37. {uipath-2.0.30 → uipath-2.0.32}/.github/workflows/cd.yml +0 -0
  38. {uipath-2.0.30 → uipath-2.0.32}/.github/workflows/ci.yml +0 -0
  39. {uipath-2.0.30 → uipath-2.0.32}/.github/workflows/commitlint.yml +0 -0
  40. {uipath-2.0.30 → uipath-2.0.32}/.github/workflows/lint.yml +0 -0
  41. {uipath-2.0.30 → uipath-2.0.32}/.github/workflows/publish-dev.yml +0 -0
  42. {uipath-2.0.30 → uipath-2.0.32}/.github/workflows/test.yml +0 -0
  43. {uipath-2.0.30 → uipath-2.0.32}/.pre-commit-config.yaml +0 -0
  44. {uipath-2.0.30 → uipath-2.0.32}/.python-version +0 -0
  45. {uipath-2.0.30 → uipath-2.0.32}/.vscode/extensions.json +0 -0
  46. {uipath-2.0.30 → uipath-2.0.32}/.vscode/settings.json +0 -0
  47. {uipath-2.0.30 → uipath-2.0.32}/CONTRIBUTING.md +0 -0
  48. {uipath-2.0.30 → uipath-2.0.32}/LICENSE +0 -0
  49. {uipath-2.0.30 → uipath-2.0.32}/docs/assets/uipath-logo.svg +0 -0
  50. {uipath-2.0.30/docs → uipath-2.0.32/docs/core}/actions.md +0 -0
  51. {uipath-2.0.30/docs → uipath-2.0.32/docs/core}/assets.md +0 -0
  52. {uipath-2.0.30/docs → uipath-2.0.32/docs/core}/buckets.md +0 -0
  53. {uipath-2.0.30/docs → uipath-2.0.32/docs/core}/context_grounding.md +0 -0
  54. {uipath-2.0.30/docs → uipath-2.0.32/docs/core}/jobs.md +0 -0
  55. {uipath-2.0.30/docs → uipath-2.0.32/docs/core}/processes.md +0 -0
  56. {uipath-2.0.30/docs → uipath-2.0.32/docs/core}/queues.md +0 -0
  57. {uipath-2.0.30 → uipath-2.0.32}/justfile +0 -0
  58. {uipath-2.0.30 → uipath-2.0.32}/py.typed +0 -0
  59. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/__init__.py +0 -0
  60. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/README.md +0 -0
  61. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/__init__.py +0 -0
  62. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_auth/_auth_server.py +0 -0
  63. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_auth/_models.py +0 -0
  64. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_auth/_oidc_utils.py +0 -0
  65. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_auth/_utils.py +0 -0
  66. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_auth/auth_config.json +0 -0
  67. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_auth/index.html +0 -0
  68. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_auth/localhost.crt +0 -0
  69. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_auth/localhost.key +0 -0
  70. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_runtime/_contracts.py +0 -0
  71. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_runtime/_logging.py +0 -0
  72. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_runtime/_runtime.py +0 -0
  73. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_templates/.psmdcp.template +0 -0
  74. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_templates/.rels.template +0 -0
  75. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_templates/[Content_Types].xml.template +0 -0
  76. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_templates/main.py.template +0 -0
  77. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_templates/package.nuspec.template +0 -0
  78. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_utils/_common.py +0 -0
  79. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_utils/_console.py +0 -0
  80. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_utils/_folders.py +0 -0
  81. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_utils/_input_args.py +0 -0
  82. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/_utils/_parse_ast.py +0 -0
  83. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/cli_auth.py +0 -0
  84. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/cli_deploy.py +0 -0
  85. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/cli_invoke.py +0 -0
  86. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/cli_new.py +0 -0
  87. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/cli_pack.py +0 -0
  88. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/cli_publish.py +0 -0
  89. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/cli_run.py +0 -0
  90. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/middlewares.py +0 -0
  91. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_cli/spinner.py +0 -0
  92. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_config.py +0 -0
  93. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_execution_context.py +0 -0
  94. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_folder_context.py +0 -0
  95. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/__init__.py +0 -0
  96. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/_base_service.py +0 -0
  97. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/api_client.py +0 -0
  98. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/assets_service.py +0 -0
  99. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/buckets_service.py +0 -0
  100. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/connections_service.py +0 -0
  101. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/connections_service.pyi +0 -0
  102. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/context_grounding_service.py +0 -0
  103. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/folder_service.py +0 -0
  104. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/jobs_service.py +0 -0
  105. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/llm_gateway_service.py +0 -0
  106. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_services/processes_service.py +0 -0
  107. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_utils/__init__.py +0 -0
  108. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_utils/_endpoint.py +0 -0
  109. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_utils/_infer_bindings.py +0 -0
  110. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_utils/_logs.py +0 -0
  111. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_utils/_request_override.py +0 -0
  112. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_utils/_request_spec.py +0 -0
  113. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_utils/_user_agent.py +0 -0
  114. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/_utils/constants.py +0 -0
  115. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/action_schema.py +0 -0
  116. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/actions.py +0 -0
  117. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/assets.py +0 -0
  118. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/connections.py +0 -0
  119. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/context_grounding.py +0 -0
  120. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/context_grounding_index.py +0 -0
  121. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/exceptions.py +0 -0
  122. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/interrupt_models.py +0 -0
  123. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/job.py +0 -0
  124. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/llm_gateway.py +0 -0
  125. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/processes.py +0 -0
  126. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/models/queues.py +0 -0
  127. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/py.typed +0 -0
  128. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/tracing/__init__.py +0 -0
  129. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/tracing/_otel_exporters.py +0 -0
  130. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/tracing/_traced.py +0 -0
  131. {uipath-2.0.30 → uipath-2.0.32}/src/uipath/tracing/_utils.py +0 -0
  132. {uipath-2.0.30 → uipath-2.0.32}/tests/__init__.py +0 -0
  133. {uipath-2.0.30 → uipath-2.0.32}/tests/conftest.py +0 -0
  134. {uipath-2.0.30 → uipath-2.0.32}/tests/sdk/services/test_llm_integration.py +0 -0
  135. {uipath-2.0.30 → uipath-2.0.32}/tests/sdk/services/test_llm_service.py +0 -0
  136. {uipath-2.0.30 → uipath-2.0.32}/tests/sdk/services/test_uipath_llm_integration.py +0 -0
  137. {uipath-2.0.30 → uipath-2.0.32}/tests/tracing/test_otel_exporters.py +0 -0
  138. {uipath-2.0.30 → uipath-2.0.32}/tests/tracing/test_span_utils.py +0 -0
  139. {uipath-2.0.30 → uipath-2.0.32}/tests/tracing/test_traced.py +0 -0
  140. {uipath-2.0.30 → uipath-2.0.32}/tests/tracing/test_tracing_manager.py +0 -0
@@ -56,7 +56,6 @@ jobs:
56
56
  if: ${{ steps.check_version.outputs.modified }} == 'true'
57
57
  run: |
58
58
  mkdir -p docs/plugins
59
- mkdir -p docs/docs
60
59
  ln -s ../../plugins/uipath-langchain-python docs/plugins/uipath-langchain-python
61
60
 
62
61
  - name: Publish Docs
@@ -17,3 +17,9 @@ wheels/
17
17
 
18
18
  **/playground.py
19
19
  **/.idea
20
+
21
+ **/docs/index.md
22
+ **/docs/plugins/*
23
+ **/docs/plugins/.*
24
+ **/docs/quick_start_images/*
25
+ **/docs/quick_start_images/.*
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.0.30
3
+ Version: 2.0.32
4
4
  Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
5
5
  Project-URL: Homepage, https://uipath.com
6
6
  Project-URL: Repository, https://github.com/UiPath/uipath-python
@@ -39,6 +39,8 @@ A Python SDK that enables programmatic interaction with UiPath Platform services
39
39
 
40
40
  Use the [UiPath LangChain SDK](https://github.com/UiPath/uipath-langchain-python) to pack and publish LangGraph Agents.
41
41
 
42
+ This [quickstart guide](https://uipath.github.io/uipath-python/) walks you through deploying your first agent to UiPath Cloud Platform.
43
+
42
44
  ## Table of Contents
43
45
 
44
46
  - [Installation](#installation)
@@ -211,4 +213,4 @@ To properly use the CLI for packaging and publishing, your project should includ
211
213
 
212
214
  ### Setting Up a Development Environment
213
215
 
214
- Please read [CONTRIBUTING.md](./CONTRIBUTING.md) before submitting a pull request.
216
+ Please read [CONTRIBUTING.md](https://github.com/UiPath/uipath-python/blob/main/CONTRIBUTING.md) before submitting a pull request.
@@ -8,6 +8,8 @@ A Python SDK that enables programmatic interaction with UiPath Platform services
8
8
 
9
9
  Use the [UiPath LangChain SDK](https://github.com/UiPath/uipath-langchain-python) to pack and publish LangGraph Agents.
10
10
 
11
+ This [quickstart guide](https://uipath.github.io/uipath-python/) walks you through deploying your first agent to UiPath Cloud Platform.
12
+
11
13
  ## Table of Contents
12
14
 
13
15
  - [Installation](#installation)
@@ -180,4 +182,4 @@ To properly use the CLI for packaging and publishing, your project should includ
180
182
 
181
183
  ### Setting Up a Development Environment
182
184
 
183
- Please read [CONTRIBUTING.md](./CONTRIBUTING.md) before submitting a pull request.
185
+ Please read [CONTRIBUTING.md](https://github.com/UiPath/uipath-python/blob/main/CONTRIBUTING.md) before submitting a pull request.
@@ -1,8 +1,3 @@
1
- ---
2
- hide:
3
- - navigation
4
- ---
5
-
6
1
  --8<--
7
2
  CONTRIBUTING.md
8
3
  --8<--
@@ -0,0 +1,227 @@
1
+ # Getting Started
2
+
3
+ ## Prerequisites
4
+
5
+ - Python 3.10 or higher
6
+ - `pip` or `uv` package manager
7
+ - A UiPath Platform account with appropriate permissions
8
+
9
+ ## Getting Started with the CLI
10
+ //// tab | Linux, macOS, Windows Bash
11
+ <!-- termynal -->
12
+ ```shell
13
+ > mkdir example
14
+ > cd example
15
+ ```
16
+ ////
17
+
18
+ //// tab | Windows PowerShell
19
+ <!-- termynal -->
20
+ ```powershell
21
+ > New-Item -ItemType Directory -Path example
22
+ > Set-Location example
23
+ ```
24
+ ////
25
+
26
+ //// tab | uv
27
+ new: true
28
+ <!-- termynal -->
29
+ ```shell
30
+ # Initialize a new uv project in the current directory
31
+ > uv init . --python 3.10
32
+
33
+ # Create a new virtual environment
34
+ # By default, uv creates a virtual environment in a directory called .venv
35
+ > uv venv
36
+ Using CPython 3.10.16 interpreter at: [PATH]
37
+ Creating virtual environment at: .venv
38
+ Activate with: source .venv/bin/activate
39
+
40
+ # Activate the virtual environment
41
+ # For Windows PowerShell: .venv\Scripts\Activate.ps1
42
+ # For Windows Bash: source .venv/Scripts/activate
43
+ > source .venv/bin/activate
44
+
45
+ # Install the uipath package
46
+ > uv add uipath
47
+
48
+ # Verify the uipath installation
49
+ > uipath --version
50
+ uipath version 2.0.29
51
+ ```
52
+ ////
53
+
54
+ //// tab | pip
55
+ <!-- termynal -->
56
+ ```shell
57
+ # Create a new virtual environment
58
+ > python -m venv .venv
59
+
60
+ # Activate the virtual environment
61
+ # For Windows PowerShell: .venv\Scripts\Activate.ps1
62
+ # For Windows Bash: source .venv/Scripts/activate
63
+ > source .venv/bin/activate
64
+
65
+ # Upgrade pip to the latest version
66
+ > python -m pip install --upgrade pip
67
+
68
+ # Install the uipath package
69
+ > pip install uipath
70
+
71
+ # Verify the uipath installation
72
+ > uipath --version
73
+ uipath version 2.0.29
74
+ ```
75
+ ////
76
+
77
+ ### Authentication
78
+
79
+ To debug your script locally and publish your project, you need to authenticate with UiPath:
80
+
81
+ <!-- termynal -->
82
+ ```shell
83
+ > uipath auth
84
+ ⠋ Authenticating with UiPath ...
85
+ 🔗 If a browser window did not open, please open the following URL in your browser: [LINK]
86
+ 👇 Select tenant:
87
+ 0: Tenant1
88
+ 1: Tenant2
89
+ Select tenant number: 0
90
+ Selected tenant: Tenant1
91
+ ✓ Authentication successful.
92
+ ```
93
+
94
+ This command opens a new browser window for authentication. If you encounter any issues, copy the URL from the terminal and paste it into your browser. After authentication, select your tenant by entering its corresponding number in the terminal.
95
+
96
+ Upon successful authentication, your project will contain a `.env` file with your access token, UiPath URL, and other configuration details.
97
+
98
+ ### Writing Your Code
99
+
100
+ Open `main.py` in your code editor. You can start with this example code:
101
+
102
+ ```python
103
+ from dataclasses import dataclass
104
+ from typing import Optional
105
+
106
+
107
+ @dataclass
108
+ class EchoIn:
109
+ message: str
110
+ repeat: Optional[int] = 1
111
+ prefix: Optional[str] = None
112
+
113
+
114
+ @dataclass
115
+ class EchoOut:
116
+ message: str
117
+
118
+
119
+ def main(input: EchoIn) -> EchoOut:
120
+ result = []
121
+ for _ in range(input.repeat or 1):
122
+ line = input.message
123
+ if input.prefix:
124
+ line = f"{input.prefix}: {line}"
125
+ result.append(line)
126
+
127
+ return EchoOut(message="\n".join(result))
128
+ ```
129
+
130
+ ### Initializing the UiPath Project
131
+
132
+ To create a UiPath project, run the following command in your terminal:
133
+
134
+ <!-- termynal -->
135
+ ```shell
136
+ > uipath init
137
+ ⠋ Initializing UiPath project ...
138
+ ✓ Created 'uipath.json' file.
139
+ ```
140
+
141
+ /// admonition
142
+ type: warning
143
+
144
+ The `uipath init` command executes your `main.py` file to analyze its structure and collect information about inputs and outputs.
145
+ ///
146
+
147
+ This command creates a `uipath.json` file containing the project metadata.
148
+
149
+ <!-- termynal -->
150
+ ```shell
151
+ # Debug your project
152
+ > uipath run main.py '{"message": "test"}'
153
+ [2025-04-11 10:13:58,857][INFO] {'message': 'test'}
154
+ ```
155
+
156
+ ### Packaging and Publishing
157
+
158
+ Before packaging your project, add your details to the `pyproject.toml` file. Add the following line below the `description` field:
159
+
160
+ ```toml
161
+ authors = [{ name = "Your Name", email = "your.email@uipath.com" }]
162
+ ```
163
+
164
+ Then, package your project:
165
+
166
+ <!-- termynal -->
167
+ ```shell
168
+ > uipath pack
169
+ ⠋ Packaging project ...
170
+ Name : test
171
+ Version : 0.1.0
172
+ Description: Add your description here
173
+ Authors : Your Name
174
+ ✓ Project successfully packaged.
175
+ ```
176
+
177
+ Finally, publish your package:
178
+
179
+ <!-- termynal -->
180
+ ```shell
181
+ > uipath publish
182
+ ⠋ Fetching available package feeds...
183
+ 👇 Select package feed:
184
+ 0: Orchestrator Tenant Processes Feed
185
+ 1: Orchestrator Personal Workspace Feed
186
+ Select feed number: 0
187
+ Selected feed: Orchestrator Tenant Processes Feed
188
+ ⠸ Publishing most recent package: test.0.1.0.nupkg ...
189
+ ✓ Package published successfully!
190
+ ```
191
+
192
+ After selecting your publishing destination (tenant or personal workspace), you'll see details about your package and a confirmation message.
193
+
194
+ ## Getting Started with the SDK
195
+
196
+ Create a new project following the same steps as above.
197
+
198
+ Open `main.py` in your code editor and add the following code:
199
+
200
+ ```python
201
+ from uipath import UiPath
202
+
203
+
204
+ def main():
205
+ sdk = UiPath()
206
+ sdk.processes.invoke(
207
+ "test",
208
+ input_arguments={
209
+ "message": "Hello, World!",
210
+ "repeat": 3,
211
+ "prefix": "[Echo]"
212
+ }
213
+ )
214
+ ```
215
+
216
+ ### Verifying the Execution
217
+
218
+ <!-- termynal -->
219
+ ```shell
220
+ > uipath run main.py
221
+ ```
222
+
223
+ Open your browser and navigate to UiPath. Go to the specified folder, where you'll see a new job for `test` has been executed. The output will be:
224
+
225
+ ```
226
+ [Echo]: Hello, World! Echo: Hello, World! Echo: Hello, World!
227
+ ```
@@ -0,0 +1,7 @@
1
+ ---
2
+ title: Introduction
3
+ ---
4
+
5
+ --8<--
6
+ README.md
7
+ --8<--
@@ -0,0 +1,13 @@
1
+ import os
2
+ import shutil
3
+
4
+
5
+ def redirect_index(*args, **kwargs):
6
+ if not os.path.exists("docs/quick_start_images"):
7
+ shutil.copy(
8
+ "docs/plugins/uipath-langchain-python/docs/quick_start.md", "docs/index.md"
9
+ )
10
+ shutil.copytree(
11
+ "docs/plugins/uipath-langchain-python/docs/quick_start_images",
12
+ "docs/quick_start_images",
13
+ )
@@ -0,0 +1,3 @@
1
+ --8<--
2
+ docs/plugins/uipath-langchain-python/docs/chat_models.md
3
+ --8<--
@@ -0,0 +1,9 @@
1
+ ---
2
+ title: Content Grounding
3
+ ---
4
+
5
+ --8<--
6
+ docs/plugins/uipath-langchain-python/docs/context_grounding.md
7
+ --8<--
8
+
9
+
@@ -0,0 +1,3 @@
1
+ --8<--
2
+ docs/plugins/uipath-langchain-python/docs/human_in_the_loop.md
3
+ --8<--
@@ -0,0 +1,7 @@
1
+ ---
2
+ title: Introduction
3
+ ---
4
+
5
+ --8<--
6
+ docs/plugins/uipath-langchain-python/README.md
7
+ --8<--
@@ -0,0 +1,79 @@
1
+ .md-header {
2
+ .md-header__title {
3
+ .md-header__topic:first-child {
4
+ display: none;
5
+ }
6
+ }
7
+ }
8
+
9
+
10
+ :root {
11
+ --md-primary-bg-color: #ffffff;
12
+ --md-primary-fg-color: #182027;
13
+ --md-typeset-a-color: #0067df;
14
+ }
15
+
16
+
17
+ [data-md-color-scheme=slate] {
18
+ --md-typeset-a-color: #0067df;
19
+
20
+ .md-header {
21
+ background-color: #182027;
22
+ color: #ffffff;
23
+ }
24
+ }
25
+
26
+ body[data-md-color-scheme=slate] {
27
+ background-color: #182027 !important;
28
+ }
29
+
30
+
31
+ .md-header {
32
+ --md-primary-bg-color: #182027;
33
+ --md-primary-fg-color: #ffffff;
34
+ }
35
+
36
+
37
+
38
+ @media screen and (min-width: 60em) {
39
+ .md-search__form {
40
+ background-color: #ffffff;
41
+ color: #182027 !important;
42
+ border: 1px solid #182027;
43
+
44
+ &:hover {
45
+ background-color: #ffffff;
46
+ border-color: #0067df;
47
+ }
48
+ }
49
+
50
+ [data-md-color-scheme=slate] {
51
+ .md-search__form {
52
+ background-color: #182027;
53
+ color: #ffffff !important;
54
+ border: 1px solid #ffffff;
55
+
56
+ &:hover {
57
+ background-color: #182027;
58
+ border-color: #0067df;
59
+ }
60
+ }
61
+
62
+ .md-search__icon {
63
+ color: #ffffff !important;
64
+ }
65
+ }
66
+
67
+ .md-search__icon {
68
+ color: #182027 !important;
69
+ }
70
+ }
71
+
72
+
73
+ @media (min-width: 1220px) {
74
+ .md-sidebar {
75
+ .md-nav__title {
76
+ display: none;
77
+ }
78
+ }
79
+ }
@@ -0,0 +1,106 @@
1
+ site_name: UiPath SDK
2
+ site_url: https://uipath.github.io/uipath-python/
3
+
4
+ repo_name: UiPath/uipath-python
5
+ repo_url: https://github.com/UiPath/uipath-python
6
+
7
+ copyright: Copyright &copy; 2025 UiPath
8
+
9
+ extra_css:
10
+ - stylesheets/extra.css
11
+
12
+ theme:
13
+ name: material
14
+ palette:
15
+ - media: "(prefers-color-scheme: light)"
16
+ scheme: default
17
+ primary: custom
18
+ accent: custom
19
+ toggle:
20
+ icon: material/brightness-7
21
+ name: Switch to dark mode
22
+ - media: "(prefers-color-scheme: dark)"
23
+ scheme: slate
24
+ primary: custom
25
+ accent: custom
26
+ toggle:
27
+ icon: material/brightness-4
28
+ name: Switch to light mode
29
+ icon:
30
+ repo: fontawesome/brands/github
31
+ features:
32
+ - content.code.copy
33
+ - content.footnote.tooltips
34
+ - content.tabs.link
35
+ - content.tooltips
36
+ - navigation.expand
37
+ - navigation.footer
38
+ - navigation.instant.prefetch
39
+ - navigation.instant.progress
40
+ - navigation.sections
41
+ - search.highlight
42
+ - search.share
43
+ - search.suggest
44
+ - toc.follow
45
+ logo: assets/uipath-logo.svg
46
+
47
+ nav:
48
+ - UiPath Langchain SDK:
49
+ - langchain/index.md
50
+ - Getting Started: index.md
51
+ - Chat Models: langchain/chat_models.md
52
+ - Context Grounding: langchain/context_grounding.md
53
+ - Human In The Loop: langchain/human_in_the_loop.md
54
+ - UiPath SDK:
55
+ - core/index.md
56
+ - Getting Started: core/getting_started.md
57
+ - Services:
58
+ - Actions: core/actions.md
59
+ - Assets: core/assets.md
60
+ - Buckets: core/buckets.md
61
+ - Context Grounding: core/context_grounding.md
62
+ - Jobs: core/jobs.md
63
+ - Queues: core/queues.md
64
+ - Processes: core/processes.md
65
+ - How To Contribute: CONTRIBUTING.md
66
+
67
+ plugins:
68
+ - search
69
+ - mkdocstrings
70
+ - mkdocs-simple-hooks:
71
+ hooks:
72
+ on_pre_build: "docs.hooks:redirect_index"
73
+ - termynal:
74
+ prompt_literal_start:
75
+ - "$"
76
+ - ">"
77
+
78
+ markdown_extensions:
79
+ - attr_list
80
+ - md_in_html
81
+ - admonition
82
+ - pymdownx.blocks.tab:
83
+ alternate_style: true
84
+ - pymdownx.blocks.admonition:
85
+ types:
86
+ - note
87
+ - attention
88
+ - caution
89
+ - danger
90
+ - error
91
+ - tip
92
+ - hint
93
+ - warning
94
+ - info
95
+ - check
96
+ - pymdownx.details
97
+ - pymdownx.highlight:
98
+ anchor_linenums: true
99
+ - pymdownx.superfences
100
+ - pymdownx.highlight:
101
+ anchor_linenums: true
102
+ - pymdownx.inlinehilite
103
+ - pymdownx.magiclink
104
+ - pymdownx.snippets
105
+ - pymdownx.tabbed:
106
+ alternate_style: true
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "uipath"
3
- version = "2.0.30"
3
+ version = "2.0.32"
4
4
  description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
5
5
  readme = { file = "README.md", content-type = "text/markdown" }
6
6
  requires-python = ">=3.10"
@@ -56,6 +56,8 @@ dev = [
56
56
  "mkdocs-material>=9.6.7",
57
57
  "mkdocstrings>=0.29.0",
58
58
  "mkdocstrings-python>=1.16.5",
59
+ "termynal>=0.13.0",
60
+ "mkdocs-simple-hooks>=0.1.5",
59
61
  ]
60
62
 
61
63
  [project.optional-dependencies]
@@ -80,6 +82,7 @@ ignore-decorators = []
80
82
  "*" = ["E501"]
81
83
  "tests/**" = ["D"]
82
84
  "*_test.py" = ["D"]
85
+ "docs/**" = ["D"]
83
86
  # TODO: Remove this once the documentation for CLI is updated
84
87
  "uipath/_cli/**" = ["D"]
85
88
  # TODO: Remove this once model documentation is added
@@ -145,19 +145,16 @@ class PortalService:
145
145
  url_try_enable_first_run = f"{or_base_url}/api/StudioWeb/TryEnableFirstRun"
146
146
  url_acquire_license = f"{or_base_url}/api/StudioWeb/AcquireLicense"
147
147
 
148
- [try_enable_first_run_response, acquire_license_response] = [
149
- requests.post(
150
- url,
151
- headers={"Authorization": f"Bearer {self.access_token}"},
152
- )
153
- for url in [url_try_enable_first_run, url_acquire_license]
154
- ]
155
-
156
- if (
157
- try_enable_first_run_response.status_code != 200
158
- or acquire_license_response.status_code != 200
159
- ):
160
- raise Exception("Failed to post auth")
148
+ try:
149
+ [try_enable_first_run_response, acquire_license_response] = [
150
+ requests.post(
151
+ url,
152
+ headers={"Authorization": f"Bearer {self.access_token}"},
153
+ )
154
+ for url in [url_try_enable_first_run, url_acquire_license]
155
+ ]
156
+ except Exception:
157
+ pass
161
158
 
162
159
  def has_initialized_auth(self):
163
160
  try:
@@ -17,7 +17,7 @@ def get_release_info(
17
17
  "x-uipath-organizationunitid": str(folder_id),
18
18
  }
19
19
 
20
- release_url = f"{base_url}/orchestrator_/odata/Releases/UiPath.Server.Configuration.OData.ListReleases?$select=Id,Key&$top=1&$filter=(contains(Name,%27{urllib.parse.quote(package_name)}%27))&$orderby=Name%20asc"
20
+ release_url = f"{base_url}/orchestrator_/odata/Releases/UiPath.Server.Configuration.OData.ListReleases?$select=Id,Key&$top=1&$filter=Name%20eq%20%27{urllib.parse.quote(package_name)}%27"
21
21
  response = requests.get(release_url, headers=headers)
22
22
  if response.status_code == 200:
23
23
  try:
@@ -20,7 +20,7 @@ def generate_env_file(target_directory):
20
20
 
21
21
  if not os.path.exists(env_path):
22
22
  relative_path = os.path.relpath(env_path, target_directory)
23
- console.success(f" Created {relative_path} file.")
23
+ console.success(f" Created '{relative_path}' file.")
24
24
  with open(env_path, "w") as f:
25
25
  f.write("UIPATH_ACCESS_TOKEN=YOUR_TOKEN_HERE\n")
26
26
  f.write("UIPATH_URL=https://cloud.uipath.com/ACCOUNT_NAME/TENANT_NAME\n")
@@ -109,4 +109,4 @@ def init(entrypoint: str) -> None:
109
109
 
110
110
  console.success(f"Created '{config_path}' file.")
111
111
  except Exception as e:
112
- console.error(f"Error creating configuration file: {str(e)}")
112
+ console.error(f"Error creating configuration file:\n {str(e)}")
@@ -170,12 +170,6 @@ class ActionsService(FolderContext, BaseService):
170
170
  """
171
171
 
172
172
  def __init__(self, config: Config, execution_context: ExecutionContext) -> None:
173
- """Initializes the ActionsService with configuration and execution context.
174
-
175
- Args:
176
- config: The configuration object containing API settings
177
- execution_context: The execution context for the service
178
- """
179
173
  super().__init__(config=config, execution_context=execution_context)
180
174
 
181
175
  @traced(name="actions_create", run_type="uipath")
@@ -351,17 +345,6 @@ class ActionsService(FolderContext, BaseService):
351
345
  async def _get_app_key_and_schema_async(
352
346
  self, app_name: Optional[str], app_folder_path: Optional[str]
353
347
  ) -> Tuple[str, Optional[ActionSchema]]:
354
- """Retrieves an application's key and schema asynchronously.
355
-
356
- Args:
357
- app_name: The name of the application to retrieve
358
-
359
- Returns:
360
- Tuple[str, Optional[ActionSchema]]: A tuple containing the application key and schema
361
-
362
- Raises:
363
- Exception: If app_name is not provided
364
- """
365
348
  if not app_name:
366
349
  raise Exception("appName or appKey is required")
367
350
  spec = _retrieve_app_key_spec(app_name=app_name)
@@ -224,9 +224,7 @@ class QueuesService(FolderContext, BaseService):
224
224
  def _list_items_spec(self) -> RequestSpec:
225
225
  return RequestSpec(
226
226
  method="GET",
227
- endpoint=Endpoint(
228
- "/orchestrator_/odata/Queues/UiPathODataSvc.GetQueueItems"
229
- ),
227
+ endpoint=Endpoint("/orchestrator_/odata/QueueItems"),
230
228
  )
231
229
 
232
230
  def _create_item_spec(self, item: Union[Dict[str, Any], QueueItem]) -> RequestSpec: