Skip to content

Commit 5e5c581

Browse files
authored
chore: decart instead of decart-sdk (#2)
* chore: `decart` instead of `decart-sdk` * fix ci workflow
1 parent b077061 commit 5e5c581

28 files changed

Lines changed: 51 additions & 51 deletions

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
run: uv sync --all-extras
2727

2828
- name: Check formatting with Black
29-
run: uv run black --check decart_sdk/ tests/ examples/
29+
run: uv run black --check decart/ tests/ examples/
3030

3131
- name: Lint with Ruff
32-
run: uv run ruff check decart_sdk/ tests/ examples/
32+
run: uv run ruff check decart/ tests/ examples/
3333

3434
- name: Type check with MyPy
35-
run: uv run mypy decart_sdk/
35+
run: uv run mypy decart/
3636
continue-on-error: true # Don't fail on type errors yet
3737

3838
test:
@@ -58,7 +58,7 @@ jobs:
5858
run: uv sync --all-extras
5959

6060
- name: Run tests
61-
run: uv run pytest tests/ -v --cov=decart_sdk --cov-report=xml --cov-report=term
61+
run: uv run pytest tests/ -v --cov=decart --cov-report=xml --cov-report=term
6262

6363
- name: Upload coverage to Codecov
6464
uses: codecov/codecov-action@v4

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ A Python SDK for Decart's models.
77
### Using UV
88

99
```bash
10-
uv pip install decart-sdk
10+
uv pip install decart
1111
```
1212

1313
### Using pip
1414

1515
```bash
16-
pip install decart-sdk
16+
pip install decart
1717
```
1818

1919
## Documentation
@@ -28,7 +28,7 @@ For complete documentation, guides, and examples, visit:
2828
```python
2929
import asyncio
3030
import os
31-
from decart_sdk import DecartClient, models
31+
from decart import DecartClient, models
3232

3333
async def main():
3434
async with DecartClient(api_key=os.getenv("DECART_API_KEY")) as client:
@@ -82,13 +82,13 @@ uv sync --all-extras
8282
uv run pytest
8383

8484
# Run linting
85-
uv run ruff check decart_sdk/
85+
uv run ruff check decart/
8686

8787
# Format code
88-
uv run black decart_sdk/ tests/ examples/
88+
uv run black decart/ tests/ examples/
8989

9090
# Type check
91-
uv run mypy decart_sdk/
91+
uv run mypy decart/
9292
```
9393

9494
### Common Commands
@@ -98,7 +98,7 @@ uv run mypy decart_sdk/
9898
uv sync --all-extras
9999

100100
# Run tests with coverage
101-
uv run pytest --cov=decart_sdk --cov-report=html
101+
uv run pytest --cov=decart --cov-report=html
102102

103103
# Run examples
104104
uv run python examples/process_video.py
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)