mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-24 21:32:33 +02:00
Bumps [nbconvert](https://github.com/jupyter/nbconvert) from 7.10.0 to 7.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jupyter/nbconvert/releases">nbconvert's releases</a>.</em></p> <blockquote> <h2>v7.11.0</h2> <h2>7.11.0</h2> <p>(<a href="https://github.com/jupyter/nbconvert/compare/v7.10.0...422dd2a1697b191dc8e11806ddeca314df66c282">Full Changelog</a>)</p> <h3>Enhancements made</h3> <ul> <li>Support es modules in js includes <a href="https://redirect.github.com/jupyter/nbconvert/pull/2063">#2063</a> (<a href="https://github.com/timkpaine"><code>@timkpaine</code></a>)</li> </ul> <h3>Maintenance and upkeep improvements</h3> <ul> <li>Clean up lint handling and list generics <a href="https://redirect.github.com/jupyter/nbconvert/pull/2065">#2065</a> (<a href="https://github.com/blink1073"><code>@blink1073</code></a>)</li> <li>Remove not needed pytest-dependency test requirement <a href="https://redirect.github.com/jupyter/nbconvert/pull/2062">#2062</a> (<a href="https://github.com/danigm"><code>@danigm</code></a>)</li> </ul> <h3>Contributors to this release</h3> <p>(<a href="https://github.com/jupyter/nbconvert/graphs/contributors?from=2023-10-30&to=2023-11-06&type=c">GitHub contributors page for this release</a>)</p> <p><a href="https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Ablink1073+updated%3A2023-10-30..2023-11-06&type=Issues"><code>@blink1073</code></a> | <a href="https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Adanigm+updated%3A2023-10-30..2023-11-06&type=Issues"><code>@danigm</code></a> | <a href="https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Atimkpaine+updated%3A2023-10-30..2023-11-06&type=Issues"><code>@timkpaine</code></a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jupyter/nbconvert/blob/main/CHANGELOG.md">nbconvert's changelog</a>.</em></p> <blockquote> <h2>7.11.0</h2> <p>(<a href="https://github.com/jupyter/nbconvert/compare/v7.10.0...422dd2a1697b191dc8e11806ddeca314df66c282">Full Changelog</a>)</p> <h3>Enhancements made</h3> <ul> <li>Support es modules in js includes <a href="https://redirect.github.com/jupyter/nbconvert/pull/2063">#2063</a> (<a href="https://github.com/timkpaine"><code>@timkpaine</code></a>)</li> </ul> <h3>Maintenance and upkeep improvements</h3> <ul> <li>Clean up lint handling and list generics <a href="https://redirect.github.com/jupyter/nbconvert/pull/2065">#2065</a> (<a href="https://github.com/blink1073"><code>@blink1073</code></a>)</li> <li>Remove not needed pytest-dependency test requirement <a href="https://redirect.github.com/jupyter/nbconvert/pull/2062">#2062</a> (<a href="https://github.com/danigm"><code>@danigm</code></a>)</li> </ul> <h3>Contributors to this release</h3> <p>(<a href="https://github.com/jupyter/nbconvert/graphs/contributors?from=2023-10-30&to=2023-11-06&type=c">GitHub contributors page for this release</a>)</p> <p><a href="https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Ablink1073+updated%3A2023-10-30..2023-11-06&type=Issues"><code>@blink1073</code></a> | <a href="https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Adanigm+updated%3A2023-10-30..2023-11-06&type=Issues"><code>@danigm</code></a> | <a href="https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Atimkpaine+updated%3A2023-10-30..2023-11-06&type=Issues"><code>@timkpaine</code></a></p> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="d10418d850
"><code>d10418d</code></a> Publish 7.11.0</li> <li><a href="422dd2a169
"><code>422dd2a</code></a> Clean up lint handling and list generics (<a href="https://redirect.github.com/jupyter/nbconvert/issues/2065">#2065</a>)</li> <li><a href="0e290e18e1
"><code>0e290e1</code></a> Support es modules in js includes (<a href="https://redirect.github.com/jupyter/nbconvert/issues/2063">#2063</a>)</li> <li><a href="a3aed8d263
"><code>a3aed8d</code></a> Remove not needed pytest-dependency test requirement (<a href="https://redirect.github.com/jupyter/nbconvert/issues/2062">#2062</a>)</li> <li>See full diff in <a href="https://github.com/jupyter/nbconvert/compare/v7.10.0...v7.11.0">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>
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%