orgo 0.0.39__py3-none-any.whl → 0.0.40__py3-none-any.whl
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.
- orgo/__init__.py +11 -8
- orgo/api/__init__.py +5 -5
- orgo/api/client.py +227 -227
- orgo/computer.py +471 -466
- orgo/forge.py +176 -176
- orgo/project.py +86 -86
- orgo/prompt.py +1015 -1015
- orgo/utils/__init__.py +5 -5
- orgo/utils/auth.py +16 -16
- {orgo-0.0.39.dist-info → orgo-0.0.40.dist-info}/METADATA +47 -47
- orgo-0.0.40.dist-info/RECORD +13 -0
- {orgo-0.0.39.dist-info → orgo-0.0.40.dist-info}/WHEEL +1 -1
- orgo-0.0.39.dist-info/RECORD +0 -13
- {orgo-0.0.39.dist-info → orgo-0.0.40.dist-info}/top_level.txt +0 -0
orgo/utils/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# src/orgo/utils/__init__.py
|
|
2
|
-
"""Utility functions for Orgo SDK"""
|
|
3
|
-
|
|
4
|
-
from .auth import get_api_key
|
|
5
|
-
|
|
1
|
+
# src/orgo/utils/__init__.py
|
|
2
|
+
"""Utility functions for Orgo SDK"""
|
|
3
|
+
|
|
4
|
+
from .auth import get_api_key
|
|
5
|
+
|
|
6
6
|
__all__ = ["get_api_key"]
|
orgo/utils/auth.py
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# src/orgo/utils/auth.py
|
|
2
|
-
"""Authentication utilities for Orgo SDK"""
|
|
3
|
-
|
|
4
|
-
import os
|
|
5
|
-
from typing import Optional
|
|
6
|
-
|
|
7
|
-
def get_api_key(api_key: Optional[str] = None) -> str:
|
|
8
|
-
"""Get the Orgo API key from parameters or environment"""
|
|
9
|
-
key = api_key or os.environ.get("ORGO_API_KEY")
|
|
10
|
-
|
|
11
|
-
if not key:
|
|
12
|
-
raise ValueError(
|
|
13
|
-
"API key required. Set ORGO_API_KEY environment variable or pass api_key parameter. "
|
|
14
|
-
"Get a key at https://www.orgo.ai/start"
|
|
15
|
-
)
|
|
16
|
-
|
|
1
|
+
# src/orgo/utils/auth.py
|
|
2
|
+
"""Authentication utilities for Orgo SDK"""
|
|
3
|
+
|
|
4
|
+
import os
|
|
5
|
+
from typing import Optional
|
|
6
|
+
|
|
7
|
+
def get_api_key(api_key: Optional[str] = None) -> str:
|
|
8
|
+
"""Get the Orgo API key from parameters or environment"""
|
|
9
|
+
key = api_key or os.environ.get("ORGO_API_KEY")
|
|
10
|
+
|
|
11
|
+
if not key:
|
|
12
|
+
raise ValueError(
|
|
13
|
+
"API key required. Set ORGO_API_KEY environment variable or pass api_key parameter. "
|
|
14
|
+
"Get a key at https://www.orgo.ai/start"
|
|
15
|
+
)
|
|
16
|
+
|
|
17
17
|
return key
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: orgo
|
|
3
|
-
Version: 0.0.
|
|
4
|
-
Summary: Computers for AI agents
|
|
5
|
-
Author: Orgo Team
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://www.orgo.ai
|
|
8
|
-
Project-URL: Documentation, https://docs.orgo.ai
|
|
9
|
-
Requires-Python: >=3.7
|
|
10
|
-
Description-Content-Type: text/markdown
|
|
11
|
-
Requires-Dist: requests>=2.28.0
|
|
12
|
-
Requires-Dist: pillow>=9.0.0
|
|
13
|
-
Requires-Dist: anthropic>=0.50.0
|
|
14
|
-
Requires-Dist: websocket-client>=1.6.0
|
|
15
|
-
|
|
16
|
-
# Orgo SDK
|
|
17
|
-
|
|
18
|
-
Desktop infrastructure for AI agents.
|
|
19
|
-
|
|
20
|
-
## Install
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
pip install orgo
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Usage
|
|
27
|
-
|
|
28
|
-
```python
|
|
29
|
-
from orgo import Computer
|
|
30
|
-
|
|
31
|
-
# Create computer
|
|
32
|
-
computer = Computer()
|
|
33
|
-
|
|
34
|
-
# Control
|
|
35
|
-
computer.left_click(100, 200)
|
|
36
|
-
computer.type("Hello world")
|
|
37
|
-
computer.key("Enter")
|
|
38
|
-
computer.screenshot() # Returns PIL Image
|
|
39
|
-
|
|
40
|
-
# Execute Python code
|
|
41
|
-
computer.exec("import pyautogui; pyautogui.click(512, 384)")
|
|
42
|
-
|
|
43
|
-
# Cleanup
|
|
44
|
-
computer.shutdown()
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Full documentation: [docs.orgo.ai](https://docs.orgo.ai)
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: orgo
|
|
3
|
+
Version: 0.0.40
|
|
4
|
+
Summary: Computers for AI agents
|
|
5
|
+
Author: Orgo Team
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://www.orgo.ai
|
|
8
|
+
Project-URL: Documentation, https://docs.orgo.ai
|
|
9
|
+
Requires-Python: >=3.7
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
Requires-Dist: requests>=2.28.0
|
|
12
|
+
Requires-Dist: pillow>=9.0.0
|
|
13
|
+
Requires-Dist: anthropic>=0.50.0
|
|
14
|
+
Requires-Dist: websocket-client>=1.6.0
|
|
15
|
+
|
|
16
|
+
# Orgo SDK
|
|
17
|
+
|
|
18
|
+
Desktop infrastructure for AI agents.
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
pip install orgo
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Usage
|
|
27
|
+
|
|
28
|
+
```python
|
|
29
|
+
from orgo import Computer
|
|
30
|
+
|
|
31
|
+
# Create computer
|
|
32
|
+
computer = Computer()
|
|
33
|
+
|
|
34
|
+
# Control
|
|
35
|
+
computer.left_click(100, 200)
|
|
36
|
+
computer.type("Hello world")
|
|
37
|
+
computer.key("Enter")
|
|
38
|
+
computer.screenshot() # Returns PIL Image
|
|
39
|
+
|
|
40
|
+
# Execute Python code
|
|
41
|
+
computer.exec("import pyautogui; pyautogui.click(512, 384)")
|
|
42
|
+
|
|
43
|
+
# Cleanup
|
|
44
|
+
computer.shutdown()
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Full documentation: [docs.orgo.ai](https://docs.orgo.ai)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
orgo/__init__.py,sha256=mEaj9vlEbEqf-GJlm7C9fJSafEYP42NcX3MW8ZedZpo,318
|
|
2
|
+
orgo/computer.py,sha256=1-8tGqoOyo-gvwLFWJkWXTYRmeRP7gbC_gz1lzyrwOA,19415
|
|
3
|
+
orgo/forge.py,sha256=EVhogsUH5Jpw-8Cw375-jYqbh-G3QZ2PEU08UuekTyQ,6890
|
|
4
|
+
orgo/project.py,sha256=h-RZtcY2cowMxVOdJs0pF-SNHYQ_UWm9N4iZUB3U86k,3234
|
|
5
|
+
orgo/prompt.py,sha256=4e7iTG_V8Epg6M_2BsjOtFZn37VY31L784F7sYi7N6Q,40700
|
|
6
|
+
orgo/api/__init__.py,sha256=LwQLTr9SvEskIKJYBSTLdGCIBrn9ooWec3PEd1F1MaU,118
|
|
7
|
+
orgo/api/client.py,sha256=WRIT9Hk02lDA-E0ukHDiYBA9vkylZEcgM4mRd2yv2k4,9370
|
|
8
|
+
orgo/utils/__init__.py,sha256=pXHS1agLROOLJRKo82gFIF-0QwNl-qcmrWy-kYgEvO0,128
|
|
9
|
+
orgo/utils/auth.py,sha256=8lwpnxlhraI7t96gNR1sCeKeu-eJSsTlrYy4YsdX16k,525
|
|
10
|
+
orgo-0.0.40.dist-info/METADATA,sha256=pZq9IutUcAXlIJRzehInCL5GtjBNncUsrPyFKyk__G4,941
|
|
11
|
+
orgo-0.0.40.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
12
|
+
orgo-0.0.40.dist-info/top_level.txt,sha256=q0rYtFji8GbYuhFW8A5Ab9e0j27761IKPhnL0E9xow4,5
|
|
13
|
+
orgo-0.0.40.dist-info/RECORD,,
|
orgo-0.0.39.dist-info/RECORD
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
orgo/__init__.py,sha256=7uMYbhVNVUtrH7mCd8Ofll36EIdR92LcVlF7bdKuVR4,206
|
|
2
|
-
orgo/computer.py,sha256=7yNxlIk7j6yIcYXDF8HQfJU1uHNHvO9lLP4TTVZEuy4,18661
|
|
3
|
-
orgo/forge.py,sha256=Ey_X3tZwlgHPCSBYBIxPInNaERARoDZQ3vxjvOBLn_I,6714
|
|
4
|
-
orgo/project.py,sha256=Abn58FKAL3vety-MzHJDR-G0GFnEDSD_ljTYnXp9e1I,3148
|
|
5
|
-
orgo/prompt.py,sha256=EluyrgMLfgQ8C6kR4l_jKhu6mnCuSL14PGYO1AE4FKk,39685
|
|
6
|
-
orgo/api/__init__.py,sha256=9Tzb_OPJ5DH7Cg7OrHzpZZUT4ip05alpa9RLDYmnId8,113
|
|
7
|
-
orgo/api/client.py,sha256=VGdlBCu2gAdDwMZ55n7kQS4R-CFXJjLByXPmRlMLoiY,9097
|
|
8
|
-
orgo/utils/__init__.py,sha256=W4G_nwGBf_7jy0w_mfcrkllurYHSRU4B5cMTVYH_uCc,123
|
|
9
|
-
orgo/utils/auth.py,sha256=tPLBJY-6gdBQWLUjUbwIwxHphC3KoRT_XgP3Iykw3Mw,509
|
|
10
|
-
orgo-0.0.39.dist-info/METADATA,sha256=VIc2ar6DhP0mQ9RVYrGRlTNPuKO3DUu9kwjJVC_E3cY,894
|
|
11
|
-
orgo-0.0.39.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
12
|
-
orgo-0.0.39.dist-info/top_level.txt,sha256=q0rYtFji8GbYuhFW8A5Ab9e0j27761IKPhnL0E9xow4,5
|
|
13
|
-
orgo-0.0.39.dist-info/RECORD,,
|
|
File without changes
|