seamm-webui 2026.8.8__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.
- seamm_webui-2026.8.8/AUTHORS.rst +13 -0
- seamm_webui-2026.8.8/HISTORY.rst +12 -0
- seamm_webui-2026.8.8/LICENSE +29 -0
- seamm_webui-2026.8.8/MANIFEST.in +10 -0
- seamm_webui-2026.8.8/PKG-INFO +62 -0
- seamm_webui-2026.8.8/README.md +37 -0
- seamm_webui-2026.8.8/docs/Makefile +177 -0
- seamm_webui-2026.8.8/docs/_static/SEAMM inverted.png +0 -0
- seamm_webui-2026.8.8/docs/_static/SEAMM logo.png +0 -0
- seamm_webui-2026.8.8/docs/_static/molssi_main_logo.png +0 -0
- seamm_webui-2026.8.8/docs/_static/molssi_main_logo_inverted_white.png +0 -0
- seamm_webui-2026.8.8/docs/_static/molssi_square.png +0 -0
- seamm_webui-2026.8.8/docs/_static/nsf.png +0 -0
- seamm_webui-2026.8.8/docs/api/index.rst +17 -0
- seamm_webui-2026.8.8/docs/authors.rst +1 -0
- seamm_webui-2026.8.8/docs/conf.py +158 -0
- seamm_webui-2026.8.8/docs/developer_guide/contributing.rst +105 -0
- seamm_webui-2026.8.8/docs/developer_guide/index.rst +18 -0
- seamm_webui-2026.8.8/docs/developer_guide/installation.rst +58 -0
- seamm_webui-2026.8.8/docs/developer_guide/usage.rst +31 -0
- seamm_webui-2026.8.8/docs/getting_started/index.rst +35 -0
- seamm_webui-2026.8.8/docs/history.rst +1 -0
- seamm_webui-2026.8.8/docs/index.rst +76 -0
- seamm_webui-2026.8.8/docs/make.bat +242 -0
- seamm_webui-2026.8.8/docs/user_guide/index.rst +34 -0
- seamm_webui-2026.8.8/pyproject.toml +39 -0
- seamm_webui-2026.8.8/seamm_webui/__init__.py +9 -0
- seamm_webui-2026.8.8/seamm_webui/_version.py +21 -0
- seamm_webui-2026.8.8/seamm_webui/auth.py +159 -0
- seamm_webui-2026.8.8/seamm_webui/db.py +156 -0
- seamm_webui-2026.8.8/seamm_webui/main.py +157 -0
- seamm_webui-2026.8.8/seamm_webui/manage.py +107 -0
- seamm_webui-2026.8.8/seamm_webui/routers/__init__.py +0 -0
- seamm_webui-2026.8.8/seamm_webui/routers/auth.py +58 -0
- seamm_webui-2026.8.8/seamm_webui/routers/jobs.py +401 -0
- seamm_webui-2026.8.8/seamm_webui/routers/projects.py +166 -0
- seamm_webui-2026.8.8/seamm_webui/util.py +129 -0
- seamm_webui-2026.8.8/seamm_webui.egg-info/PKG-INFO +62 -0
- seamm_webui-2026.8.8/seamm_webui.egg-info/SOURCES.txt +48 -0
- seamm_webui-2026.8.8/seamm_webui.egg-info/dependency_links.txt +1 -0
- seamm_webui-2026.8.8/seamm_webui.egg-info/entry_points.txt +3 -0
- seamm_webui-2026.8.8/seamm_webui.egg-info/requires.txt +10 -0
- seamm_webui-2026.8.8/seamm_webui.egg-info/top_level.txt +1 -0
- seamm_webui-2026.8.8/setup.cfg +16 -0
- seamm_webui-2026.8.8/setup.py +14 -0
- seamm_webui-2026.8.8/tests/__init__.py +0 -0
- seamm_webui-2026.8.8/tests/test_app.py +575 -0
- seamm_webui-2026.8.8/tests/test_auth.py +157 -0
- seamm_webui-2026.8.8/versioneer.py +2277 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
=======
|
|
2
|
+
History
|
|
3
|
+
=======
|
|
4
|
+
|
|
5
|
+
2026.8.8 -- Initial release
|
|
6
|
+
* Web-based SEAMM dashboard: browse projects and jobs, filter the job list by
|
|
7
|
+
project, and view job status.
|
|
8
|
+
* Submit new jobs from the browser.
|
|
9
|
+
* Job management: monitor, kill, and delete jobs.
|
|
10
|
+
* In-browser file viewer with a directory tree and content pane, including CSV
|
|
11
|
+
tables, Plotly graphs, and 3D structure viewing (CIF/mmCIF/PDB/SDF) via NGL.
|
|
12
|
+
* Real user authentication and project-scoped access control.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, MolSSI SEAMM
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
include AUTHORS.rst
|
|
2
|
+
include HISTORY.rst
|
|
3
|
+
include LICENSE
|
|
4
|
+
include README.md
|
|
5
|
+
include versioneer.py
|
|
6
|
+
|
|
7
|
+
recursive-include tests *
|
|
8
|
+
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
|
|
9
|
+
recursive-exclude * __pycache__
|
|
10
|
+
recursive-exclude * *.py[co]
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: seamm-webui
|
|
3
|
+
Version: 2026.8.8
|
|
4
|
+
Summary: SPA-based web dashboard for SEAMM
|
|
5
|
+
Author: Paul Saxe
|
|
6
|
+
License: BSD-3-Clause
|
|
7
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
8
|
+
Classifier: Intended Audience :: Science/Research
|
|
9
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
10
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
+
Requires-Python: >=3.10
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
License-File: AUTHORS.rst
|
|
15
|
+
Requires-Dist: fastapi
|
|
16
|
+
Requires-Dist: uvicorn[standard]
|
|
17
|
+
Requires-Dist: seamm-datastore
|
|
18
|
+
Requires-Dist: fasteners
|
|
19
|
+
Requires-Dist: itsdangerous
|
|
20
|
+
Requires-Dist: python-multipart
|
|
21
|
+
Provides-Extra: dev
|
|
22
|
+
Requires-Dist: pytest; extra == "dev"
|
|
23
|
+
Requires-Dist: httpx; extra == "dev"
|
|
24
|
+
Dynamic: license-file
|
|
25
|
+
|
|
26
|
+
# seamm_webui
|
|
27
|
+
|
|
28
|
+
A from-scratch, SPA-based dashboard for SEAMM — built to run **alongside**
|
|
29
|
+
the existing `seamm_dashboard`, not replace it (yet). See
|
|
30
|
+
`~/Work/SEAMM/dashboard-rewrite-plan.md` for the full rationale, architecture
|
|
31
|
+
decisions, and phase plan.
|
|
32
|
+
|
|
33
|
+
- **Backend:** FastAPI, talking directly to `seamm_datastore` (no
|
|
34
|
+
`seamm_dashboard`/Flask dependency). Pip-installable; no conda required.
|
|
35
|
+
- **Frontend:** React + Vite + TypeScript, TanStack Query + TanStack Table
|
|
36
|
+
with true server-side pagination.
|
|
37
|
+
- **Permissions:** stubbed to always-allow for now (single-user Phase 1);
|
|
38
|
+
see `seamm_webui/auth.py`.
|
|
39
|
+
|
|
40
|
+
## Backend: development setup
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
cd seamm_webui
|
|
44
|
+
python -m venv .venv
|
|
45
|
+
source .venv/bin/activate
|
|
46
|
+
pip install -e ".[dev]"
|
|
47
|
+
seamm-webui --root ~/SEAMM --port 8010
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Frontend: development setup
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
cd frontend
|
|
54
|
+
npm install
|
|
55
|
+
npm run dev
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Tests
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
pytest tests/
|
|
62
|
+
```
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# seamm_webui
|
|
2
|
+
|
|
3
|
+
A from-scratch, SPA-based dashboard for SEAMM — built to run **alongside**
|
|
4
|
+
the existing `seamm_dashboard`, not replace it (yet). See
|
|
5
|
+
`~/Work/SEAMM/dashboard-rewrite-plan.md` for the full rationale, architecture
|
|
6
|
+
decisions, and phase plan.
|
|
7
|
+
|
|
8
|
+
- **Backend:** FastAPI, talking directly to `seamm_datastore` (no
|
|
9
|
+
`seamm_dashboard`/Flask dependency). Pip-installable; no conda required.
|
|
10
|
+
- **Frontend:** React + Vite + TypeScript, TanStack Query + TanStack Table
|
|
11
|
+
with true server-side pagination.
|
|
12
|
+
- **Permissions:** stubbed to always-allow for now (single-user Phase 1);
|
|
13
|
+
see `seamm_webui/auth.py`.
|
|
14
|
+
|
|
15
|
+
## Backend: development setup
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
cd seamm_webui
|
|
19
|
+
python -m venv .venv
|
|
20
|
+
source .venv/bin/activate
|
|
21
|
+
pip install -e ".[dev]"
|
|
22
|
+
seamm-webui --root ~/SEAMM --port 8010
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Frontend: development setup
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
cd frontend
|
|
29
|
+
npm install
|
|
30
|
+
npm run dev
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Tests
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pytest tests/
|
|
37
|
+
```
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# Makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line.
|
|
5
|
+
SPHINXOPTS =
|
|
6
|
+
SPHINXBUILD = sphinx-build
|
|
7
|
+
PAPER =
|
|
8
|
+
BUILDDIR = _build
|
|
9
|
+
|
|
10
|
+
# User-friendly check for sphinx-build
|
|
11
|
+
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
|
|
12
|
+
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
|
|
13
|
+
endif
|
|
14
|
+
|
|
15
|
+
# Internal variables.
|
|
16
|
+
PAPEROPT_a4 = -D latex_paper_size=a4
|
|
17
|
+
PAPEROPT_letter = -D latex_paper_size=letter
|
|
18
|
+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
|
19
|
+
# the i18n builder cannot share the environment and doctrees with the others
|
|
20
|
+
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
|
21
|
+
|
|
22
|
+
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
|
|
23
|
+
|
|
24
|
+
help:
|
|
25
|
+
@echo "Please use \`make <target>' where <target> is one of"
|
|
26
|
+
@echo " html to make standalone HTML files"
|
|
27
|
+
@echo " dirhtml to make HTML files named index.html in directories"
|
|
28
|
+
@echo " singlehtml to make a single large HTML file"
|
|
29
|
+
@echo " pickle to make pickle files"
|
|
30
|
+
@echo " json to make JSON files"
|
|
31
|
+
@echo " htmlhelp to make HTML files and a HTML help project"
|
|
32
|
+
@echo " qthelp to make HTML files and a qthelp project"
|
|
33
|
+
@echo " devhelp to make HTML files and a Devhelp project"
|
|
34
|
+
@echo " epub to make an epub"
|
|
35
|
+
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
|
|
36
|
+
@echo " latexpdf to make LaTeX files and run them through pdflatex"
|
|
37
|
+
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
|
|
38
|
+
@echo " text to make text files"
|
|
39
|
+
@echo " man to make manual pages"
|
|
40
|
+
@echo " texinfo to make Texinfo files"
|
|
41
|
+
@echo " info to make Texinfo files and run them through makeinfo"
|
|
42
|
+
@echo " gettext to make PO message catalogs"
|
|
43
|
+
@echo " changes to make an overview of all changed/added/deprecated items"
|
|
44
|
+
@echo " xml to make Docutils-native XML files"
|
|
45
|
+
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
|
|
46
|
+
@echo " linkcheck to check all external links for integrity"
|
|
47
|
+
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
|
48
|
+
|
|
49
|
+
clean:
|
|
50
|
+
rm -rf $(BUILDDIR)/*
|
|
51
|
+
|
|
52
|
+
html:
|
|
53
|
+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
|
54
|
+
@echo
|
|
55
|
+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
|
56
|
+
|
|
57
|
+
dirhtml:
|
|
58
|
+
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
|
59
|
+
@echo
|
|
60
|
+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
|
|
61
|
+
|
|
62
|
+
singlehtml:
|
|
63
|
+
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
|
|
64
|
+
@echo
|
|
65
|
+
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
|
|
66
|
+
|
|
67
|
+
pickle:
|
|
68
|
+
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
|
|
69
|
+
@echo
|
|
70
|
+
@echo "Build finished; now you can process the pickle files."
|
|
71
|
+
|
|
72
|
+
json:
|
|
73
|
+
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
|
74
|
+
@echo
|
|
75
|
+
@echo "Build finished; now you can process the JSON files."
|
|
76
|
+
|
|
77
|
+
htmlhelp:
|
|
78
|
+
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
|
|
79
|
+
@echo
|
|
80
|
+
@echo "Build finished; now you can run HTML Help Workshop with the" \
|
|
81
|
+
".hhp project file in $(BUILDDIR)/htmlhelp."
|
|
82
|
+
|
|
83
|
+
qthelp:
|
|
84
|
+
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
|
|
85
|
+
@echo
|
|
86
|
+
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
|
87
|
+
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
|
88
|
+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/lammps_step.qhcp"
|
|
89
|
+
@echo "To view the help file:"
|
|
90
|
+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/lammps_step.qhc"
|
|
91
|
+
|
|
92
|
+
devhelp:
|
|
93
|
+
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
|
94
|
+
@echo
|
|
95
|
+
@echo "Build finished."
|
|
96
|
+
@echo "To view the help file:"
|
|
97
|
+
@echo "# mkdir -p $$HOME/.local/share/devhelp/lammps_step"
|
|
98
|
+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/lammps_step"
|
|
99
|
+
@echo "# devhelp"
|
|
100
|
+
|
|
101
|
+
epub:
|
|
102
|
+
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
|
|
103
|
+
@echo
|
|
104
|
+
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
|
|
105
|
+
|
|
106
|
+
latex:
|
|
107
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
|
108
|
+
@echo
|
|
109
|
+
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
|
|
110
|
+
@echo "Run \`make' in that directory to run these through (pdf)latex" \
|
|
111
|
+
"(use \`make latexpdf' here to do that automatically)."
|
|
112
|
+
|
|
113
|
+
latexpdf:
|
|
114
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
|
115
|
+
@echo "Running LaTeX files through pdflatex..."
|
|
116
|
+
$(MAKE) -C $(BUILDDIR)/latex all-pdf
|
|
117
|
+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
|
118
|
+
|
|
119
|
+
latexpdfja:
|
|
120
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
|
121
|
+
@echo "Running LaTeX files through platex and dvipdfmx..."
|
|
122
|
+
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
|
|
123
|
+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
|
124
|
+
|
|
125
|
+
text:
|
|
126
|
+
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
|
|
127
|
+
@echo
|
|
128
|
+
@echo "Build finished. The text files are in $(BUILDDIR)/text."
|
|
129
|
+
|
|
130
|
+
man:
|
|
131
|
+
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
|
|
132
|
+
@echo
|
|
133
|
+
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
|
134
|
+
|
|
135
|
+
texinfo:
|
|
136
|
+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
|
137
|
+
@echo
|
|
138
|
+
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
|
|
139
|
+
@echo "Run \`make' in that directory to run these through makeinfo" \
|
|
140
|
+
"(use \`make info' here to do that automatically)."
|
|
141
|
+
|
|
142
|
+
info:
|
|
143
|
+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
|
144
|
+
@echo "Running Texinfo files through makeinfo..."
|
|
145
|
+
make -C $(BUILDDIR)/texinfo info
|
|
146
|
+
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
|
|
147
|
+
|
|
148
|
+
gettext:
|
|
149
|
+
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
|
|
150
|
+
@echo
|
|
151
|
+
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
|
|
152
|
+
|
|
153
|
+
changes:
|
|
154
|
+
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
|
155
|
+
@echo
|
|
156
|
+
@echo "The overview file is in $(BUILDDIR)/changes."
|
|
157
|
+
|
|
158
|
+
linkcheck:
|
|
159
|
+
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
|
160
|
+
@echo
|
|
161
|
+
@echo "Link check complete; look for any errors in the above output " \
|
|
162
|
+
"or in $(BUILDDIR)/linkcheck/output.txt."
|
|
163
|
+
|
|
164
|
+
doctest:
|
|
165
|
+
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
|
|
166
|
+
@echo "Testing of doctests in the sources finished, look at the " \
|
|
167
|
+
"results in $(BUILDDIR)/doctest/output.txt."
|
|
168
|
+
|
|
169
|
+
xml:
|
|
170
|
+
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
|
|
171
|
+
@echo
|
|
172
|
+
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
|
|
173
|
+
|
|
174
|
+
pseudoxml:
|
|
175
|
+
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
|
|
176
|
+
@echo
|
|
177
|
+
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.. include:: ../AUTHORS.rst
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
#
|
|
4
|
+
# seamm_webui documentation build configuration file.
|
|
5
|
+
#
|
|
6
|
+
# This file is execfile()d with the current directory set to its
|
|
7
|
+
# containing dir.
|
|
8
|
+
#
|
|
9
|
+
# Note that not all possible configuration values are present in this
|
|
10
|
+
# autogenerated file.
|
|
11
|
+
#
|
|
12
|
+
# All configuration values have a default; values that are commented out
|
|
13
|
+
# serve to show the default.
|
|
14
|
+
|
|
15
|
+
import sys
|
|
16
|
+
import os
|
|
17
|
+
|
|
18
|
+
# If extensions (or modules to document with autodoc) are in another
|
|
19
|
+
# directory, add these directories to sys.path here. If the directory is
|
|
20
|
+
# relative to the documentation root, use os.path.abspath to make it
|
|
21
|
+
# absolute, like shown here.
|
|
22
|
+
# sys.path.insert(0, os.path.abspath('.'))
|
|
23
|
+
|
|
24
|
+
# Get the project root dir, which is the parent dir of this
|
|
25
|
+
cwd = os.getcwd()
|
|
26
|
+
project_root = os.path.dirname(cwd)
|
|
27
|
+
|
|
28
|
+
# Insert the project root dir as the first element in the PYTHONPATH.
|
|
29
|
+
# This lets us ensure that the source package is imported, and that its
|
|
30
|
+
# version is used.
|
|
31
|
+
sys.path.insert(0, project_root)
|
|
32
|
+
|
|
33
|
+
import seamm_webui # noqa: E402
|
|
34
|
+
|
|
35
|
+
# -- General configuration ---------------------------------------------
|
|
36
|
+
|
|
37
|
+
# If your documentation needs a minimal Sphinx version, state it here.
|
|
38
|
+
# needs_sphinx = '1.0'
|
|
39
|
+
|
|
40
|
+
# Add any Sphinx extension module names here, as strings. They can be
|
|
41
|
+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
|
42
|
+
extensions = [
|
|
43
|
+
'sphinx.ext.autodoc',
|
|
44
|
+
'sphinx.ext.githubpages',
|
|
45
|
+
'sphinx.ext.napoleon',
|
|
46
|
+
'sphinx.ext.viewcode',
|
|
47
|
+
'sphinx_design',
|
|
48
|
+
'sphinx_copybutton',
|
|
49
|
+
'sphinx.ext.todo',
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
# Add any paths that contain templates here, relative to this directory.
|
|
53
|
+
templates_path = ['_templates']
|
|
54
|
+
|
|
55
|
+
# The suffix of source filenames.
|
|
56
|
+
source_suffix = '.rst'
|
|
57
|
+
|
|
58
|
+
# The master toctree document.
|
|
59
|
+
master_doc = 'index'
|
|
60
|
+
|
|
61
|
+
# General information about the project.
|
|
62
|
+
project = u'seamm_webui'
|
|
63
|
+
copyright = u"2026, Molecular Sciences Software Institute (MolSSI)"
|
|
64
|
+
|
|
65
|
+
# The version info for the project you're documenting, acts as replacement
|
|
66
|
+
# for |version| and |release|, also used in various other places throughout
|
|
67
|
+
# the built documents.
|
|
68
|
+
#
|
|
69
|
+
# The short X.Y version.
|
|
70
|
+
version = seamm_webui.__version__
|
|
71
|
+
# The full version, including alpha/beta/rc tags.
|
|
72
|
+
release = seamm_webui.__version__
|
|
73
|
+
|
|
74
|
+
# List of patterns, relative to source directory, that match files and
|
|
75
|
+
# directories to ignore when looking for source files.
|
|
76
|
+
exclude_patterns = ['_build']
|
|
77
|
+
|
|
78
|
+
# The name of the Pygments (syntax highlighting) style to use.
|
|
79
|
+
pygments_style = 'default'
|
|
80
|
+
|
|
81
|
+
# -- Options for HTML output -------------------------------------------
|
|
82
|
+
|
|
83
|
+
# The theme to use for HTML and HTML Help pages.
|
|
84
|
+
html_theme = "pydata_sphinx_theme"
|
|
85
|
+
|
|
86
|
+
html_theme_options = {
|
|
87
|
+
"github_url": "https://github.com/molssi-seamm/seamm_webui",
|
|
88
|
+
"twitter_url": "https://twitter.com/MolSSI_NSF",
|
|
89
|
+
"icon_links": [],
|
|
90
|
+
"logo": {
|
|
91
|
+
"image_light": "SEAMM logo.png",
|
|
92
|
+
"image_dark": "SEAMM inverted.png",
|
|
93
|
+
"text": "seamm_webui",
|
|
94
|
+
"molssi_light": "molssi_main_logo.png",
|
|
95
|
+
"molssi_dark": "molssi_main_logo_inverted_white.png",
|
|
96
|
+
},
|
|
97
|
+
"show_toc_level": 2,
|
|
98
|
+
"header_links_before_dropdown": 4,
|
|
99
|
+
"external_links": [
|
|
100
|
+
{"name": "SEAMM Documentation", "url": "https://molssi-seamm.github.io"},
|
|
101
|
+
{"name": "MolSSI", "url": "https://molssi.org"}
|
|
102
|
+
],
|
|
103
|
+
"secondary_sidebar_items": ["page-toc", "sourcelink"],
|
|
104
|
+
"footer_items": ["molssi_footer"],
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
# Add any paths that contain custom static files (such as style sheets)
|
|
108
|
+
# here, relative to this directory. They are copied after the builtin
|
|
109
|
+
# static files, so a file named "default.css" will overwrite the builtin
|
|
110
|
+
# "default.css".
|
|
111
|
+
html_static_path = ['_static']
|
|
112
|
+
|
|
113
|
+
# These paths are either relative to html_static_path
|
|
114
|
+
# or fully qualified paths (eg. https://...)
|
|
115
|
+
html_css_files = [
|
|
116
|
+
'css/custom.css',
|
|
117
|
+
]
|
|
118
|
+
|
|
119
|
+
# If true, "Created using Sphinx" is shown in the HTML footer.
|
|
120
|
+
html_show_sphinx = False
|
|
121
|
+
|
|
122
|
+
# If true, "(C) Copyright ..." is shown in the HTML footer.
|
|
123
|
+
html_show_copyright = False
|
|
124
|
+
|
|
125
|
+
# Output file base name for HTML help builder.
|
|
126
|
+
htmlhelp_basename = 'seamm_webuidoc'
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
# -- Options for LaTeX output ------------------------------------------
|
|
130
|
+
|
|
131
|
+
latex_elements = {}
|
|
132
|
+
|
|
133
|
+
latex_documents = [
|
|
134
|
+
('index', 'seamm_webui.tex',
|
|
135
|
+
u'seamm_webui Documentation',
|
|
136
|
+
u'Paul Saxe', 'manual'),
|
|
137
|
+
]
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
# -- Options for manual page output ------------------------------------
|
|
141
|
+
|
|
142
|
+
man_pages = [
|
|
143
|
+
('index', 'seamm_webui',
|
|
144
|
+
u'seamm_webui Documentation',
|
|
145
|
+
[u'Paul Saxe'], 1)
|
|
146
|
+
]
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
# -- Options for Texinfo output ----------------------------------------
|
|
150
|
+
|
|
151
|
+
texinfo_documents = [
|
|
152
|
+
('index', 'seamm_webui',
|
|
153
|
+
u'seamm_webui Documentation',
|
|
154
|
+
u'Paul Saxe',
|
|
155
|
+
'seamm_webui',
|
|
156
|
+
'SPA-based web dashboard for SEAMM.',
|
|
157
|
+
'Miscellaneous'),
|
|
158
|
+
]
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
.. highlight:: shell
|
|
2
|
+
|
|
3
|
+
============
|
|
4
|
+
Contributing
|
|
5
|
+
============
|
|
6
|
+
|
|
7
|
+
Contributions are welcome, and they are greatly appreciated! Every
|
|
8
|
+
little bit helps, and credit will always be given.
|
|
9
|
+
|
|
10
|
+
You can contribute in many ways:
|
|
11
|
+
|
|
12
|
+
Types of Contributions
|
|
13
|
+
-----------------------
|
|
14
|
+
|
|
15
|
+
Report Bugs
|
|
16
|
+
~~~~~~~~~~~
|
|
17
|
+
|
|
18
|
+
Report bugs at https://github.com/molssi-seamm/seamm_webui/issues.
|
|
19
|
+
|
|
20
|
+
If you are reporting a bug, please include:
|
|
21
|
+
|
|
22
|
+
* Your operating system name and version.
|
|
23
|
+
* Any details about your local setup that might be helpful in troubleshooting.
|
|
24
|
+
* Detailed steps to reproduce the bug.
|
|
25
|
+
|
|
26
|
+
Fix Bugs
|
|
27
|
+
~~~~~~~~
|
|
28
|
+
|
|
29
|
+
Look through the GitHub issues for bugs. Anything tagged with "bug"
|
|
30
|
+
and "help wanted" is open to whoever wants to implement it.
|
|
31
|
+
|
|
32
|
+
Implement Features
|
|
33
|
+
~~~~~~~~~~~~~~~~~~~
|
|
34
|
+
|
|
35
|
+
Look through the GitHub issues for features. Anything tagged with
|
|
36
|
+
"enhancement" and "help wanted" is open to whoever wants to implement it.
|
|
37
|
+
|
|
38
|
+
Write Documentation
|
|
39
|
+
~~~~~~~~~~~~~~~~~~~~
|
|
40
|
+
|
|
41
|
+
seamm_webui could always use more documentation, whether as part of the
|
|
42
|
+
official docs, in docstrings, or even on the web in blog posts, articles,
|
|
43
|
+
and such.
|
|
44
|
+
|
|
45
|
+
Submit Feedback
|
|
46
|
+
~~~~~~~~~~~~~~~~
|
|
47
|
+
|
|
48
|
+
The best way to send feedback is to file an issue at
|
|
49
|
+
https://github.com/molssi-seamm/seamm_webui/issues.
|
|
50
|
+
|
|
51
|
+
If you are proposing a feature:
|
|
52
|
+
|
|
53
|
+
* Explain in detail how it would work.
|
|
54
|
+
* Keep the scope as narrow as possible, to make it easier to implement.
|
|
55
|
+
* Remember that this is a volunteer-driven project, and that contributions
|
|
56
|
+
are welcome :)
|
|
57
|
+
|
|
58
|
+
Get Started!
|
|
59
|
+
------------
|
|
60
|
+
|
|
61
|
+
Ready to contribute? Here's how to set up ``seamm_webui`` for local
|
|
62
|
+
development.
|
|
63
|
+
|
|
64
|
+
1. Fork the ``seamm_webui`` repo on GitHub.
|
|
65
|
+
2. Clone your fork locally::
|
|
66
|
+
|
|
67
|
+
$ git clone git@github.com:your_name_here/seamm_webui.git
|
|
68
|
+
|
|
69
|
+
3. Install your local copy for development -- a plain virtual environment
|
|
70
|
+
is enough, no conda required::
|
|
71
|
+
|
|
72
|
+
$ cd seamm_webui/
|
|
73
|
+
$ python -m venv .venv && source .venv/bin/activate
|
|
74
|
+
$ make install
|
|
75
|
+
$ cd frontend && npm install
|
|
76
|
+
|
|
77
|
+
4. Create a branch for local development::
|
|
78
|
+
|
|
79
|
+
$ git checkout -b name-of-your-bugfix-or-feature
|
|
80
|
+
|
|
81
|
+
Now you can make your changes locally.
|
|
82
|
+
|
|
83
|
+
5. When you're done making changes, check that your changes pass the
|
|
84
|
+
linters and tests, for both the backend and the frontend::
|
|
85
|
+
|
|
86
|
+
$ make lint test
|
|
87
|
+
$ cd frontend && npm run build && npm run lint
|
|
88
|
+
|
|
89
|
+
6. Commit your changes and push your branch to GitHub::
|
|
90
|
+
|
|
91
|
+
$ git add .
|
|
92
|
+
$ git commit -m "Your detailed description of your changes."
|
|
93
|
+
$ git push origin name-of-your-bugfix-or-feature
|
|
94
|
+
|
|
95
|
+
7. Submit a pull request through the GitHub website.
|
|
96
|
+
|
|
97
|
+
Pull Request Guidelines
|
|
98
|
+
------------------------
|
|
99
|
+
|
|
100
|
+
Before you submit a pull request, check that it meets these guidelines:
|
|
101
|
+
|
|
102
|
+
1. The pull request should include tests.
|
|
103
|
+
2. If the pull request adds functionality, the docs should be updated.
|
|
104
|
+
3. The pull request should work for the currently-supported Python
|
|
105
|
+
versions -- check that CI passes.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Developer Documentation
|
|
2
|
+
=======================
|
|
3
|
+
|
|
4
|
+
Contents:
|
|
5
|
+
|
|
6
|
+
.. toctree::
|
|
7
|
+
:maxdepth: 2
|
|
8
|
+
|
|
9
|
+
installation
|
|
10
|
+
usage
|
|
11
|
+
contributing
|
|
12
|
+
|
|
13
|
+
Indices and tables
|
|
14
|
+
------------------
|
|
15
|
+
|
|
16
|
+
* :ref:`genindex`
|
|
17
|
+
* :ref:`modindex`
|
|
18
|
+
* :ref:`search`
|