celesto 0.0.1.dev0__tar.gz → 0.0.1.dev1__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.
- celesto-0.0.1.dev1/.github/workflows/test.yml +26 -0
- celesto-0.0.1.dev1/AGENTS.md +62 -0
- {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/PKG-INFO +2 -2
- {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/README.md +1 -1
- {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/pyproject.toml +3 -3
- {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/__init__.py +1 -1
- {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/deployment.py +1 -1
- {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/tests/test_deployment.py +1 -1
- {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/tests/test_sdk.py +1 -1
- {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/.github/workflows/release.yml +0 -0
- {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/.gitignore +0 -0
- {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/.python-version +0 -0
- {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/LICENSE +0 -0
- {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/a2a.py +0 -0
- {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/main.py +0 -0
- {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/proxy.py +0 -0
- {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/sdk/__init__.py +0 -0
- {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/sdk/client.py +0 -0
- {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/sdk/exceptions.py +0 -0
- {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/sdk/types.py +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: Tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: ["main"]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- name: Check out repository
|
|
14
|
+
uses: actions/checkout@v4
|
|
15
|
+
|
|
16
|
+
- name: Install uv
|
|
17
|
+
uses: astral-sh/setup-uv@v3
|
|
18
|
+
|
|
19
|
+
- name: Set up Python
|
|
20
|
+
run: uv python install 3.12
|
|
21
|
+
|
|
22
|
+
- name: Install dependencies
|
|
23
|
+
run: uv sync --group dev
|
|
24
|
+
|
|
25
|
+
- name: Run tests
|
|
26
|
+
run: uv run pytest
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Celesto SDK - GitHub Copilot Instructions
|
|
2
|
+
|
|
3
|
+
## Project Overview
|
|
4
|
+
|
|
5
|
+
Celesto SDK is a Python client + CLI for the Celesto AI platform. It provides:
|
|
6
|
+
- A typed Python SDK (`CelestoSDK`) for Deployments and GateKeeper.
|
|
7
|
+
- A CLI (`celesto`) for deployment and A2A utilities.
|
|
8
|
+
|
|
9
|
+
## Repository Structure
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
celesto-sdk/
|
|
13
|
+
├── src/celesto/ # SDK + CLI source code
|
|
14
|
+
│ ├── sdk/ # SDK client, exceptions, types
|
|
15
|
+
│ ├── main.py # CLI app entrypoint (typer)
|
|
16
|
+
│ ├── deployment.py # CLI deployment helpers
|
|
17
|
+
│ ├── a2a.py # CLI A2A helpers
|
|
18
|
+
│ └── proxy.py # CLI MCP proxy helper
|
|
19
|
+
├── tests/ # Test suite
|
|
20
|
+
├── pyproject.toml # Project metadata and dependencies
|
|
21
|
+
└── README.md # Usage and install docs
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Development Setup
|
|
25
|
+
|
|
26
|
+
- Python >= 3.10
|
|
27
|
+
- Install deps with uv (recommended):
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pip install uv
|
|
31
|
+
uv venv
|
|
32
|
+
uv sync
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Or with pip:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
pip install -e .
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Code Style and Linting
|
|
42
|
+
|
|
43
|
+
- **Ruff** is the linter and formatter.
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
uv run ruff check .
|
|
47
|
+
uv run ruff format .
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Tests
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
uv run pytest
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Development Guidelines
|
|
57
|
+
|
|
58
|
+
- Make minimal, targeted changes.
|
|
59
|
+
- Keep functions focused and well-documented.
|
|
60
|
+
- Avoid placeholders like `# ... rest of code ...`.
|
|
61
|
+
- Prefer clear, explicit error messages.
|
|
62
|
+
- Maintain backwards compatibility where possible (public SDK/CLI).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: celesto
|
|
3
|
-
Version: 0.0.1.
|
|
3
|
+
Version: 0.0.1.dev1
|
|
4
4
|
Summary: Python SDK and CLI for the Celesto AI platform.
|
|
5
5
|
Author-email: Aniket Maurya <aniket@celesto.ai>
|
|
6
6
|
License-File: LICENSE
|
|
@@ -47,7 +47,7 @@ celesto a2a get-card --agent http://localhost:8000
|
|
|
47
47
|
## SDK
|
|
48
48
|
|
|
49
49
|
```python
|
|
50
|
-
from
|
|
50
|
+
from celesto.sdk import CelestoSDK
|
|
51
51
|
|
|
52
52
|
client = CelestoSDK()
|
|
53
53
|
print(client.deployment.list())
|
|
@@ -32,13 +32,13 @@ repository = "https://github.com/CelestoAI/celesto-sdk"
|
|
|
32
32
|
documentation = "https://docs.celesto.ai/celesto-sdk"
|
|
33
33
|
|
|
34
34
|
[project.scripts]
|
|
35
|
-
celesto = "
|
|
35
|
+
celesto = "celesto:app"
|
|
36
36
|
|
|
37
37
|
[tool.hatch.version]
|
|
38
|
-
path = "src/
|
|
38
|
+
path = "src/celesto/__init__.py"
|
|
39
39
|
|
|
40
40
|
[tool.hatch.build.targets.wheel]
|
|
41
|
-
packages = ["src/
|
|
41
|
+
packages = ["src/celesto"]
|
|
42
42
|
|
|
43
43
|
[tool.uv]
|
|
44
44
|
package = true
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|