syd 1.2.4__py3-none-any.whl → 1.2.5__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.
- syd/__init__.py +1 -1
- syd/flask_deployment/deployer.py +3 -3
- syd/viewer.py +1 -1
- {syd-1.2.4.dist-info → syd-1.2.5.dist-info}/METADATA +1 -1
- {syd-1.2.4.dist-info → syd-1.2.5.dist-info}/RECORD +7 -7
- {syd-1.2.4.dist-info → syd-1.2.5.dist-info}/WHEEL +0 -0
- {syd-1.2.4.dist-info → syd-1.2.5.dist-info}/licenses/LICENSE +0 -0
syd/__init__.py
CHANGED
syd/flask_deployment/deployer.py
CHANGED
|
@@ -126,7 +126,7 @@ class FlaskDeployer:
|
|
|
126
126
|
plot_margin_percent: float = 2.5,
|
|
127
127
|
suppress_warnings: bool = True,
|
|
128
128
|
debug: bool = False,
|
|
129
|
-
host: str =
|
|
129
|
+
host: Optional[str] = None,
|
|
130
130
|
port: Optional[int] = None,
|
|
131
131
|
open_browser: bool = True,
|
|
132
132
|
update_threshold: float = 1.0,
|
|
@@ -386,7 +386,7 @@ class FlaskDeployer:
|
|
|
386
386
|
|
|
387
387
|
def display(
|
|
388
388
|
self,
|
|
389
|
-
host: str =
|
|
389
|
+
host: Optional[str] = None,
|
|
390
390
|
port: Optional[int] = None,
|
|
391
391
|
open_browser: bool = True,
|
|
392
392
|
) -> None:
|
|
@@ -398,7 +398,7 @@ class FlaskDeployer:
|
|
|
398
398
|
|
|
399
399
|
# Find an available port if none is specified
|
|
400
400
|
self.port = port or _find_available_port()
|
|
401
|
-
self.host = host
|
|
401
|
+
self.host = host or socket.gethostbyname(socket.gethostname())
|
|
402
402
|
self.url = f"http://{self.host}:{self.port}"
|
|
403
403
|
print(f" * Syd Flask server running on {self.url}")
|
|
404
404
|
|
syd/viewer.py
CHANGED
|
@@ -279,7 +279,7 @@ class Viewer:
|
|
|
279
279
|
plot_margin_percent: float = 2.5,
|
|
280
280
|
suppress_warnings: bool = True,
|
|
281
281
|
debug: bool = False,
|
|
282
|
-
host: str =
|
|
282
|
+
host: Optional[str] = None,
|
|
283
283
|
port: Optional[int] = None,
|
|
284
284
|
open_browser: bool = True,
|
|
285
285
|
update_threshold: float = 1.0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: syd
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.5
|
|
4
4
|
Summary: A Python package for making GUIs for data science easy.
|
|
5
5
|
Project-URL: Homepage, https://github.com/landoskape/syd
|
|
6
6
|
Author-email: Andrew Landau <andrew+tyler+landau+getridofthisanddtheplusses@gmail.com>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
syd/__init__.py,sha256=
|
|
1
|
+
syd/__init__.py,sha256=vegsqm4zQ_sfa0BFitwk_n8yT_Fka5mN7gs_0yrMNPs,117
|
|
2
2
|
syd/parameters.py,sha256=lzCHSMGYEdQ_FMbcXnntdPF1XvCm7fybB6CNy3TFn04,43543
|
|
3
3
|
syd/support.py,sha256=LoHOsTN0byyDxk9uibjM0BKnI-vAJ4aU-tWILMCXz1Y,6783
|
|
4
|
-
syd/viewer.py,sha256=
|
|
4
|
+
syd/viewer.py,sha256=yKycDAFfyKu8WEp-VUtHVG1Ad4flQtQ3bHqPaQ4JWVM,52699
|
|
5
5
|
syd/flask_deployment/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
6
|
-
syd/flask_deployment/deployer.py,sha256=
|
|
6
|
+
syd/flask_deployment/deployer.py,sha256=TKlf4jtRN4t67cuHypcVZe2c8-P3zkXovO5EpXKW2LQ,29827
|
|
7
7
|
syd/flask_deployment/testing_principles.md,sha256=GyULM97sDeie8h3tSPoduOckdMNGyWuwm1RdHo5jzK0,10130
|
|
8
8
|
syd/flask_deployment/static/__init__.py,sha256=ieWE8NKR-APw7h4Ge0ooZGk6wZrneSSs_1cMyTPbQSA,65
|
|
9
9
|
syd/flask_deployment/static/css/styles.css,sha256=GQgIPbWMdfTgU-HN80FCObA8bd1FPiwa1Dq0yRANsPc,5944
|
|
@@ -22,7 +22,7 @@ syd/flask_deployment/templates/index.html,sha256=KDMR-KTMpdQa1PS8py71-NSoGMAWE3q
|
|
|
22
22
|
syd/notebook_deployment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
23
|
syd/notebook_deployment/deployer.py,sha256=ovuFvj5_qXB5WToNhCxrEHmPuKYypIeLqrUg0KjovQs,12706
|
|
24
24
|
syd/notebook_deployment/widgets.py,sha256=ptys7exVA6NCF4eCRZMTPJblT0ZbtPdN4o2A0Yh5Cfc,20781
|
|
25
|
-
syd-1.2.
|
|
26
|
-
syd-1.2.
|
|
27
|
-
syd-1.2.
|
|
28
|
-
syd-1.2.
|
|
25
|
+
syd-1.2.5.dist-info/METADATA,sha256=U4bMgpT10LCsQyI476ZO0l8PciUnOiOfdq2UEDzFyYo,15340
|
|
26
|
+
syd-1.2.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
27
|
+
syd-1.2.5.dist-info/licenses/LICENSE,sha256=YF6QR6Vjxcg5b_sYIyqkME7FZYau5TfEUGTG-0JeRK0,35129
|
|
28
|
+
syd-1.2.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|