Skip to content

Commit c9735c5

Browse files
chore: change project name
1 parent ae401c5 commit c9735c5

71 files changed

Lines changed: 135 additions & 127 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77
- main
88
paths:
99
- "pyproject.toml"
10-
- "src/uipath_sdk/**"
10+
- "src/**"
1111
pull_request:
1212
branches:
1313
- main
1414
paths:
1515
- "pyproject.toml"
16-
- "src/uipath_sdk/**"
16+
- "src/**"
1717

1818
jobs:
1919
lint:

pyproject.toml

Lines changed: 39 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,69 @@
11
[project]
2-
name = "uipath-sdk"
3-
version = "0.0.115"
4-
description = "UiPath SDK"
2+
name = "uipath"
3+
version = "2.0.0.dev1"
4+
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.9"
77
dependencies = [
8-
"click>=8.1.8",
9-
"httpx>=0.28.1",
10-
"pydantic>=2.11.1",
11-
"pytest-asyncio>=0.25.3",
12-
"python-dotenv>=1.0.1",
13-
"requests>=2.32.3",
14-
"tenacity>=9.0.0",
15-
"tomli>=2.2.1",
16-
"types-requests>=2.32.0.20250306",
8+
"click>=8.1.8",
9+
"httpx>=0.28.1",
10+
"pydantic>=2.11.1",
11+
"pytest-asyncio>=0.25.3",
12+
"python-dotenv>=1.0.1",
13+
"requests>=2.32.3",
14+
"tenacity>=9.0.0",
15+
"tomli>=2.2.1",
16+
"types-requests>=2.32.0.20250306",
1717
]
1818
classifiers = [
19-
"Development Status :: 3 - Alpha",
20-
"Intended Audience :: Developers",
21-
"Topic :: Software Development :: Build Tools",
22-
"Programming Language :: Python :: 3.9",
23-
"Programming Language :: Python :: 3.10",
24-
"Programming Language :: Python :: 3.11",
25-
"Programming Language :: Python :: 3.12",
19+
"Development Status :: 3 - Alpha",
20+
"Intended Audience :: Developers",
21+
"Topic :: Software Development :: Build Tools",
22+
"Programming Language :: Python :: 3.9",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
2626
]
2727
maintainers = [
28-
{ name = "Marius Cosareanu", email = "marius.cosareanu@uipath.com" },
29-
{ name = "Cristian Pufu", email = "cristian.pufu@uipath.com" }
28+
{ name = "Marius Cosareanu", email = "marius.cosareanu@uipath.com" },
29+
{ name = "Cristian Pufu", email = "cristian.pufu@uipath.com" },
3030
]
3131

3232
[project.urls]
3333
Homepage = "https://uipath.com"
3434
Repository = "https://github.com/UiPath/uipath-python"
3535

3636
[project.scripts]
37-
uipath = "uipath_sdk._cli:cli"
37+
uipath = "uipath._cli:cli"
3838

3939
[build-system]
4040
requires = ["hatchling"]
4141
build-backend = "hatchling.build"
4242

4343
[tool.hatch.build.targets.wheel]
44-
packages = ["src/uipath_sdk"]
44+
packages = ["src/uipath"]
4545

4646
[tool.hatch.build.targets.sdist]
47-
packages = ["src/uipath_sdk"]
47+
packages = ["src/uipath"]
4848

4949
[dependency-groups]
5050
dev = [
51-
"bandit>=1.8.2",
52-
"mypy>=1.14.1",
53-
"ruff>=0.9.4",
54-
"rust-just>=1.39.0",
55-
"pytest>=7.4.0",
56-
"pytest-cov>=4.1.0",
57-
"pytest-mock>=3.11.1",
58-
"pre-commit>=4.1.0",
59-
"mkdocs>=1.6.1",
60-
"mkdocs-material>=9.6.7",
61-
"mkdocstrings>=0.29.0",
62-
"mkdocstrings-python>=1.16.5",
51+
"bandit>=1.8.2",
52+
"mypy>=1.14.1",
53+
"ruff>=0.9.4",
54+
"rust-just>=1.39.0",
55+
"pytest>=7.4.0",
56+
"pytest-cov>=4.1.0",
57+
"pytest-mock>=3.11.1",
58+
"pre-commit>=4.1.0",
59+
"mkdocs>=1.6.1",
60+
"mkdocs-material>=9.6.7",
61+
"mkdocstrings>=0.29.0",
62+
"mkdocstrings-python>=1.16.5",
6363
]
6464

