sweatstack 0.60.0__tar.gz → 0.62.0__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 (56) hide show
  1. {sweatstack-0.60.0 → sweatstack-0.62.0}/.claude/settings.local.json +3 -1
  2. {sweatstack-0.60.0 → sweatstack-0.62.0}/CHANGELOG.md +13 -1
  3. sweatstack-0.62.0/FASTAPI_USER_SWITCHING.md +858 -0
  4. sweatstack-0.62.0/FASTAPI_WEBHOOKS.md +1466 -0
  5. {sweatstack-0.60.0 → sweatstack-0.62.0}/PKG-INFO +1 -1
  6. sweatstack-0.62.0/examples/fastapi_webhooks_example.py +81 -0
  7. sweatstack-0.62.0/examples/send_webhook.py +192 -0
  8. sweatstack-0.62.0/examples/tokens.db +0 -0
  9. sweatstack-0.62.0/fastapi_coaching_example.py +97 -0
  10. sweatstack-0.62.0/fastapi_example.py +95 -0
  11. {sweatstack-0.60.0 → sweatstack-0.62.0}/pyproject.toml +1 -1
  12. sweatstack-0.62.0/src/sweatstack/fastapi/__init__.py +110 -0
  13. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/fastapi/config.py +68 -2
  14. sweatstack-0.62.0/src/sweatstack/fastapi/dependencies.py +406 -0
  15. sweatstack-0.62.0/src/sweatstack/fastapi/models.py +175 -0
  16. sweatstack-0.62.0/src/sweatstack/fastapi/routes.py +383 -0
  17. sweatstack-0.62.0/src/sweatstack/fastapi/token_stores.py +238 -0
  18. sweatstack-0.62.0/src/sweatstack/fastapi/webhooks.py +201 -0
  19. sweatstack-0.62.0/tests/__init__.py +1 -0
  20. sweatstack-0.62.0/tests/test_webhooks.py +489 -0
  21. {sweatstack-0.60.0 → sweatstack-0.62.0}/uv.lock +499 -4
  22. sweatstack-0.60.0/fastapi_example.py +0 -19
  23. sweatstack-0.60.0/src/sweatstack/fastapi/__init__.py +0 -43
  24. sweatstack-0.60.0/src/sweatstack/fastapi/dependencies.py +0 -161
  25. sweatstack-0.60.0/src/sweatstack/fastapi/routes.py +0 -177
  26. {sweatstack-0.60.0 → sweatstack-0.62.0}/.gitignore +0 -0
  27. {sweatstack-0.60.0 → sweatstack-0.62.0}/.python-version +0 -0
  28. {sweatstack-0.60.0 → sweatstack-0.62.0}/DEVELOPMENT.md +0 -0
  29. {sweatstack-0.60.0 → sweatstack-0.62.0}/FASTAPI_DOCS.md +0 -0
  30. {sweatstack-0.60.0 → sweatstack-0.62.0}/FASTAPI_PLUGIN.md +0 -0
  31. {sweatstack-0.60.0 → sweatstack-0.62.0}/Makefile +0 -0
  32. {sweatstack-0.60.0 → sweatstack-0.62.0}/README.md +0 -0
  33. {sweatstack-0.60.0 → sweatstack-0.62.0}/docs/conf.py +0 -0
  34. {sweatstack-0.60.0 → sweatstack-0.62.0}/docs/everything.rst +0 -0
  35. {sweatstack-0.60.0 → sweatstack-0.62.0}/docs/index.rst +0 -0
  36. {sweatstack-0.60.0 → sweatstack-0.62.0}/fastapi_sweatstack.py +0 -0
  37. {sweatstack-0.60.0 → sweatstack-0.62.0}/playground/.ipynb_checkpoints/Untitled-checkpoint.ipynb +0 -0
  38. {sweatstack-0.60.0 → sweatstack-0.62.0}/playground/README.md +0 -0
  39. {sweatstack-0.60.0 → sweatstack-0.62.0}/playground/Sweat Stack examples/Getting started.ipynb +0 -0
  40. {sweatstack-0.60.0 → sweatstack-0.62.0}/playground/Untitled.ipynb +0 -0
  41. {sweatstack-0.60.0 → sweatstack-0.62.0}/playground/hello.py +0 -0
  42. {sweatstack-0.60.0 → sweatstack-0.62.0}/playground/pyproject.toml +0 -0
  43. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/Sweat Stack examples/Getting started.ipynb +0 -0
  44. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/__init__.py +0 -0
  45. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/cli.py +0 -0
  46. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/client.py +0 -0
  47. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/constants.py +0 -0
  48. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/fastapi/session.py +0 -0
  49. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/ipython_init.py +0 -0
  50. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/jupyterlab_oauth2_startup.py +0 -0
  51. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/openapi_schemas.py +0 -0
  52. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/py.typed +0 -0
  53. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/schemas.py +0 -0
  54. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/streamlit.py +0 -0
  55. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/sweatshell.py +0 -0
  56. {sweatstack-0.60.0 → sweatstack-0.62.0}/src/sweatstack/utils.py +0 -0
@@ -10,7 +10,9 @@
10
10
  "Bash(uv run pytest:*)",
11
11
  "Bash(uv pip install:*)",
12
12
  "Bash(SWEATSTACK_CLIENT_ID=test-client SWEATSTACK_CLIENT_SECRET=test-secret APP_URL=http://localhost:8000 SWEATSTACK_SESSION_SECRET=dGVzdC1zZWNyZXQta2V5LXRoYXQtaXMtMzItYnl0ZXM= python -c \"\nfrom sweatstack.fastapi import configure_fastapi\nfrom sweatstack.fastapi.config import get_config\n\n# No arguments - all from env vars\nconfigure_fastapi\\(\\)\n\nconfig = get_config\\(\\)\nprint\\(f''client_id: {config.client_id}''\\)\nprint\\(f''app_url: {config.app_url}''\\)\nprint\\(f''redirect_uri: {config.redirect_uri}''\\)\n\")",
13
- "WebFetch(domain:developer.sweatstack.no)"
13
+ "WebFetch(domain:developer.sweatstack.no)",
14
+ "Bash(uv run ruff:*)",
15
+ "Bash(chmod:*)"
14
16
  ],
15
17
  "deny": []
16
18
  }
@@ -6,10 +6,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
 
9
+ ## [0.62.0] - 2026-02-02
10
+
11
+ ### Added
12
+ - Adds webhook support to FastAPI integration.
13
+
14
+
15
+ ## [0.61.0] - 2026-01-29
16
+
17
+ ### Added
18
+ - Added user switching support to FastAPI integration.
19
+
20
+
9
21
  ## [0.60.0] - 2026-01-28
10
22
 
11
23
  ### Added
12
- - Added a FastAPI plugin.
24
+ - Added a FastAPI integration.
13
25
 
14
26
 
15
27
  ### Changed