github-actions[bot] 634aa4d675
build(deps-dev): bump jupyterlab from 4.0.8 to 4.0.9 (#411)
Bumps [jupyterlab](https://github.com/jupyterlab/jupyterlab) from 4.0.8
to 4.0.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jupyterlab/jupyterlab/releases">jupyterlab's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.9</h2>
<h2>4.0.9</h2>
<p>(<a
href="https://github.com/jupyterlab/jupyterlab/compare/v4.0.8...685fad189917242f1736d2c88a890f346874472d">Full
Changelog</a>)</p>
<h3>Bugs fixed</h3>
<ul>
<li>Improve cell toolbar tracker <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15314">#15314</a>
(<a
href="https://github.com/fcollonval"><code>@​fcollonval</code></a>)</li>
<li>Do not update filebrowser breadcrumbs when not needed <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15387">#15387</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Don't show default value for objects in Settings Editor <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15380">#15380</a>
(<a href="https://github.com/firai"><code>@​firai</code></a>)</li>
<li>Fix highlighting search in an out-of-viewport cell <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15376">#15376</a>
(<a
href="https://github.com/fcollonval"><code>@​fcollonval</code></a>)</li>
<li>Fix overreactive scrolling to next cell after <code>Shift +
Enter</code> <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15288">#15288</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Fix missing default property breaking codemirror
<code>overrides.json</code> <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15346">#15346</a>
(<a href="https://github.com/LJMP"><code>@​LJMP</code></a>)</li>
<li>Fix update button in extension manager <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15331">#15331</a>
(<a
href="https://github.com/nbowditch-einblick"><code>@​nbowditch-einblick</code></a>)</li>
<li>Fix scrolling when dragging files in the file browser <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15318">#15318</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Fix scrolling past long outputs in presence of un-rendered headings
<a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15356">#15356</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Update notebook window on resize if height changes <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15357">#15357</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Remove unnecessary requirement from codemirror service plugin <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15362">#15362</a>
(<a
href="https://github.com/paulkim3151"><code>@​paulkim3151</code></a>)</li>
</ul>
<h3>Maintenance and upkeep improvements</h3>
<ul>
<li>Update <code>@lumino/dragdrop</code> package <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15426">#15426</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Exclude ipynb files in prettier pre-commit <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15378">#15378</a>
(<a href="https://github.com/brichet"><code>@​brichet</code></a>)</li>
<li>Update to <code>@jupyter/ydoc</code> 1.1.1 <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15177">#15177</a>
(<a href="https://github.com/jtpio"><code>@​jtpio</code></a>)</li>
<li>Fix yarn.lock <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15367">#15367</a>
(<a
href="https://github.com/fcollonval"><code>@​fcollonval</code></a>)</li>
</ul>
<h3>Contributors to this release</h3>
<p>(<a
href="https://github.com/jupyterlab/jupyterlab/graphs/contributors?from=2023-11-02&amp;to=2023-11-18&amp;type=c">GitHub
contributors page for this release</a>)</p>
<p><a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Ablink1073+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​blink1073</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Abrichet+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​brichet</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Adharmaquark+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​dharmaquark</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Afcollonval+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​fcollonval</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Agabalafou+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​gabalafou</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Agithub-actions+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​github-actions</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Ajtpio+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​jtpio</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Ajupyterlab-probot+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​jupyterlab-probot</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Akrassowski+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​krassowski</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Alumberbot-app+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​lumberbot-app</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Ameeseeksmachine+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​meeseeksmachine</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Askyetim+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​skyetim</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Atonyfast+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​tonyfast</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Awelcome+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​welcome</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jupyterlab/jupyterlab/blob/@jupyterlab/lsp@4.0.9/CHANGELOG.md">jupyterlab's
changelog</a>.</em></p>
<blockquote>
<h2>4.0.9</h2>
<p>(<a
href="https://github.com/jupyterlab/jupyterlab/compare/v4.0.8...685fad189917242f1736d2c88a890f346874472d">Full
Changelog</a>)</p>
<h3>Bugs fixed</h3>
<ul>
<li>Improve cell toolbar tracker <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15314">#15314</a>
(<a
href="https://github.com/fcollonval"><code>@​fcollonval</code></a>)</li>
<li>Do not update filebrowser breadcrumbs when not needed <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15387">#15387</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Don't show default value for objects in Settings Editor <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15380">#15380</a>
(<a href="https://github.com/firai"><code>@​firai</code></a>)</li>
<li>Fix highlighting search in an out-of-viewport cell <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15376">#15376</a>
(<a
href="https://github.com/fcollonval"><code>@​fcollonval</code></a>)</li>
<li>Fix overreactive scrolling to next cell after <code>Shift +
Enter</code> <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15288">#15288</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Fix missing default property breaking codemirror
<code>overrides.json</code> <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15346">#15346</a>
(<a href="https://github.com/LJMP"><code>@​LJMP</code></a>)</li>
<li>Fix update button in extension manager <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15331">#15331</a>
(<a
href="https://github.com/nbowditch-einblick"><code>@​nbowditch-einblick</code></a>)</li>
<li>Fix scrolling when dragging files in the file browser <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15318">#15318</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Fix scrolling past long outputs in presence of un-rendered headings
<a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15356">#15356</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Update notebook window on resize if height changes <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15357">#15357</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Remove unnecessary requirement from codemirror service plugin <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15362">#15362</a>
(<a
href="https://github.com/paulkim3151"><code>@​paulkim3151</code></a>)</li>
</ul>
<h3>Maintenance and upkeep improvements</h3>
<ul>
<li>Update <code>@lumino/dragdrop</code> package <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15426">#15426</a>
(<a
href="https://github.com/krassowski"><code>@​krassowski</code></a>)</li>
<li>Exclude ipynb files in prettier pre-commit <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15378">#15378</a>
(<a href="https://github.com/brichet"><code>@​brichet</code></a>)</li>
<li>Update to <code>@jupyter/ydoc</code> 1.1.1 <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15177">#15177</a>
(<a href="https://github.com/jtpio"><code>@​jtpio</code></a>)</li>
<li>Fix yarn.lock <a
href="https://redirect.github.com/jupyterlab/jupyterlab/pull/15367">#15367</a>
(<a
href="https://github.com/fcollonval"><code>@​fcollonval</code></a>)</li>
</ul>
<h3>Contributors to this release</h3>
<p>(<a
href="https://github.com/jupyterlab/jupyterlab/graphs/contributors?from=2023-11-02&amp;to=2023-11-18&amp;type=c">GitHub
contributors page for this release</a>)</p>
<p><a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Ablink1073+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​blink1073</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Abrichet+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​brichet</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Adharmaquark+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​dharmaquark</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Afcollonval+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​fcollonval</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Agabalafou+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​gabalafou</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Agithub-actions+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​github-actions</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Ajtpio+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​jtpio</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Ajupyterlab-probot+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​jupyterlab-probot</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Akrassowski+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​krassowski</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Alumberbot-app+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​lumberbot-app</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Ameeseeksmachine+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​meeseeksmachine</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Askyetim+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​skyetim</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Atonyfast+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​tonyfast</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab+involves%3Awelcome+updated%3A2023-11-02..2023-11-18&amp;type=Issues"><code>@​welcome</code></a></p>
<!-- raw HTML omitted -->
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a7471bca76"><code>a7471bc</code></a>
[ci skip] Publish 4.0.9</li>
<li><a
href="685fad1899"><code>685fad1</code></a>
Backport PR <a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15314">#15314</a>:
Improve cell toolbar tracker (<a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15427">#15427</a>)</li>
<li><a
href="1d2dd03e1d"><code>1d2dd03</code></a>
Update <code>@lumino/dragdrop</code> package (<a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15426">#15426</a>)</li>
<li><a
href="9e1769981f"><code>9e17699</code></a>
Do not update filebrowser breadcrumbs when not needed (<a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15387">#15387</a>)
(<a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15409">#15409</a>)</li>
<li><a
href="d4465f90ce"><code>d4465f9</code></a>
Backport PR <a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15376">#15376</a>
on branch 4.0.x (Fix highlighting search in an out-of-view...</li>
<li><a
href="a2aaf8cd9d"><code>a2aaf8c</code></a>
Backport PR <a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15380">#15380</a>:
Don't show default value for objects in Settings Editor (...</li>
<li><a
href="3ec0581a20"><code>3ec0581</code></a>
Backport PR <a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15177">#15177</a>:
Update to <code>@jupyter/ydoc</code> 1.1.1 (<a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15382">#15382</a>)</li>
<li><a
href="6b30261fea"><code>6b30261</code></a>
Backport PR <a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15378">#15378</a>:
Exclude ipynb files in prettier pre-commit (<a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15384">#15384</a>)</li>
<li><a
href="4981c6b27d"><code>4981c6b</code></a>
Backport PR <a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15288">#15288</a>:
Fix overreactive scrolling to next cell after `Shift + En...</li>
<li><a
href="176843781b"><code>1768437</code></a>
Backport PR <a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15358">#15358</a>:
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/jupyterlab/jupyterlab/issues/15381">#15381</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/jupyterlab/jupyterlab/compare/@jupyterlab/lsp@4.0.8...@jupyterlab/lsp@4.0.9">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jupyterlab&package-manager=pip&previous-version=4.0.8&new-version=4.0.9)](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>
2023-11-20 19:40:43 +00:00
2023-11-12 14:22:56 +01: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.
  • data-processing > Processes the data using NLP methods and transfers matched data into the SQL table ready for use.
  • 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=postgres
PYTHON_POSTGRES_DATABASE=postgres
PYTHON_POSTGRES_PORT=5432

PYTHON_MONGO_USERNAME=username
PYTHON_MONGO_HOST=mongodb
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

PYTHON_INGEST_SCHEDULE=12 # Every x hours

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%