analysis-workflow-viewer 0.1.0__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.
- analysis_workflow_viewer/__init__.py +9 -0
- analysis_workflow_viewer/about.py +101 -0
- analysis_workflow_viewer/cli.py +39 -0
- analysis_workflow_viewer/repo.py +262 -0
- analysis_workflow_viewer/server.py +83 -0
- analysis_workflow_viewer/static/app.js +935 -0
- analysis_workflow_viewer/static/index.html +36 -0
- analysis_workflow_viewer/static/style.css +366 -0
- analysis_workflow_viewer/static/vendor/cytoscape.LICENSE +19 -0
- analysis_workflow_viewer/static/vendor/cytoscape.min.js +32 -0
- analysis_workflow_viewer/static/vendor/dagre.LICENSE +19 -0
- analysis_workflow_viewer/static/vendor/dagre.min.js +3809 -0
- analysis_workflow_viewer-0.1.0.dist-info/METADATA +93 -0
- analysis_workflow_viewer-0.1.0.dist-info/RECORD +17 -0
- analysis_workflow_viewer-0.1.0.dist-info/WHEEL +4 -0
- analysis_workflow_viewer-0.1.0.dist-info/entry_points.txt +2 -0
- analysis_workflow_viewer-0.1.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: analysis-workflow-viewer
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: An interactive viewer for the lineage that analysis-workflow records.
|
|
5
|
+
Project-URL: Documentation, https://analysis-workflow-viewer.readthedocs.io/
|
|
6
|
+
Project-URL: Homepage, https://github.com/quadbio/analysis-workflow-viewer
|
|
7
|
+
Project-URL: Source, https://github.com/quadbio/analysis-workflow-viewer
|
|
8
|
+
Author: quadbio
|
|
9
|
+
License: MIT License
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2026, quadbio
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
|
30
|
+
License-File: LICENSE
|
|
31
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
32
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
33
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
34
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
35
|
+
Requires-Python: >=3.12
|
|
36
|
+
Requires-Dist: analysis-workflow>=0.15.2
|
|
37
|
+
Requires-Dist: anndata[lazy]
|
|
38
|
+
Requires-Dist: session-info2
|
|
39
|
+
Description-Content-Type: text/markdown
|
|
40
|
+
|
|
41
|
+
# analysis-workflow-viewer
|
|
42
|
+
|
|
43
|
+
[![Tests][badge-tests]][tests]
|
|
44
|
+
[![Documentation][badge-docs]][documentation]
|
|
45
|
+
|
|
46
|
+
[badge-tests]: https://img.shields.io/github/actions/workflow/status/quadbio/analysis-workflow-viewer/test.yaml?branch=main
|
|
47
|
+
[badge-docs]: https://app.readthedocs.org/projects/analysis-workflow-viewer/badge/
|
|
48
|
+
|
|
49
|
+
An interactive viewer for the lineage that [analysis-workflow](https://github.com/quadbio/analysis-workflow)
|
|
50
|
+
records in an analysis repo. Browse the repo's files; click one a task made, or a key of a shared store, and see
|
|
51
|
+
the tasks it rests on as a graph. Click a task for its date, author, id, opening sentence and what it consumed from
|
|
52
|
+
outside; click an arrow for exactly which files and keys one task took from the other.
|
|
53
|
+
|
|
54
|
+
It is optional: analysis-workflow runs without it, and it adds nothing to an analysis repo's environment.
|
|
55
|
+
|
|
56
|
+
## Use
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
uv tool install git+https://github.com/quadbio/analysis-workflow-viewer.git
|
|
60
|
+
cd <analysis repo>
|
|
61
|
+
analysis-workflow-viewer # serves http://127.0.0.1:8765/ and opens it; --port, --no-open
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
In a VS Code remote terminal, tmux in it included, the page opens on your own machine: VS Code's `$BROWSER`
|
|
65
|
+
helper forwards the port, as it does for `cirro launch`. Elsewhere, forward the port and open the address. Every click reads the
|
|
66
|
+
repo afresh, so the view follows the analysis as it moves on, and nothing is written. Files are listed from the
|
|
67
|
+
main checkout, where shared data and task outputs are, together with the checkout it is started in.
|
|
68
|
+
|
|
69
|
+
The trace is `analysis_workflow.trace`'s: a task's `inputs.yaml` says what it consumed, a store's records say
|
|
70
|
+
which task wrote each key. A file or key that is grey has nothing to trace.
|
|
71
|
+
|
|
72
|
+
## Release notes
|
|
73
|
+
|
|
74
|
+
See the [changelog][].
|
|
75
|
+
|
|
76
|
+
## Contact
|
|
77
|
+
|
|
78
|
+
For questions and help requests, you can reach out in the [scverse discourse][].
|
|
79
|
+
If you found a bug, please use the [issue tracker][].
|
|
80
|
+
|
|
81
|
+
## Citation
|
|
82
|
+
|
|
83
|
+
> t.b.a
|
|
84
|
+
|
|
85
|
+
[uv]: https://github.com/astral-sh/uv
|
|
86
|
+
[scverse discourse]: https://discourse.scverse.org/
|
|
87
|
+
[issue tracker]: https://github.com/quadbio/analysis-workflow-viewer/issues
|
|
88
|
+
[tests]: https://github.com/quadbio/analysis-workflow-viewer/actions/workflows/test.yaml
|
|
89
|
+
[documentation]: https://analysis-workflow-viewer.readthedocs.io
|
|
90
|
+
[changelog]: https://analysis-workflow-viewer.readthedocs.io/page/changelog.html
|
|
91
|
+
[api documentation]: https://analysis-workflow-viewer.readthedocs.io/page/api.html
|
|
92
|
+
[pypi]: https://pypi.org/project/analysis-workflow-viewer
|
|
93
|
+
[venv]: https://docs.python.org/3/tutorial/venv.html
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
analysis_workflow_viewer/__init__.py,sha256=XGacyh2v9cbUZAArUuughJLEPamHeCLInNeYDsIVLyw,293
|
|
2
|
+
analysis_workflow_viewer/about.py,sha256=IqoA3wLGNimTOyNyRJCBPaUQSjB4EnM3jcy1cQtzFvA,4370
|
|
3
|
+
analysis_workflow_viewer/cli.py,sha256=_Fmbkhi-dVZ9JV3cI28QRBP2zYg9981KIRuZiX1LEmA,1775
|
|
4
|
+
analysis_workflow_viewer/repo.py,sha256=JImdNa4n08ZycTt7Ud2N912vUBup5xeVegRsKR5IgYw,12187
|
|
5
|
+
analysis_workflow_viewer/server.py,sha256=RLQ_KVgDSPyMUb8VUU6Q8ohA7HOWrm4znkP7oJoB9FQ,3844
|
|
6
|
+
analysis_workflow_viewer/static/app.js,sha256=Hm-wlDE65RE669zT6mcKuHFybkQRTUNCuXrebVibnEI,31246
|
|
7
|
+
analysis_workflow_viewer/static/index.html,sha256=R3xVKKupwQsQwiyy4kd-fmxyOt6iV9dsvJP72uzY0GY,1375
|
|
8
|
+
analysis_workflow_viewer/static/style.css,sha256=NYeRDwRrYEu0ePVPYUuty8PfOOTPEEDVPyFZ1YO4La0,6446
|
|
9
|
+
analysis_workflow_viewer/static/vendor/cytoscape.LICENSE,sha256=opwNeKVN4gS3g1eXbD0nKlc7hZLQR4udsHrz8doxplo,1082
|
|
10
|
+
analysis_workflow_viewer/static/vendor/cytoscape.min.js,sha256=G7U0DlSVEeERsx5WhIcslJrTPUDqXboK2OfZDGLHs7k,373734
|
|
11
|
+
analysis_workflow_viewer/static/vendor/dagre.LICENSE,sha256=ajSXQqbLIZ1aL8jQhE9tiabvxi4gxmRFDYhPx_8tYBU,1062
|
|
12
|
+
analysis_workflow_viewer/static/vendor/dagre.min.js,sha256=YuuXh8z9vfQUjU2Z0x2_nuR3Dq_ugeY311m1KqwizVE,283803
|
|
13
|
+
analysis_workflow_viewer-0.1.0.dist-info/METADATA,sha256=hIYP_tebUc7BLG_wOGpufS-CxJfUMB1BEqxfqFjiHAo,4520
|
|
14
|
+
analysis_workflow_viewer-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
15
|
+
analysis_workflow_viewer-0.1.0.dist-info/entry_points.txt,sha256=yJ2-ui8kXcEOYcH32gGZZlHqc9spMNnUf1HAo416DUo,79
|
|
16
|
+
analysis_workflow_viewer-0.1.0.dist-info/licenses/LICENSE,sha256=4iyKCi6fEJ1pWIAwltFxFkM-WJB-XrFCEHkm6OkLZuI,1065
|
|
17
|
+
analysis_workflow_viewer-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, quadbio
|
|
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.
|