simplex 1.2.79__tar.gz → 1.2.80__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.

Potentially problematic release.


This version of simplex might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: simplex
3
- Version: 1.2.79
3
+ Version: 1.2.80
4
4
  Summary: Official Python SDK for Simplex API
5
5
  Home-page: https://simplex.sh
6
6
  Author: Simplex Labs, Inc.
@@ -19,6 +19,16 @@ Requires-Dist: python-dotenv
19
19
  Requires-Dist: click
20
20
  Provides-Extra: playwright
21
21
  Requires-Dist: rebrowser-playwright>=1.0.0; extra == "playwright"
22
+ Dynamic: author
23
+ Dynamic: author-email
24
+ Dynamic: classifier
25
+ Dynamic: description
26
+ Dynamic: description-content-type
27
+ Dynamic: home-page
28
+ Dynamic: provides-extra
29
+ Dynamic: requires-dist
30
+ Dynamic: requires-python
31
+ Dynamic: summary
22
32
 
23
33
  # Simplex AI Python SDK
24
34
 
@@ -22,7 +22,7 @@ class PostInstallCommand(install):
22
22
 
23
23
  setup(
24
24
  name="simplex",
25
- version="1.2.79",
25
+ version="1.2.80",
26
26
  packages=find_packages(),
27
27
  package_data={
28
28
  "simplex": ["browser_agent/dom/*.js"], # Include JS files in the dom directory
@@ -24,7 +24,6 @@ except ImportError:
24
24
  ImportWarning
25
25
  )
26
26
 
27
- # BASE_URL = "https://simplex-dev-shreya--api-server-and-container-service-fas-bba69e.modal.run"
28
27
  # BASE_URL = "https://simplex-dev--api-server-and-container-service-fastapi-app.modal.run"
29
28
  BASE_URL = "https://api.simplex.sh"
30
29
 
@@ -424,7 +423,7 @@ class Simplex:
424
423
  else:
425
424
  raise ValueError(f"Failed to hover: {response.json()['error']}")
426
425
 
427
- def type(self, text: str, override_fail_state: bool = False):
426
+ def type(self, text: str, is_password: bool = False, override_fail_state: bool = False):
428
427
  if not text or not text.strip():
429
428
  raise ValueError("text cannot be empty")
430
429
  if not self.session_id:
@@ -433,7 +432,8 @@ class Simplex:
433
432
  data = {
434
433
  'text': text,
435
434
  'session_id': self.session_id,
436
- 'override_fail_state': override_fail_state
435
+ 'override_fail_state': override_fail_state,
436
+ 'is_password': is_password
437
437
  }
438
438
 
439
439
  response = requests.post(
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: simplex
3
- Version: 1.2.79
3
+ Version: 1.2.80
4
4
  Summary: Official Python SDK for Simplex API
5
5
  Home-page: https://simplex.sh
6
6
  Author: Simplex Labs, Inc.
@@ -19,6 +19,16 @@ Requires-Dist: python-dotenv
19
19
  Requires-Dist: click
20
20
  Provides-Extra: playwright
21
21
  Requires-Dist: rebrowser-playwright>=1.0.0; extra == "playwright"
22
+ Dynamic: author
23
+ Dynamic: author-email
24
+ Dynamic: classifier
25
+ Dynamic: description
26
+ Dynamic: description-content-type
27
+ Dynamic: home-page
28
+ Dynamic: provides-extra
29
+ Dynamic: requires-dist
30
+ Dynamic: requires-python
31
+ Dynamic: summary
22
32
 
23
33
  # Simplex AI Python SDK
24
34
 
File without changes
File without changes
File without changes
File without changes
File without changes