wizata-dsapi 1.1.47__py3-none-any.whl → 1.1.48__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.
- wizata_dsapi/__init__.py +1 -1
- wizata_dsapi/datastore.py +1 -1
- wizata_dsapi/streamlit_utils.py +31 -0
- wizata_dsapi/version.py +1 -1
- {wizata_dsapi-1.1.47.dist-info → wizata_dsapi-1.1.48.dist-info}/METADATA +1 -1
- {wizata_dsapi-1.1.47.dist-info → wizata_dsapi-1.1.48.dist-info}/RECORD +9 -9
- {wizata_dsapi-1.1.47.dist-info → wizata_dsapi-1.1.48.dist-info}/LICENSE.txt +0 -0
- {wizata_dsapi-1.1.47.dist-info → wizata_dsapi-1.1.48.dist-info}/WHEEL +0 -0
- {wizata_dsapi-1.1.47.dist-info → wizata_dsapi-1.1.48.dist-info}/top_level.txt +0 -0
wizata_dsapi/__init__.py
CHANGED
|
@@ -45,4 +45,4 @@ from .pipeline_image import PipelineImage
|
|
|
45
45
|
from .evaluation import Evaluation
|
|
46
46
|
|
|
47
47
|
# Streamlit utils
|
|
48
|
-
from .streamlit_utils import get_streamlit_token, get_streamlit_domain
|
|
48
|
+
from .streamlit_utils import get_streamlit_token, get_streamlit_domain, get_streamlit_from, get_streamlit_to
|
wizata_dsapi/datastore.py
CHANGED
wizata_dsapi/streamlit_utils.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import sys
|
|
2
|
+
from .dataframe_toolkit import generate_epoch
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
def get_streamlit_token():
|
|
@@ -15,3 +16,33 @@ def get_streamlit_domain():
|
|
|
15
16
|
if st.query_params is not None and "dsapi" in st.query_params:
|
|
16
17
|
domain = st.query_params["dsapi"]
|
|
17
18
|
return domain
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def get_streamlit_from() -> int:
|
|
22
|
+
"""
|
|
23
|
+
timestamp representation of from parameter on UI (ms)
|
|
24
|
+
:return:
|
|
25
|
+
"""
|
|
26
|
+
if 'streamlit' in sys.modules:
|
|
27
|
+
st = sys.modules['streamlit']
|
|
28
|
+
if st.query_params is not None and "from" in st.query_params:
|
|
29
|
+
param = st.query_params["from"]
|
|
30
|
+
if 'now' in param:
|
|
31
|
+
return generate_epoch(param)
|
|
32
|
+
else:
|
|
33
|
+
return int(param)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def get_streamlit_to() -> int:
|
|
37
|
+
"""
|
|
38
|
+
timestamp representation of to parameter on UI (ms)
|
|
39
|
+
:return:
|
|
40
|
+
"""
|
|
41
|
+
if 'streamlit' in sys.modules:
|
|
42
|
+
st = sys.modules['streamlit']
|
|
43
|
+
if st.query_params is not None and "to" in st.query_params:
|
|
44
|
+
param = st.query_params["to"]
|
|
45
|
+
if 'now' in param:
|
|
46
|
+
return generate_epoch(param)
|
|
47
|
+
else:
|
|
48
|
+
return int(param)
|
wizata_dsapi/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.1.
|
|
1
|
+
__version__ = "1.1.48"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
wizata_dsapi/__init__.py,sha256=
|
|
1
|
+
wizata_dsapi/__init__.py,sha256=48UjO8KBAwRHWtv4yX_9SGtnFaBuPjKyRLE6kTpDI88,1914
|
|
2
2
|
wizata_dsapi/api_config.py,sha256=CkEmEZYNKqtnzZRHH5O4QW3O4MtoOJHoghh7ZsOokEc,5073
|
|
3
3
|
wizata_dsapi/api_dto.py,sha256=-NdaTRvw5jW5xFGpIhY8U0-SdvzW2t6QD26y0UPApU0,2238
|
|
4
4
|
wizata_dsapi/api_interface.py,sha256=DURk-0ey16T8sV5e2Y2G_YybPEusJvZuY0oD5L7AnXo,10903
|
|
@@ -7,7 +7,7 @@ wizata_dsapi/business_label.py,sha256=u0TVfUNfoR9qSv8lzpf6rNjlg3G9xTiz6itefcKfea
|
|
|
7
7
|
wizata_dsapi/context.py,sha256=M7hsvXoU0Bn_5ONDB-5VvjriMpno6bAgh0RrJ9Y-h7U,11600
|
|
8
8
|
wizata_dsapi/dataframe_toolkit.py,sha256=KRlvYUiyLVntMdmlK4IEB-ffC1vgNl_0a-ZpUnncb9Y,8966
|
|
9
9
|
wizata_dsapi/datapoint.py,sha256=jH8yLqr78XO7pSr1a4P8kmtFvpY0_0c16xyRi9OgZAQ,12677
|
|
10
|
-
wizata_dsapi/datastore.py,sha256=
|
|
10
|
+
wizata_dsapi/datastore.py,sha256=BSHZmCSJ679boBA1eCkaWGJCy1CUeipKKGt2jDHzdVo,2663
|
|
11
11
|
wizata_dsapi/ds_dataframe.py,sha256=Sk2JRUuTRJzko3HosJnbK34STpgSJUlqxLq8w_E5VM4,2089
|
|
12
12
|
wizata_dsapi/dsapi_json_encoder.py,sha256=EhY1NA3-UQJ3HFYYbe7bvXb8NuhOvHVMJvXyGvX_T3k,2772
|
|
13
13
|
wizata_dsapi/evaluation.py,sha256=kB61SD66uRBBbKqiES7XZERn77bwhacbyufneSD4s8c,2222
|
|
@@ -26,12 +26,12 @@ wizata_dsapi/plot.py,sha256=SPGKFWWYNcRvHcqvvnPIIIBKsd5UwhdsxLW7b2dG2rs,2360
|
|
|
26
26
|
wizata_dsapi/request.py,sha256=Uqn03M6mUct6FQ4kj5A0SwX8g0vA8rM2W3EyWUvadqA,23159
|
|
27
27
|
wizata_dsapi/script.py,sha256=DeEciwVpuCYZetgJCoivw_bYe8ma52WuTaTQ_VkLEcg,12930
|
|
28
28
|
wizata_dsapi/solution_component.py,sha256=8gbZWx2h_xUqI_pAXa3goqAnR5Y-GDMii8MeGlaK1IE,9531
|
|
29
|
-
wizata_dsapi/streamlit_utils.py,sha256=
|
|
29
|
+
wizata_dsapi/streamlit_utils.py,sha256=QaiDy1iEQtWBlKleuPcV6HgACjmKxeh88cVfPpwztAA,1432
|
|
30
30
|
wizata_dsapi/template.py,sha256=h2f3dLduJ4WhreVxJXuFIB3pinnI3c39WxBms0bCgos,13007
|
|
31
31
|
wizata_dsapi/trigger.py,sha256=w3BZYP-L3SUwvaT0oCTanh_Ewn57peZvlt7vxzHv9J8,5129
|
|
32
32
|
wizata_dsapi/twin.py,sha256=OFDFg2CsTxOUOVOf6kkDUEK9A3ED7yuPpN9TqodGruo,6581
|
|
33
33
|
wizata_dsapi/twinregistration.py,sha256=Mi6-YuwroiEXc0c1hgrOaphh4hNVoHupxOnXedVtJtE,13377
|
|
34
|
-
wizata_dsapi/version.py,sha256=
|
|
34
|
+
wizata_dsapi/version.py,sha256=hIiM026mwgCs1VUQGyl9dPEuinxGLrAL5pZxw0wOXgk,23
|
|
35
35
|
wizata_dsapi/wizard_function.py,sha256=RbM7W7Gf-6Rhp_1dU9DBYkHaciknGAGvuAndhAS_vyo,942
|
|
36
36
|
wizata_dsapi/wizard_request.py,sha256=v6BaqKLKvTWmUSo0_gda9FabAQz5x_-GOH1Av50GzFo,3762
|
|
37
37
|
wizata_dsapi/wizata_dsapi_client.py,sha256=Qz54vYoxRLBUa21Q55K5Oo1qtZpW9ucuXi4BX1N85oE,78716
|
|
@@ -42,8 +42,8 @@ wizata_dsapi/plots/__init__.py,sha256=qgnSFqrjOPur-807M8uh5awIfjM1ZHXUXcAqHc-r2l
|
|
|
42
42
|
wizata_dsapi/plots/common.py,sha256=jdPsJqLHBwSKc6dX83BSGPqSRxzIVNHSYO5yI_8sjGk,6568
|
|
43
43
|
wizata_dsapi/scripts/__init__.py,sha256=hAxiETSQf0qOHde1si1tEAJU48seqEgHrchCzS2-LvQ,80
|
|
44
44
|
wizata_dsapi/scripts/common.py,sha256=efwq-Rd0lvYljIs3gSFz9izogBD7asOU2cTK-IvHTkM,4244
|
|
45
|
-
wizata_dsapi-1.1.
|
|
46
|
-
wizata_dsapi-1.1.
|
|
47
|
-
wizata_dsapi-1.1.
|
|
48
|
-
wizata_dsapi-1.1.
|
|
49
|
-
wizata_dsapi-1.1.
|
|
45
|
+
wizata_dsapi-1.1.48.dist-info/LICENSE.txt,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
46
|
+
wizata_dsapi-1.1.48.dist-info/METADATA,sha256=3beZdZ8bZk6owfYG-QyieskB2NN5rr9Kv9WSm8M8cq4,2188
|
|
47
|
+
wizata_dsapi-1.1.48.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
48
|
+
wizata_dsapi-1.1.48.dist-info/top_level.txt,sha256=-OeTJbEnh5DuWyTOHtvw0Dw3LRg3G27TNS6W4ZtfwPs,13
|
|
49
|
+
wizata_dsapi-1.1.48.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|