optexity 0.1.3__py3-none-any.whl → 0.1.4__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.
- optexity/cli.py +1 -1
- {optexity-0.1.3.dist-info → optexity-0.1.4.dist-info}/METADATA +20 -36
- {optexity-0.1.3.dist-info → optexity-0.1.4.dist-info}/RECORD +7 -7
- {optexity-0.1.3.dist-info → optexity-0.1.4.dist-info}/WHEEL +0 -0
- {optexity-0.1.3.dist-info → optexity-0.1.4.dist-info}/entry_points.txt +0 -0
- {optexity-0.1.3.dist-info → optexity-0.1.4.dist-info}/licenses/LICENSE +0 -0
- {optexity-0.1.3.dist-info → optexity-0.1.4.dist-info}/top_level.txt +0 -0
optexity/cli.py
CHANGED
|
@@ -64,7 +64,7 @@ def main() -> None:
|
|
|
64
64
|
"inference", help="Run Optexity inference server"
|
|
65
65
|
)
|
|
66
66
|
inference_cmd.add_argument("--host", default="0.0.0.0")
|
|
67
|
-
inference_cmd.add_argument("--port", type=int,
|
|
67
|
+
inference_cmd.add_argument("--port", type=int, default=9000)
|
|
68
68
|
inference_cmd.add_argument(
|
|
69
69
|
"--child_process_id", "--child-process-id", type=int, default=0
|
|
70
70
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: optexity
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Optexity is a platform for building and running browser and computer agents.
|
|
5
5
|
Author-email: Optexity <support@optexity.com>
|
|
6
6
|
Requires-Python: >=3.11
|
|
@@ -50,30 +50,19 @@ Once logged in, navigate to the **API Keys** section in your dashboard and creat
|
|
|
50
50
|
|
|
51
51
|
Install the **Optexity Recorder** extension from the [Chrome Web Store](https://chromewebstore.google.com/detail/optexity-recorder/pbaganbicadeoacahamnbgohafchgakp). This extension captures your browser interactions and converts them into automation workflows.
|
|
52
52
|
|
|
53
|
-
## Installation
|
|
54
|
-
|
|
55
53
|
### Prerequisites
|
|
56
54
|
|
|
57
55
|
- Python 3.11+
|
|
58
|
-
- Node.js 18+ (included with Conda option)
|
|
59
56
|
- Git
|
|
60
57
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
git clone git@github.com:Optexity/optexity.git
|
|
65
|
-
cd optexity
|
|
66
|
-
./update_submodule.sh
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### Step 2: Create and Activate a Python Environment
|
|
58
|
+
## Create and Activate a Python Environment (Optional)
|
|
70
59
|
|
|
71
60
|
Choose **one** of the options below.
|
|
72
61
|
|
|
73
62
|
#### Option A – Conda (includes Python 3.11 and Node.js)
|
|
74
63
|
|
|
75
64
|
```bash
|
|
76
|
-
conda create -n optexity python=3.11
|
|
65
|
+
conda create -n optexity python=3.11
|
|
77
66
|
conda activate optexity
|
|
78
67
|
```
|
|
79
68
|
|
|
@@ -86,32 +75,29 @@ python3 -m venv .venv
|
|
|
86
75
|
source .venv/bin/activate
|
|
87
76
|
```
|
|
88
77
|
|
|
89
|
-
|
|
78
|
+
## Installation
|
|
90
79
|
|
|
91
|
-
###
|
|
80
|
+
### Quick Installation (from PyPI)
|
|
92
81
|
|
|
93
|
-
|
|
82
|
+
Install Optexity directly from PyPI:
|
|
94
83
|
|
|
95
84
|
```bash
|
|
96
|
-
pip install
|
|
97
|
-
pip install -e .
|
|
98
|
-
playwright install --with-deps chromium chrome
|
|
99
|
-
patchright install chromium chrome
|
|
100
|
-
pre-commit install --install-hooks
|
|
101
|
-
pre-commit install --hook-type pre-push
|
|
85
|
+
pip install optexity
|
|
102
86
|
```
|
|
87
|
+
**OR**
|
|
103
88
|
|
|
104
|
-
###
|
|
89
|
+
### Installation from Source
|
|
105
90
|
|
|
106
|
-
|
|
91
|
+
If you want to clone and edit from source:
|
|
107
92
|
|
|
108
|
-
Create a `.env` file in the repo root:
|
|
109
93
|
|
|
110
94
|
```bash
|
|
111
|
-
|
|
95
|
+
git clone git@github.com:Optexity/optexity.git
|
|
96
|
+
cd optexity
|
|
97
|
+
pip install -e .
|
|
112
98
|
```
|
|
113
99
|
|
|
114
|
-
|
|
100
|
+
## Set required environment variables:
|
|
115
101
|
|
|
116
102
|
```bash
|
|
117
103
|
API_KEY=YOUR_OPTEXITY_API_KEY # API key used for authenticated requests
|
|
@@ -121,14 +107,14 @@ DEPLOYMENT=dev # or "prod" in production
|
|
|
121
107
|
|
|
122
108
|
You can get your free Google Gemini API key from the [Google AI Studio Console](https://aistudio.google.com).
|
|
123
109
|
|
|
124
|
-
|
|
110
|
+
## Install required browsers:
|
|
111
|
+
|
|
112
|
+
Install playwright and patchright browsers:
|
|
125
113
|
|
|
126
114
|
```bash
|
|
127
|
-
|
|
115
|
+
optexity install-browsers
|
|
128
116
|
```
|
|
129
117
|
|
|
130
|
-
> If `ENV_PATH` is not set, the inference server will try to start with defaults and log a warning. For normal usage you should always point `ENV_PATH` at a real `.env` file.
|
|
131
|
-
|
|
132
118
|
## Recording Your First Automation
|
|
133
119
|
|
|
134
120
|
The fastest way to create an automation is by recording your actions directly in the browser.
|
|
@@ -156,12 +142,10 @@ The fastest way to create an automation is by recording your actions directly in
|
|
|
156
142
|
|
|
157
143
|
### Start the Inference Server
|
|
158
144
|
|
|
159
|
-
The primary way to run browser automations locally is via the inference
|
|
160
|
-
|
|
161
|
-
From the repository root:
|
|
145
|
+
The primary way to run browser automations locally is via the inference server.
|
|
162
146
|
|
|
163
147
|
```bash
|
|
164
|
-
|
|
148
|
+
optexity inference --port 9000 --child_process_id 0
|
|
165
149
|
```
|
|
166
150
|
|
|
167
151
|
Key parameters:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
optexity/__init__.py,sha256=dqh4tGEzruZnkvRLjPYKyc2-FVlXLx1Dj-JNy5fy7U8,459
|
|
2
|
-
optexity/cli.py,sha256=
|
|
2
|
+
optexity/cli.py,sha256=2g_p2Qh7jzFFG5T0aTDiZ7Celh-KycEMJ873whiXFXE,2237
|
|
3
3
|
optexity/exceptions.py,sha256=j4QxbcnAl5RmEJPJ0MWZ0iM38HvW-r8xmxtDxZ1ceSY,269
|
|
4
4
|
optexity/onepassword_integration.py,sha256=_1sQ8sRGVdDnA7384FXiXYRVntPB-ZQAu8W7ICX7_VQ,1047
|
|
5
5
|
optexity/test.py,sha256=pMSZwwA8tj6jAfFUJ3OUHGnTPriqkv4eDGGHqdAdrsA,2797
|
|
@@ -72,9 +72,9 @@ optexity/schema/actions/two_fa_action.py,sha256=OzzTDX3fZObWJiw8hvNgr96PBcvpDh1u
|
|
|
72
72
|
optexity/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
73
73
|
optexity/utils/settings.py,sha256=h6StXzYslRgZf0c8k43-kOxoa77dOgDvSOvfQUi5yI8,1864
|
|
74
74
|
optexity/utils/utils.py,sha256=QgVeKK3jAq-TLgP_RYiCXRAOEbuypFox0RxYEjruoTA,2565
|
|
75
|
-
optexity-0.1.
|
|
76
|
-
optexity-0.1.
|
|
77
|
-
optexity-0.1.
|
|
78
|
-
optexity-0.1.
|
|
79
|
-
optexity-0.1.
|
|
80
|
-
optexity-0.1.
|
|
75
|
+
optexity-0.1.4.dist-info/licenses/LICENSE,sha256=WpSBqSAcwd68PmS3zRsfACJOz-u-UfTzftsEnzp4ZCY,1065
|
|
76
|
+
optexity-0.1.4.dist-info/METADATA,sha256=F4VEHUDrBUHucmeu--S6SsdsiNR93O75dBd4xp6VQyU,9878
|
|
77
|
+
optexity-0.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
78
|
+
optexity-0.1.4.dist-info/entry_points.txt,sha256=hcn77ooRr6a_N8fo0vij3Fpo6waqc9ijpaScQ7Kj35k,47
|
|
79
|
+
optexity-0.1.4.dist-info/top_level.txt,sha256=OZEtBX8IabC8EnBrNW98z7NzdGQsjFhHleSthhjjEMM,9
|
|
80
|
+
optexity-0.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|