stackthread 0.1.0.dev2__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.

Potentially problematic release.


This version of stackthread might be problematic. Click here for more details.

Files changed (40) hide show
  1. stackthread/__init__.py +6 -0
  2. stackthread/__main__.py +3 -0
  3. stackthread/_vendor/THIRD_PARTY_NOTICES.txt +23 -0
  4. stackthread/_vendor/extract.mjs +15 -0
  5. stackthread/adapters.py +130 -0
  6. stackthread/cli.py +342 -0
  7. stackthread/config.py +409 -0
  8. stackthread/detect.py +150 -0
  9. stackthread/lang/__init__.py +1 -0
  10. stackthread/lang/js/__init__.py +1 -0
  11. stackthread/lang/js/aliases.py +133 -0
  12. stackthread/lang/js/build.py +455 -0
  13. stackthread/lang/js/worker.py +186 -0
  14. stackthread/lang/python/__init__.py +1 -0
  15. stackthread/lang/python/build.py +249 -0
  16. stackthread/lang/python/extract.py +494 -0
  17. stackthread/lang/python/frameworks.py +700 -0
  18. stackthread/lang/python/orm.py +300 -0
  19. stackthread/lang/python/resolve.py +448 -0
  20. stackthread/lineage.py +965 -0
  21. stackthread/link.py +130 -0
  22. stackthread/logs.py +314 -0
  23. stackthread/model.py +161 -0
  24. stackthread/paths.py +173 -0
  25. stackthread/project.py +414 -0
  26. stackthread/report.py +203 -0
  27. stackthread/rules.py +48 -0
  28. stackthread/server/__init__.py +5 -0
  29. stackthread/server/app.py +696 -0
  30. stackthread/server/edit.py +108 -0
  31. stackthread/server/security.py +73 -0
  32. stackthread/static/THIRD_PARTY_NOTICES.txt +379 -0
  33. stackthread/static/app.css +1 -0
  34. stackthread/static/app.js +29 -0
  35. stackthread/static/index.html +16 -0
  36. stackthread-0.1.0.dev2.dist-info/METADATA +51 -0
  37. stackthread-0.1.0.dev2.dist-info/RECORD +40 -0
  38. stackthread-0.1.0.dev2.dist-info/WHEEL +4 -0
  39. stackthread-0.1.0.dev2.dist-info/entry_points.txt +2 -0
  40. stackthread-0.1.0.dev2.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,16 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>stackthread</title>
