kotharcomputing 0.76.0__tar.gz → 0.77.0__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.
Files changed (34) hide show
  1. {kotharcomputing-0.76.0/src/kotharcomputing.egg-info → kotharcomputing-0.77.0}/PKG-INFO +7 -29
  2. kotharcomputing-0.77.0/README.md +30 -0
  3. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/pyproject.toml +1 -1
  4. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/executions.py +1 -1
  5. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/jobs.py +1 -1
  6. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0/src/kotharcomputing.egg-info}/PKG-INFO +7 -29
  7. kotharcomputing-0.76.0/README.md +0 -52
  8. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/LICENSE +0 -0
  9. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/setup.cfg +0 -0
  10. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/__init__.py +0 -0
  11. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/agents.py +0 -0
  12. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/ai.py +0 -0
  13. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/api_tokens.py +0 -0
  14. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/client.py +0 -0
  15. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/common.py +0 -0
  16. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/credits.py +0 -0
  17. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/errors.py +0 -0
  18. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/fetch.py +0 -0
  19. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/files.py +0 -0
  20. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/py.typed +0 -0
  21. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/runtimes.py +0 -0
  22. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/service_prices.py +0 -0
  23. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/subscribe_user.py +0 -0
  24. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/subscribe_workspace.py +0 -0
  25. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/subscriptions.py +0 -0
  26. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/users.py +0 -0
  27. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing/workspaces.py +0 -0
  28. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing.egg-info/SOURCES.txt +0 -0
  29. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing.egg-info/dependency_links.txt +0 -0
  30. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing.egg-info/requires.txt +0 -0
  31. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/src/kotharcomputing.egg-info/top_level.txt +0 -0
  32. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/tests/test_fetch_auth_headers.py +0 -0
  33. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/tests/test_fetch_url_building.py +0 -0
  34. {kotharcomputing-0.76.0 → kotharcomputing-0.77.0}/tests/test_public_api.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kotharcomputing
3
- Version: 0.76.0
3
+ Version: 0.77.0
4
4
  Summary: Python SDK for the Kothar API
5
5
  Author: Kothar Computing
6
6
  License-Expression: Apache-2.0
@@ -26,14 +26,18 @@ Python SDK for the Kothar API.
26
26
 
27
27
  - No runtime dependencies (Python standard library only)
28
28
  - Fully typed public API
29
- - Endpoint coverage aligned with `packages/client` and `apps/api`
30
29
 
31
30
  ## Install
32
31
 
33
32
  ```bash
34
- pip install .
33
+ pip install kotharcomputing
35
34
  ```
36
35
 
36
+ ## Documentation
37
+
38
+ - Kothar Computing docs: https://docs.kotharcomputing.com/
39
+ - API docs: https://docs.kotharcomputing.com/docs/the-forge/API
40
+
37
41
  ## Usage
38
42
 
39
43
  ```python
@@ -46,29 +50,3 @@ client = KotharClient(
46
50
  files = client.workspaces.id("<workspace_id>").files.list()
47
51
  print(files)
48
52
  ```
49
-
50
- ## Dev scripts
51
-
52
- This package uses `poethepoet` for npm-style task scripts.
53
-
54
- Install dev tools:
55
-
56
- ```bash
57
- pip install -e ".[dev]"
58
- ```
59
-
60
- Run tasks:
61
-
62
- ```bash
63
- poe format
64
- poe format-check
65
- poe lint
66
- poe lint-fix
67
- poe test
68
- poe check
69
- poe build
70
- poe build -- 1.2.3
71
- ```
72
-
73
- If you want an `npm run <name>`-like flow, use `poe <name>` from this directory. `poe build` defaults to a local package
74
- version (`0.0.0+local`), and `poe build -- <version>` builds with the provided version.
@@ -0,0 +1,30 @@
1
+ # kotharcomputing
2
+
3
+ Python SDK for the Kothar API.
4
+
5
+ - No runtime dependencies (Python standard library only)
6
+ - Fully typed public API
7
+
8
+ ## Install
9
+
10
+ ```bash
11
+ pip install kotharcomputing
12
+ ```
13
+
14
+ ## Documentation
15
+
16
+ - Kothar Computing docs: https://docs.kotharcomputing.com/
17
+ - API docs: https://docs.kotharcomputing.com/docs/the-forge/API
18
+
19
+ ## Usage
20
+
21
+ ```python
22
+ from kotharcomputing import KotharClient
23
+
24
+ client = KotharClient(
25
+ access_token="<api_token>",
26
+ )
27
+
28
+ files = client.workspaces.id("<workspace_id>").files.list()
29
+ print(files)
30
+ ```
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "kotharcomputing"
7
- version = "0.76.0"
7
+ version = "0.77.0"
8
8
  description = "Python SDK for the Kothar API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -42,8 +42,8 @@ class Execution(TypedDict):