6565
[project.optional-dependencies]
66-
langchain = [
67-
"uipath-langchain>=0.0.16"
68-
]
66+
langchain = ["uipath-langchain>=0.0.16"]
6967

7068
[tool.ruff]
7169
line-length = 88
@@ -84,7 +82,7 @@ ignore-decorators = []
8482
"tests/**" = ["D"]
8583
"*_test.py" = ["D"]
8684
# TODO: Remove this once the documentation for CLI is updated
87-
"uipath_sdk/_cli/**" = ["D"]
85+
"uipath/_cli/**" = ["D"]
8886

8987
[tool.ruff.format]
9088
quote-style = "double"
@@ -93,9 +91,7 @@ skip-magic-trailing-comma = false
9391
line-ending = "auto"
9492

9593
[tool.mypy]
96-
plugins = [
97-
"pydantic.mypy"
98-
]
94+
plugins = ["pydantic.mypy"]
9995

10096
follow_imports = "silent"
10197
warn_redundant_casts = true
@@ -115,5 +111,3 @@ warn_required_dynamic_aliases = true
115111
testpaths = ["tests"]
116112
python_files = "test_*.py"
117113
addopts = "-ra -q"
118-
119-
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
# export UIPATH_ACCESS_TOKEN="your_**_token"
1313
# export UIPATH_FOLDER_PATH="your/folder/path"
1414
15-
from uipath_sdk import UiPathSDK
16-
sdk = UiPathSDK()
15+
from uipath import UiPath
16+
sdk = UiPath()
1717
# Invoke a process by name
1818
sdk.processes.invoke("MyProcess")
1919
```
2020
"""
2121

22-
from ._uipath_sdk import UiPathSDK
22+
from ._uipath import UiPath
2323

24-
__all__ = ["UiPathSDK"]
24+
__all__ = ["UiPath"]
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33

44
import click
55

6-
from uipath_sdk._cli.cli_auth import auth as auth # type: ignore
7-
from uipath_sdk._cli.cli_deploy import deploy as deploy # type: ignore
8-
from uipath_sdk._cli.cli_init import init as init # type: ignore
9-
from uipath_sdk._cli.cli_new import new as new # type: ignore
10-
from uipath_sdk._cli.cli_pack import pack as pack # type: ignore
11-
from uipath_sdk._cli.cli_publish import publish as publish # type: ignore
12-
from uipath_sdk._cli.cli_run import run as run # type: ignore
6+
from .cli_auth import auth as auth # type: ignore
7+
from .cli_deploy import deploy as deploy # type: ignore
8+
from .cli_init import init as init # type: ignore
9+
from .cli_new import new as new # type: ignore
10+
from .cli_pack import pack as pack # type: ignore
11+
from .cli_publish import publish as publish # type: ignore
12+
from .cli_run import run as run # type: ignore
1313

1414

1515
@click.group(invoke_without_command=True)
1616
@click.version_option(
17-
importlib.metadata.version("uipath-sdk"),
17+
importlib.metadata.version("uipath"),
1818
prog_name="uipath",
1919
message="%(prog)s version %(version)s",
2020
)
@@ -26,7 +26,7 @@
2626
@click.option(
2727
"-v",
2828
is_flag=True,
29-
help="Display the current version of uipath-sdk.",
29+
help="Display the current version of uipath.",
3030
)
3131
def cli(lv: bool, v: bool) -> None:
3232
if lv:
@@ -38,10 +38,10 @@ def cli(lv: bool, v: bool) -> None:
3838
sys.exit(1)
3939
if v:
4040
try:
41-
version = importlib.metadata.version("uipath-sdk")
42-
click.echo(f"uipath-sdk version {version}")
41+
version = importlib.metadata.version("uipath")
42+
click.echo(f"uipath version {version}")
4343
except importlib.metadata.PackageNotFoundError:
44-
click.echo("uipath-sdk is not installed", err=True)
44+
click.echo("uipath is not installed", err=True)
4545
sys.exit(1)
4646

4747

File renamed without changes.

0 commit comments

Comments
 (0)