7
+ <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='8' fill='%230d1322'/%3E%3Cpath d='M9 6v20' stroke='%237dd3fc' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M9 10c9 0 14 3 14 8s-5 8-14 8' stroke='%23fbbf24' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E">
8
+ <link rel="stylesheet" href="app.css">
9
+ <!--stackthread-boot-->
10
+ </head>
11
+ <body>
12
+ <div id="app"></div>
13
+ <noscript>stackthread needs JavaScript.</noscript>
14
+ <script type="module" src="app.js"></script>
15
+ </body>
16
+ </html>
@@ -0,0 +1,51 @@
1
+ Metadata-Version: 2.5
2
+ Name: stackthread
3
+ Version: 0.1.0.dev2
4
+ Summary: Click any element in your running web app and follow it through your code: component, handler, request, endpoint, database.
5
+ Project-URL: Homepage, https://bitbucket.org/ziel-fintech/ide_tool_stackthread
6
+ Project-URL: Documentation, https://bitbucket.org/ziel-fintech/ide_tool_stackthread/src/production/docs/
7
+ Project-URL: Issues, https://bitbucket.org/ziel-fintech/ide_tool_stackthread/issues
8
+ Project-URL: Changelog, https://bitbucket.org/ziel-fintech/ide_tool_stackthread/src/production/CHANGELOG.md
9
+ Author: The stackthread authors
10
+ License-Expression: MIT
11
+ License-File: LICENSE
12
+ Keywords: code-navigation,developer-tools,django,fastapi,react,static-analysis,vite
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Environment :: Web Environment
15
+ Classifier: Framework :: Django
16
+ Classifier: Framework :: FastAPI
17
+ Classifier: Intended Audience :: Developers
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Topic :: Software Development
26
+ Classifier: Topic :: Software Development :: Debuggers
27
+ Requires-Python: >=3.11
28
+ Description-Content-Type: text/markdown
29
+
30
+ # stackthread
31
+
32
+ Click any element in your running web app and follow it through your code: the component that drew it, the
33
+ handler it runs, the request it sends, the endpoint that answers, the functions behind it and the tables they
34
+ touch. Open any of them at the right line, edit, save.
35
+
36
+ Works with **FastAPI**, **Django**, **Django REST framework** and **django-ninja** backends, the **Django ORM**,
37
+ **SQLAlchemy** and **SQLModel**, and **React** frontends on **Vite** with React Router or TanStack Router.
38
+
39
+ ```sh
40
+ pip install stackthread
41
+ npm install --save-dev @stackthread/vite # add stackthread() to vite.config.ts, before react()
42
+
43
+ stackthread init # detect the project, write stackthread.toml
44
+ stackthread serve # index, watch, serve the inspector on 127.0.0.1
45
+ ```
46
+
47
+ Then open `http://localhost:5173/__stackthread/` and press **Inspect**.
48
+
49
+ Runs entirely on your machine; no telemetry. No Python dependencies; Node.js 22.18+ reads the frontend.
50
+
51
+ Documentation, examples and source: <https://bitbucket.org/ziel-fintech/ide_tool_stackthread>. MIT licence.
@@ -0,0 +1,40 @@
1
+ stackthread/__init__.py,sha256=3PHqNE2P-e8JeDK6xr8OdeCCnZmsGSrprqtC1yJE3cA,234
2
+ stackthread/__main__.py,sha256=6Zy9Qtc9C8nvKSjqiAQ00Yz-ddvyaZivCFWFcDTQtSE,59
3
+ stackthread/adapters.py,sha256=n7AvZ6eDhRZ586v-i0L4L4glvXG5Zk_1MkOeVKBLs14,4839
4
+ stackthread/cli.py,sha256=ElS1K2PPctQbZ0QcH4P79lZ1KBKVZRmUB1O9G-LbD6A,13773
5
+ stackthread/config.py,sha256=hSp6OG9_WEYD2k6LOF2E1_Omf-d_EF2-cyHDovCafiY,16295
6
+ stackthread/detect.py,sha256=D8Z1GOOhpjqQiHA3SkepIFXDpWrji4lcXVL4xls7DRI,5534
7
+ stackthread/lineage.py,sha256=uyk1DEfQTm-5zmuQz56YwRV3XvyB3mwlDRL5EdBPopY,40605
8
+ stackthread/link.py,sha256=VekbdTRNzf3qs3fsoRflewM3Tajg1dO3EAujdvcMGr4,5021
9
+ stackthread/logs.py,sha256=YCMs6RD89gK6RLlWAxKX6xpajZCMY4kxydkwSaXPZp0,11323
10
+ stackthread/model.py,sha256=hbPJZWG--LzFnElylnFWvX9SUg26ZaIKnruvUDL6IkM,5425
11
+ stackthread/paths.py,sha256=_x-8KsXQuBeDDBgM7WZbb8GT2Kseef4q_T9F0Q1Rmcs,5786
12
+ stackthread/project.py,sha256=oOf8nt2TfPvrUr1Gu6nFehghPWGMi1hNiC9BzursTq4,16983
13
+ stackthread/report.py,sha256=uKQsDtlQR4PAEGQHp7LT8N40L38wvjCOqaNI5mVCd7s,7851
14
+ stackthread/rules.py,sha256=pQRXe5wYEzNQUopDkL7n50JJo1ExbUNMUCsrKXA3ZpI,1878
15
+ stackthread/_vendor/THIRD_PARTY_NOTICES.txt,sha256=_eCZkX6QLn_WbL-qciAmo82roN5dmgq-JfCKm-60zsw,1198
16
+ stackthread/_vendor/extract.mjs,sha256=KP8ytbtxB8agrzrtxrpanhIeX6ukxlGJOFkwjPO2qOY,326425
17
+ stackthread/lang/__init__.py,sha256=eUu-BiyyZ9bxHXztlk7HVxsBT2sxvNJNWLCv1mXDr-Y,116
18
+ stackthread/lang/js/__init__.py,sha256=502aSR6tkxpRn0uy2r_Ip4cfi0SxK804MniDRxgT5vA,114
19
+ stackthread/lang/js/aliases.py,sha256=uIiuPryur8r4EhCqZwitxK9MbX70gHaETrKJ_1FKyf8,5646
20
+ stackthread/lang/js/build.py,sha256=NDYd_V-ddGV9P1Eqt9giRMGgPTqtRUHW_2lDfmXjr7A,20883
21
+ stackthread/lang/js/worker.py,sha256=2VRWozjp9Xad-L9QtvsIkGxDqaTvVSMm_anycgvTlNM,6619
22
+ stackthread/lang/python/__init__.py,sha256=W6IpMW0Fj7rUgpXG6drOW78GetxSPovoqb8vdZ_c4JU,87
23
+ stackthread/lang/python/build.py,sha256=f1OoPKBuwlCANLAUbV5DykXpuSmOiRLOwI0f17G34OU,10236
24
+ stackthread/lang/python/extract.py,sha256=i6fTFbwXYPvwPhq_90oAUYjoYZDK14RDEluipCH_WA8,19754
25
+ stackthread/lang/python/frameworks.py,sha256=a1JQ11Fh9J8CbuQdIdI8QyF4pTw6qMBhIZb42wDrZSE,30345
26
+ stackthread/lang/python/orm.py,sha256=_EeTM_cUhKUPdxRdypP8Fn7TBjeKjWQArSklTzrev-w,13282
27
+ stackthread/lang/python/resolve.py,sha256=7Q_m5GKOheFnPuWie9qDhxnSgrfE4WZahc30Vxlo7Ag,15927
28
+ stackthread/server/__init__.py,sha256=aO2N2xIPnHKTaKkMkkVdM11RbgVdf_5xJ9HGS5WMZpk,149
29
+ stackthread/server/app.py,sha256=hyJNUTAk_YcaCz83EbTi9RTozUP3HLVknnsvBFVlS80,29670
30
+ stackthread/server/edit.py,sha256=V7m2b7cIsm0Eod-kPH6cY7VCR7LQS4Hjx25ObTVRhKQ,4228
31
+ stackthread/server/security.py,sha256=19SDVlEKdB2NUrH2nLjGGLRLlu8bNN3LCUGRs4qc4Dk,2566
32
+ stackthread/static/THIRD_PARTY_NOTICES.txt,sha256=kzH1-Z4R5nfXQOAXdtLLXTc7vesTgOnVedcHCNRdOKM,18405
33
+ stackthread/static/app.css,sha256=XlAheAXnbtkA9EUG2YYUkPinMo537z_E6wzT9IWwttg,19954
34
+ stackthread/static/app.js,sha256=N92S6NoxRz4mzg_IFnKdR7K4xBF0ApKt930ZoMfPcsY,517681
35
+ stackthread/static/index.html,sha256=c08I92t8Ae6bSg8f5ZYbasSTEkOhr8a4hdvmYacOPJg,763
36
+ stackthread-0.1.0.dev2.dist-info/METADATA,sha256=ljNrKWFVTdeIrka-jEdqr2wb7Qk4BAPLMxSuFoJp5nw,2508
37
+ stackthread-0.1.0.dev2.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
38
+ stackthread-0.1.0.dev2.dist-info/entry_points.txt,sha256=VX4quafzs6kltQUEEsujGNdw2RSjEAvdTfeaVsg_dcI,53
39
+ stackthread-0.1.0.dev2.dist-info/licenses/LICENSE,sha256=r_7rWf7IXvaxpV6dwziY1NsUPEa4YQq72mw8gvu8NMM,1080
40
+ stackthread-0.1.0.dev2.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ stackthread = stackthread.cli:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 The stackthread authors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.