sweatstack 0.24.0__py3-none-any.whl → 0.25.1__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.
sweatstack/streamlit.py CHANGED
@@ -113,7 +113,9 @@ class StreamlitAuth:
113
113
 
114
114
  def authenticate(self):
115
115
  if self.is_authenticated():
116
- st.toast("SweatStack authentication successful!", icon="✅")
116
+ if not st.session_state.get("sweatstack_auth_toast_shown", False):
117
+ st.toast("SweatStack authentication successful!", icon="✅")
118
+ st.session_state["sweatstack_auth_toast_shown"] = True
117
119
  self._show_sweatstack_logout()
118
120
  elif code := st.query_params.get("code"):
119
121
  self._exchange_token(code)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sweatstack
3
- Version: 0.24.0
3
+ Version: 0.25.1
4
4
  Summary: The official Python client for SweatStack
5
5
  Author-email: Aart Goossens <aart@gssns.io>
6
6
  Requires-Python: >=3.12
@@ -12,8 +12,6 @@ Provides-Extra: jupyter
12
12
  Requires-Dist: ipython>=8.31.0; extra == 'jupyter'
13
13
  Requires-Dist: jupyterlab>=4.3.4; extra == 'jupyter'
14
14
  Requires-Dist: matplotlib>=3.10.0; extra == 'jupyter'
15
- Provides-Extra: pyodide
16
- Requires-Dist: pyodide-httpx>=0.2.0; extra == 'pyodide'
17
15
  Provides-Extra: streamlit
18
16
  Requires-Dist: streamlit>=1.42.0; extra == 'streamlit'
19
17
  Description-Content-Type: text/markdown
@@ -7,11 +7,11 @@ sweatstack/jupyterlab_oauth2_startup.py,sha256=eZ6xi0Sa4hO4vUanimq0SqjduHtiywCUR
7
7
  sweatstack/openapi_schemas.py,sha256=XlgiL7qkfcfoDHcQrIm9e5hvhY98onC0QmZWG69bl-s,13441
8
8
  sweatstack/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  sweatstack/schemas.py,sha256=CArM9jgrJDBUT-ZIIiGN_insqaEGV43MX134Ezf4jyA,103
10
- sweatstack/streamlit.py,sha256=F5oQdWkcJ76Um5fRqFT5QrjpEz8v3OaiH9kMQOYktgo,4466
10
+ sweatstack/streamlit.py,sha256=VEBehwXZ8I-1OjdDNA10F1BAOT5XPGe8cqRjdershtQ,4620
11
11
  sweatstack/sweatshell.py,sha256=MYLNcWbOdceqKJ3S0Pe8dwHXEeYsGJNjQoYUXpMTftA,333
12
12
  sweatstack/utils.py,sha256=HtR1NNCKus59vfgfaCSFS-tHA11mtdcuUx5lS6ZX58g,1773
13
13
  sweatstack/Sweat Stack examples/Getting started.ipynb,sha256=k2hiSffWecoQ0VxjdpDcgFzBXDQiYEebhnAYlu8cgX8,6335204
14
- sweatstack-0.24.0.dist-info/METADATA,sha256=-06oPw33erF8uL-fO1M0Gsi22RfIm2qdSXlH2UEh0IA,856
15
- sweatstack-0.24.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- sweatstack-0.24.0.dist-info/entry_points.txt,sha256=kCzOUQI3dqbTpEYqtgYDeiKFaqaA7BMlV6D24BMzCFU,208
17
- sweatstack-0.24.0.dist-info/RECORD,,
14
+ sweatstack-0.25.1.dist-info/METADATA,sha256=rPN9UG9CgRpTK43bwy2yvv0LunH1G-YzorqxfZaoNeI,776
15
+ sweatstack-0.25.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ sweatstack-0.25.1.dist-info/entry_points.txt,sha256=kCzOUQI3dqbTpEYqtgYDeiKFaqaA7BMlV6D24BMzCFU,208
17
+ sweatstack-0.25.1.dist-info/RECORD,,