sistine 0.2.0__tar.gz → 0.2.1__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.
- {sistine-0.2.0 → sistine-0.2.1}/PKG-INFO +1 -1
- {sistine-0.2.0 → sistine-0.2.1}/pyproject.toml +1 -1
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine/app.py +3 -2
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine/server.py +7 -3
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine.egg-info/PKG-INFO +1 -1
- {sistine-0.2.0 → sistine-0.2.1}/README.md +0 -0
- {sistine-0.2.0 → sistine-0.2.1}/setup.cfg +0 -0
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine/__init__.py +0 -0
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine/__main__.py +0 -0
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine/cli.py +0 -0
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine/el.py +0 -0
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine/query.py +0 -0
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine.egg-info/SOURCES.txt +0 -0
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine.egg-info/dependency_links.txt +0 -0
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine.egg-info/entry_points.txt +0 -0
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine.egg-info/requires.txt +0 -0
- {sistine-0.2.0 → sistine-0.2.1}/src/sistine.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,8 @@ from .server import StreamlitServer
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
_PAGE = """\
|
|
11
|
-
<div class="sistine-wrap"
|
|
11
|
+
<div class="sistine-wrap">
|
|
12
|
+
<div class="sistine-overlay"></div>
|
|
12
13
|
{global_css}
|
|
13
14
|
{global_head}
|
|
14
15
|
{content}
|
|
@@ -86,7 +87,7 @@ class Sistine:
|
|
|
86
87
|
return decorator
|
|
87
88
|
|
|
88
89
|
def _reveal_script(self) -> str:
|
|
89
|
-
return "<script>(function(){var
|
|
90
|
+
return "<script>(function(){var o=document.querySelector('.sistine-overlay');if(o)o.remove()})()</script>"
|
|
90
91
|
|
|
91
92
|
def _render(self, html: str) -> str:
|
|
92
93
|
return _PAGE.format(
|
|
@@ -49,8 +49,12 @@ class StreamlitServer:
|
|
|
49
49
|
[data-testid="stAppViewContainer"] > section:first-child {padding-top: 0 !important;}
|
|
50
50
|
[data-testid="stAppDeployButton"] {display: none !important;}
|
|
51
51
|
[data-testid="stToolbar"] {display: none !important;}
|
|
52
|
-
@keyframes sistine-pulse { 0%,100%{opacity:
|
|
53
|
-
.sistine-
|
|
52
|
+
@keyframes sistine-pulse { 0%,100%{opacity:1} 50%{opacity:.9} }
|
|
53
|
+
.sistine-overlay {
|
|
54
|
+
position:fixed;inset:0;z-index:999999;
|
|
55
|
+
background:var(--sistine-loading-bg,#0f0f0f);
|
|
56
|
+
animation:sistine-pulse 1.5s ease-in-out infinite;
|
|
57
|
+
}
|
|
54
58
|
.stApp { margin: 0; padding: 0; background: transparent !important; }
|
|
55
59
|
body { margin: 0; padding: 0; }
|
|
56
60
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
@@ -65,7 +69,7 @@ class StreamlitServer:
|
|
|
65
69
|
if not is_running_in_streamlit():
|
|
66
70
|
script = sys.argv[0]
|
|
67
71
|
print(
|
|
68
|
-
f"\n \033[1mSistine v0.2.
|
|
72
|
+
f"\n \033[1mSistine v0.2.1\033[0m — Starting Streamlit backend on http://{host}:{port}...\n"
|
|
69
73
|
)
|
|
70
74
|
|
|
71
75
|
import subprocess
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|