sweatstack 0.25.0__tar.gz → 0.25.2__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.
Files changed (27) hide show
  1. {sweatstack-0.25.0 → sweatstack-0.25.2}/PKG-INFO +1 -1
  2. {sweatstack-0.25.0 → sweatstack-0.25.2}/pyproject.toml +1 -1
  3. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/streamlit.py +4 -2
  4. {sweatstack-0.25.0 → sweatstack-0.25.2}/.gitignore +0 -0
  5. {sweatstack-0.25.0 → sweatstack-0.25.2}/.python-version +0 -0
  6. {sweatstack-0.25.0 → sweatstack-0.25.2}/DEVELOPMENT.md +0 -0
  7. {sweatstack-0.25.0 → sweatstack-0.25.2}/Makefile +0 -0
  8. {sweatstack-0.25.0 → sweatstack-0.25.2}/README.md +0 -0
  9. {sweatstack-0.25.0 → sweatstack-0.25.2}/playground/.ipynb_checkpoints/Untitled-checkpoint.ipynb +0 -0
  10. {sweatstack-0.25.0 → sweatstack-0.25.2}/playground/README.md +0 -0
  11. {sweatstack-0.25.0 → sweatstack-0.25.2}/playground/Sweat Stack examples/Getting started.ipynb +0 -0
  12. {sweatstack-0.25.0 → sweatstack-0.25.2}/playground/Untitled.ipynb +0 -0
  13. {sweatstack-0.25.0 → sweatstack-0.25.2}/playground/hello.py +0 -0
  14. {sweatstack-0.25.0 → sweatstack-0.25.2}/playground/pyproject.toml +0 -0
  15. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/Sweat Stack examples/Getting started.ipynb +0 -0
  16. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/__init__.py +0 -0
  17. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/cli.py +0 -0
  18. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/client.py +0 -0
  19. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/constants.py +0 -0
  20. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/ipython_init.py +0 -0
  21. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/jupyterlab_oauth2_startup.py +0 -0
  22. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/openapi_schemas.py +0 -0
  23. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/py.typed +0 -0
  24. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/schemas.py +0 -0
  25. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/sweatshell.py +0 -0
  26. {sweatstack-0.25.0 → sweatstack-0.25.2}/src/sweatstack/utils.py +0 -0
  27. {sweatstack-0.25.0 → sweatstack-0.25.2}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sweatstack
3
- Version: 0.25.0
3
+ Version: 0.25.2
4
4
  Summary: The official Python client for SweatStack
5
5
  Author-email: Aart Goossens <aart@gssns.io>
6
6
  Requires-Python: >=3.12
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sweatstack"
3
- version = "0.25.0"
3
+ version = "0.25.2"
4
4
  description = "The official Python client for SweatStack"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -54,7 +54,7 @@ class StreamlitAuth:
54
54
  }}
55
55
  </style>
56
56
  <a href="{authorization_url}"
57
- target="_self"
57
+ target="_top"
58
58
  class="animated-button"
59
59
  style="display: inline-block;
60
60
  padding: 10px 20px;
@@ -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)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes