Metadata-Version: 2.4
Name: uipath_sdk
Version: 0.0.77
Summary: UiPath SDK
Project-URL: Homepage, https://uipath.com
Project-URL: Repository, https://github.com/UiPath/uipath-python
Maintainer-email: Marius Cosareanu <marius.cosareanu@uipath.com>, Cristian Pufu <cristian.pufu@uipath.com>
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.9
Requires-Dist: click>=8.1.8
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydantic>=2.10.6
Requires-Dist: python-dotenv>=1.0.1
Requires-Dist: requests>=2.32.3
Requires-Dist: tenacity>=9.0.0
Requires-Dist: tomli>=2.2.1
Provides-Extra: langchain
Requires-Dist: uipath-langchain>=0.0.16; extra == 'langchain'
Description-Content-Type: text/markdown

# UiPath SDK

## CLI User's guide

`pip install uipath_sdk`
_(NOTE: create virtual env if needed)_

```
uipath init [PROJECT_NAME] [DIRECTORY] [DESCRIPTION]
```

defaults:

-   project name => my-agent
-   directory => ./
-   description => "my-agent description"

example:

```
uipath init
OR
uipath init custom-name ./my-projects/custom-dir "my custom description"
```

after init `cd` into the created folder, install the dependencies from requirements.txt then set your credentials in the `.env` file
_(NOTE: if you just want to publish the default package or edit basic things in the main.py file you may skip installing the dependencies)_

```
uipath pack [ROOT] [VERSION]
```

defaults:

-   root => ./
-   version => 1.0.0
    example:

```
uipath pack
OR
uipath pack ./my-projects/custom-dir 2.0.4
```

NOTE: if you run the pack command outside of the folder with the `config.json` it will throw an error

after packing it's time to publish

```
uipath publish [PATH_TO_NUPKG]

uipath publish my-custom-package.2.3.1.nupkg
```

defaults:

-   if no path provided, it will use the first `.nupkg` file it finds in your current directory

NOTE: this command also needs an `.env` file in your current directory

## Installation
Use any package manager (e.g. `uv`) to install `uipath` from PyPi:
    `uv add uipath_sdk`

## Usage
### SDK
1. Generate a PAT (Personal Access Token)
For example, to create a PAT for alpha, go to (replace ORG with your organization name)
https://alpha.uipath.com/[ORG]/portal_/personalAccessToken/add

2. Set these env variables:
- `UIPATH_URL`
- `UIPATH_ACCESS_TOKEN`
- `UIPATH_FOLDER_PATH`

```py
import os
from uipath_sdk import UiPathSDK


def main():
    uipath = UiPathSDK()

    job = uipath.processes.invoke_process(name="process_name")
    print(job)

```

### CLI

## License
