simplex 1.2.12__py3-none-any.whl → 1.2.14__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.

Potentially problematic release.


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

simplex/simplex.py CHANGED
@@ -1,4 +1,3 @@
1
- import os
2
1
  import requests
3
2
  import atexit
4
3
 
@@ -23,7 +22,7 @@ class Simplex:
23
22
  self.session_id = None
24
23
  return response.json()
25
24
 
26
- def create_session(self):
25
+ def create_session(self, show_in_console: bool = True):
27
26
  response = requests.post(
28
27
  f"{BASE_URL}/create-session",
29
28
  headers={
@@ -35,6 +34,9 @@ class Simplex:
35
34
  self.session_id = response_json['session_id']
36
35
  livestream_url = response_json['livestream_url']
37
36
 
37
+ if show_in_console:
38
+ print(f"Livestream URL: {livestream_url}")
39
+
38
40
  return self.session_id, livestream_url
39
41
 
40
42
  def goto(self, url: str, cdp_url: str = None):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: simplex
3
- Version: 1.2.12
3
+ Version: 1.2.14
4
4
  Summary: Official Python SDK for Simplex API
5
5
  Home-page: https://simplex.sh
6
6
  Author: Simplex Labs, Inc.
@@ -0,0 +1,11 @@
1
+ simplex/__init__.py,sha256=1mbM4XUk0FNW161WOkM4ayC1s_QSsaBEls6PZ0iBScY,74
2
+ simplex/cli.py,sha256=yirCLDIF7u0d6LIDY2WWZ5IJJrlxdNsGv9B3H8nh34U,2643
3
+ simplex/simplex.py,sha256=gNllsmKqeVE8H4HAfjglO2BVOdDY8_Y6SmqzfBhy214,9888
4
+ simplex/deploy/__init__.py,sha256=_JQ81F_Nu7hSAfMA691gzs6a4-8oZ-buJ9h3Au12BKw,96
5
+ simplex/deploy/push.py,sha256=hRAbtFZaECKnBljaOLQ5nzJ6hk7tZgc1c7QdgxKQFoY,6123
6
+ simplex-1.2.14.dist-info/LICENSE,sha256=Xh0SJjYZfNI71pCNMB40aKlBLLuOB0blx5xkTtufFNQ,1075
7
+ simplex-1.2.14.dist-info/METADATA,sha256=1NaEbrSP6GFe8BnNE2hUV36OWinBSMo0sixg49UcVSQ,1350
8
+ simplex-1.2.14.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
9
+ simplex-1.2.14.dist-info/entry_points.txt,sha256=3veL2w3c5vxb3dm8I_M8Fs-370n1ZnvD8uu1nSsL7z8,45
10
+ simplex-1.2.14.dist-info/top_level.txt,sha256=cbMH1bYpN0A3gP-ecibPRHasHoqB-01T_2BUFS8p0CE,8
11
+ simplex-1.2.14.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- simplex/__init__.py,sha256=1mbM4XUk0FNW161WOkM4ayC1s_QSsaBEls6PZ0iBScY,74
2
- simplex/cli.py,sha256=yirCLDIF7u0d6LIDY2WWZ5IJJrlxdNsGv9B3H8nh34U,2643
3
- simplex/simplex.py,sha256=B6IJ1Ua0wLNXZDmEOkDN-WvXtPZmXS5VOgKb48KLB9I,9784
4
- simplex/deploy/__init__.py,sha256=_JQ81F_Nu7hSAfMA691gzs6a4-8oZ-buJ9h3Au12BKw,96
5
- simplex/deploy/push.py,sha256=hRAbtFZaECKnBljaOLQ5nzJ6hk7tZgc1c7QdgxKQFoY,6123
6
- simplex-1.2.12.dist-info/LICENSE,sha256=Xh0SJjYZfNI71pCNMB40aKlBLLuOB0blx5xkTtufFNQ,1075
7
- simplex-1.2.12.dist-info/METADATA,sha256=-CnNY6j8ZYWSiPUdvFXnDAkXXxxeDJbdRX1qSl7leH0,1350
8
- simplex-1.2.12.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
9
- simplex-1.2.12.dist-info/entry_points.txt,sha256=3veL2w3c5vxb3dm8I_M8Fs-370n1ZnvD8uu1nSsL7z8,45
10
- simplex-1.2.12.dist-info/top_level.txt,sha256=cbMH1bYpN0A3gP-ecibPRHasHoqB-01T_2BUFS8p0CE,8
11
- simplex-1.2.12.dist-info/RECORD,,