42
42
 
43
43
  class ExecuteArgs(TypedDict):
44
44
  content: str
45
- runtimeId: str
46
45
  agentId: str
46
+ runtimeId: NotRequired[str]
47
47
  path: NotRequired[str]
48
48
  dependencies: NotRequired[list[str]]
49
49
  timeout: NotRequired[str]
@@ -37,8 +37,8 @@ class Job(WithUser, WithAgent):
37
37
 
38
38
  class CreateJobArgs(TypedDict):
39
39
  agentId: str
40
- runtimeId: str
41
40
  path: str
41
+ runtimeId: NotRequired[str]
42
42
  name: NotRequired[str]
43
43
  notes: NotRequired[str]
44
44
  dependencies: NotRequired[list[str]]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kotharcomputing
3
- Version: 0.76.0
3
+ Version: 0.77.0
4
4
  Summary: Python SDK for the Kothar API
5
5
  Author: Kothar Computing
6
6
  License-Expression: Apache-2.0
@@ -26,14 +26,18 @@ Python SDK for the Kothar API.
26
26
 
27
27
  - No runtime dependencies (Python standard library only)
28
28
  - Fully typed public API
29
- - Endpoint coverage aligned with `packages/client` and `apps/api`
30
29
 
31
30
  ## Install
32
31
 
33
32
  ```bash
34
- pip install .
33
+ pip install kotharcomputing
35
34
  ```
36
35
 
36
+ ## Documentation
37
+
38
+ - Kothar Computing docs: https://docs.kotharcomputing.com/
39
+ - API docs: https://docs.kotharcomputing.com/docs/the-forge/API
40
+
37
41
  ## Usage
38
42
 
39
43
  ```python
@@ -46,29 +50,3 @@ client = KotharClient(
46
50
  files = client.workspaces.id("<workspace_id>").files.list()
47
51
  print(files)
48
52
  ```
49
-
50
- ## Dev scripts
51
-
52
- This package uses `poethepoet` for npm-style task scripts.
53
-
54
- Install dev tools:
55
-
56
- ```bash
57
- pip install -e ".[dev]"
58
- ```
59
-
60
- Run tasks:
61
-
62
- ```bash
63
- poe format
64
- poe format-check
65
- poe lint
66
- poe lint-fix
67
- poe test
68
- poe check
69
- poe build
70
- poe build -- 1.2.3
71
- ```
72
-
73
- If you want an `npm run <name>`-like flow, use `poe <name>` from this directory. `poe build` defaults to a local package
74
- version (`0.0.0+local`), and `poe build -- <version>` builds with the provided version.
@@ -1,52 +0,0 @@
1
- # kotharcomputing
2
-
3
- Python SDK for the Kothar API.
4
-
5
- - No runtime dependencies (Python standard library only)
6
- - Fully typed public API
7
- - Endpoint coverage aligned with `packages/client` and `apps/api`
8
-
9
- ## Install
10
-
11
- ```bash
12
- pip install .
13
- ```
14
-
15
- ## Usage
16
-
17
- ```python
18
- from kotharcomputing import KotharClient
19
-
20
- client = KotharClient(
21
- access_token="<api_token>",
22
- )
23
-
24
- files = client.workspaces.id("<workspace_id>").files.list()
25
- print(files)
26
- ```
27
-
28
- ## Dev scripts
29
-
30
- This package uses `poethepoet` for npm-style task scripts.
31
-
32
- Install dev tools:
33
-
34
- ```bash
35
- pip install -e ".[dev]"
36
- ```
37
-
38
- Run tasks:
39
-
40
- ```bash
41
- poe format
42
- poe format-check
43
- poe lint
44
- poe lint-fix
45
- poe test
46
- poe check
47
- poe build
48
- poe build -- 1.2.3
49
- ```
50
-
51
- If you want an `npm run <name>`-like flow, use `poe <name>` from this directory. `poe build` defaults to a local package
52
- version (`0.0.0+local`), and `poe build -- <version>` builds with the provided version.