dependabot[bot] 5699270c34
build(deps-dev): bump nbconvert from 7.9.2 to 7.10.0 (#290)
Bumps [nbconvert](https://github.com/jupyter/nbconvert) from 7.9.2 to
7.10.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.10.0</h2>
<h2>7.10.0</h2>
<p>(<a
href="https://github.com/jupyter/nbconvert/compare/v7.9.2...48599a4bba00819e4e626fe098eb204977590ee4">Full
Changelog</a>)</p>
<h3>Enhancements made</h3>
<ul>
<li>Update to mermaid 10.6.0, docs keyboard navigation <a
href="https://redirect.github.com/jupyter/nbconvert/pull/2058">#2058</a>
(<a href="https://github.com/bollwyvl"><code>@​bollwyvl</code></a>)</li>
</ul>
<h3>Maintenance and upkeep improvements</h3>
<ul>
<li>Fix typing for traitlets 5.13 <a
href="https://redirect.github.com/jupyter/nbconvert/pull/2060">#2060</a>
(<a
href="https://github.com/blink1073"><code>@​blink1073</code></a>)</li>
<li>Adopt ruff format <a
href="https://redirect.github.com/jupyter/nbconvert/pull/2059">#2059</a>
(<a
href="https://github.com/blink1073"><code>@​blink1073</code></a>)</li>
<li>Update typings and remove dead link <a
href="https://redirect.github.com/jupyter/nbconvert/pull/2056">#2056</a>
(<a
href="https://github.com/blink1073"><code>@​blink1073</code></a>)</li>
</ul>
<h3>Documentation improvements</h3>
<ul>
<li>Update to mermaid 10.6.0, docs keyboard navigation <a
href="https://redirect.github.com/jupyter/nbconvert/pull/2058">#2058</a>
(<a href="https://github.com/bollwyvl"><code>@​bollwyvl</code></a>)</li>
</ul>
<h3>Contributors to this release</h3>
<p>(<a
href="https://github.com/jupyter/nbconvert/graphs/contributors?from=2023-10-05&amp;to=2023-10-30&amp;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-05..2023-10-30&amp;type=Issues"><code>@​blink1073</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Abollwyvl+updated%3A2023-10-05..2023-10-30&amp;type=Issues"><code>@​bollwyvl</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.10.0</h2>
<p>(<a
href="https://github.com/jupyter/nbconvert/compare/v7.9.2...48599a4bba00819e4e626fe098eb204977590ee4">Full
Changelog</a>)</p>
<h3>Enhancements made</h3>
<ul>
<li>Update to mermaid 10.6.0, docs keyboard navigation <a
href="https://redirect.github.com/jupyter/nbconvert/pull/2058">#2058</a>
(<a href="https://github.com/bollwyvl"><code>@​bollwyvl</code></a>)</li>
</ul>
<h3>Maintenance and upkeep improvements</h3>
<ul>
<li>Fix typing for traitlets 5.13 <a
href="https://redirect.github.com/jupyter/nbconvert/pull/2060">#2060</a>
(<a
href="https://github.com/blink1073"><code>@​blink1073</code></a>)</li>
<li>Adopt ruff format <a
href="https://redirect.github.com/jupyter/nbconvert/pull/2059">#2059</a>
(<a
href="https://github.com/blink1073"><code>@​blink1073</code></a>)</li>
<li>Update typings and remove dead link <a
href="https://redirect.github.com/jupyter/nbconvert/pull/2056">#2056</a>
(<a
href="https://github.com/blink1073"><code>@​blink1073</code></a>)</li>
</ul>
<h3>Documentation improvements</h3>
<ul>
<li>Update to mermaid 10.6.0, docs keyboard navigation <a
href="https://redirect.github.com/jupyter/nbconvert/pull/2058">#2058</a>
(<a href="https://github.com/bollwyvl"><code>@​bollwyvl</code></a>)</li>
</ul>
<h3>Contributors to this release</h3>
<p>(<a
href="https://github.com/jupyter/nbconvert/graphs/contributors?from=2023-10-05&amp;to=2023-10-30&amp;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-05..2023-10-30&amp;type=Issues"><code>@​blink1073</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Abollwyvl+updated%3A2023-10-05..2023-10-30&amp;type=Issues"><code>@​bollwyvl</code></a></p>
<!-- raw HTML omitted -->
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6bce6dab06"><code>6bce6da</code></a>
Publish 7.10.0</li>
<li><a
href="48599a4bba"><code>48599a4</code></a>
Fix typing for traitlets 5.13 (<a
href="https://redirect.github.com/jupyter/nbconvert/issues/2060">#2060</a>)</li>
<li><a
href="9df32d6f77"><code>9df32d6</code></a>
Adopt ruff format (<a
href="https://redirect.github.com/jupyter/nbconvert/issues/2059">#2059</a>)</li>
<li><a
href="858d634001"><code>858d634</code></a>
Update to mermaid 10.6.0, docs keyboard navigation (<a
href="https://redirect.github.com/jupyter/nbconvert/issues/2058">#2058</a>)</li>
<li><a
href="b758aa10ad"><code>b758aa1</code></a>
Update typings and remove dead link (<a
href="https://redirect.github.com/jupyter/nbconvert/issues/2056">#2056</a>)</li>
<li>See full diff in <a
href="https://github.com/jupyter/nbconvert/compare/v7.9.2...v7.10.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=nbconvert&package-manager=pip&previous-version=7.9.2&new-version=7.10.0)](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>
2023-10-30 19:07:16 +01:00
2023-10-26 19:06:45 +02:00
2023-10-21 10:58:54 +02:00
2023-10-20 16:36:54 +02:00

aki_prj23_transparenzregister

python Actions status Ruff pre-commit Checked with mypy Documentation Status Code style: black

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
No description provided
Readme 138 MiB
Languages
Jupyter Notebook 84.5%
HTML 12.1%
Python 3.3%