mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2026-02-13 22:17:38 +01:00
41f590b2e8a64cabfb4b131eb57b1b27ddb3ffcc
Bumps [sphinxcontrib-drawio](https://github.com/Modelmat/sphinxcontrib-drawio) from 0.0.16 to 0.0.17. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Modelmat/sphinxcontrib-drawio/releases">sphinxcontrib-drawio's releases</a>.</em></p> <blockquote> <h2>0.0.17</h2> <h2>What's Changed</h2> <ul> <li>Update CI with new python and draw.io versions by <a href="https://github.com/modelmat"><code>@modelmat</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/76">modelmat/sphinxcontrib-drawio#76</a></li> <li>Revert "Run off of latest draw.io version" by <a href="https://github.com/modelmat"><code>@modelmat</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/79">modelmat/sphinxcontrib-drawio#79</a></li> <li>Remove deprecated <code>.. drawio</code> directive by <a href="https://github.com/modelmat"><code>@modelmat</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/78">modelmat/sphinxcontrib-drawio#78</a></li> <li>option: add page-name option to select by name by <a href="https://github.com/schspa"><code>@schspa</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/75">modelmat/sphinxcontrib-drawio#75</a></li> <li>Rework conversion handling to prevent subtle errors by <a href="https://github.com/modelmat"><code>@modelmat</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/80">modelmat/sphinxcontrib-drawio#80</a></li> <li>Produce a warning if the supplied :page-index: is outside the valid range by <a href="https://github.com/modelmat"><code>@modelmat</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/82">modelmat/sphinxcontrib-drawio#82</a></li> <li>Add drawio_disable_gpu config option by <a href="https://github.com/jdillard"><code>@jdillard</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/85">modelmat/sphinxcontrib-drawio#85</a></li> <li>Add drawio_disable_dev_shm_usage config option by <a href="https://github.com/jdillard"><code>@jdillard</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/86">modelmat/sphinxcontrib-drawio#86</a></li> <li>Fix black formatting errors by <a href="https://github.com/jdillard"><code>@jdillard</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/87">modelmat/sphinxcontrib-drawio#87</a></li> <li>Bump wheel from 0.33.6 to 0.38.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/83">modelmat/sphinxcontrib-drawio#83</a></li> <li>Fix deprecated sphinx.testing.path by <a href="https://github.com/jdillard"><code>@jdillard</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/90">modelmat/sphinxcontrib-drawio#90</a></li> <li>Fix absolute path by <a href="https://github.com/jdillard"><code>@jdillard</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/91">modelmat/sphinxcontrib-drawio#91</a></li> <li>Restore support for multiple versions of Sphinx by <a href="https://github.com/jdillard"><code>@jdillard</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/92">modelmat/sphinxcontrib-drawio#92</a></li> <li>More multi-version Sphinx path support by <a href="https://github.com/jdillard"><code>@jdillard</code></a> in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/93">modelmat/sphinxcontrib-drawio#93</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/schspa"><code>@schspa</code></a> made their first contribution in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/75">modelmat/sphinxcontrib-drawio#75</a></li> <li><a href="https://github.com/dependabot"><code>@dependabot</code></a> made their first contribution in <a href="https://redirect.github.com/modelmat/sphinxcontrib-drawio/pull/83">modelmat/sphinxcontrib-drawio#83</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/modelmat/sphinxcontrib-drawio/compare/0.0.16...0.0.17">https://github.com/modelmat/sphinxcontrib-drawio/compare/0.0.16...0.0.17</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/modelmat/sphinxcontrib-drawio/commit/373b54f179b19a0a6dee2493e9333811869210cb"><code>373b54f</code></a> Bump version to 0.0.17</li> <li><a href="https://github.com/modelmat/sphinxcontrib-drawio/commit/c70e088d031bb5bdf162e8d014d15cd6930891db"><code>c70e088</code></a> Merge pull request <a href="https://redirect.github.com/Modelmat/sphinxcontrib-drawio/issues/93">#93</a> from jdillard/fix-path-4</li> <li><a href="https://github.com/modelmat/sphinxcontrib-drawio/commit/83f962c3a69d85411edbc49f175397a44f79715f"><code>83f962c</code></a> More multi-version Sphinx path support</li> <li><a href="https://github.com/modelmat/sphinxcontrib-drawio/commit/4f44c2cff2805f0de4d8eddbe199f15a67ff671d"><code>4f44c2c</code></a> Merge pull request <a href="https://redirect.github.com/Modelmat/sphinxcontrib-drawio/issues/92">#92</a> from jdillard/fix-path-3</li> <li><a href="https://github.com/modelmat/sphinxcontrib-drawio/commit/74c0cbbdd0e45d4b6b02859481e2b68180728464"><code>74c0cbb</code></a> Fix that supports multiple versions of Sphinx</li> <li><a href="https://github.com/modelmat/sphinxcontrib-drawio/commit/2cb12b0aa4941e258e44c8e666515b636cc6c019"><code>2cb12b0</code></a> Merge pull request <a href="https://redirect.github.com/Modelmat/sphinxcontrib-drawio/issues/91">#91</a> from jdillard/fix-path-2</li> <li><a href="https://github.com/modelmat/sphinxcontrib-drawio/commit/1737966bd9a451249f048e33c608f37da3076237"><code>1737966</code></a> Fix absolute path</li> <li><a href="https://github.com/modelmat/sphinxcontrib-drawio/commit/abaf1ec69ba201fe9b9bbd7389a1f55942e236c0"><code>abaf1ec</code></a> Merge pull request <a href="https://redirect.github.com/Modelmat/sphinxcontrib-drawio/issues/90">#90</a> from jdillard/fix-path</li> <li><a href="https://github.com/modelmat/sphinxcontrib-drawio/commit/66ef53910da00c5b48948ac41eff1996ad20a988"><code>66ef539</code></a> Fix deprecated sphinx.testing.path</li> <li><a href="https://github.com/modelmat/sphinxcontrib-drawio/commit/20a8029f99d07bb2a77adc2fed2d632683cbb6b9"><code>20a8029</code></a> Merge pull request <a href="https://redirect.github.com/Modelmat/sphinxcontrib-drawio/issues/83">#83</a> from modelmat/dependabot/pip/wheel-0.38.1</li> <li>Additional commits viewable in <a href="https://github.com/Modelmat/sphinxcontrib-drawio/compare/0.0.16...0.0.17">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
aki_prj23_transparenzregister
Contributions
See the CONTRIBUTING.md about how code should be formatted and what kind of rules we set ourselves.
Available entrypoints
The project has currently the following entrypoint available:
- data-transformation > Transfers all the data from the mongodb into the sql db to make it available as production data.
- reset-sql > Resets all sql tables in the connected db.
- copy-sql > Copys the content of a db to another db.
- webserver > Starts the webserver showing the analysis results.
DB Connection settings
To connect to the SQL db see sql/connector.py To connect to the Mongo db see [connect]
Create a secrets.json in the root of this repo with the following structure (values to be replaces by desired config):
The sqlite db is alternative to the postgres section.
{
"sqlite": "path-to-sqlite.db",
"postgres": {
"username": "username",
"password": "password",
"host": "localhost",
"database": "db-name",
"port": 5432
},
"mongo": {
"username": "username",
"password": "password",
"host": "localhost",
"database": "transparenzregister",
"port": 27017
}
}
Alternatively, the secrets can be provided as environment variables. One option to do so is to add a .env file with
the following layout:
PYTHON_POSTGRES_USERNAME=postgres
PYTHON_POSTGRES_PASSWORD=postgres
PYTHON_POSTGRES_HOST=localhost
PYTHON_POSTGRES_DATABASE=postgres
PYTHON_POSTGRES_PORT=5432
PYTHON_MONGO_USERNAME=username
PYTHON_MONGO_HOST=localhost
PYTHON_MONGO_PASSWORD=password
PYTHON_MONGO_PORT=27017
PYTHON_MONGO_DATABASE=transparenzregister
PYTHON_SQLITE_PATH=PathToSQLite3.db # An overwrite path to an sqllite db
PYTHON_DASH_LOGIN_USERNAME=some-login-to-webgui
PYTHON_DASH_LOGIN_PW=some-pw-to-login-to-webgui
CR=ghcr.io/fhswf/aki_prj23_transparenzregister
TAG=latest
HTTP_PORT=80
The prefix PYTHON_ can be customized by setting a different prefix when constructing the ConfigProvider.
Description
Languages
Jupyter Notebook
84.5%
HTML
12.1%
Python
3.3%