Contributing to UiPath SDK
Local Development Setup
Prerequisites
-
Install Python 3.13:
- Download and install Python 3.13 from the official Python website
- Verify the installation by running:
Alternative: mise
-
Install uv:
-
Create a virtual environment in the current working directory:
-
Install dependencies:
See just --list
for linting, formatting and build commands.
Use SDK Locally
- Create a folder on your own device
mkdir project; cd project
- Initialize the python project
uv
uv init . --python 3.9
- Obtain the project path
PATH_TO_SDK=/Users/YOU_USER/uipath-langchain/
- Install the sdk in editable mode
uv add --editable ${PATH_TO_SDK}
:information_source: Instead of cloning the project into .venv/lib/python3.9/site-packages/uipath_langchain
, this mode creates a file named _uipath_langchain.pth
inside .venv/lib/python3.9/site-packages
. This file contains the value of PATH_TO_SDK
, which is added to sys.path
—the list of directories where python searches for packages. (Run python -c 'import sys; print(sys.path)'
to see the entries.)