github-actions[bot] ec58c9ac92
build(deps): bump matplotlib from 3.8.1 to 3.8.2 (#412)
Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.8.1
to 3.8.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/matplotlib/matplotlib/releases">matplotlib's
releases</a>.</em></p>
<blockquote>
<p>REL: v3.8.2</p>
<p>This is the second bugfix release of the 3.8 series.</p>
<p>Highlights of this release include:</p>
<ul>
<li>Fix a segfault in the MacOS backend when running on Python 3.12</li>
<li>Fix Contour labeling manual positions selecting incorrect
contours.</li>
<li>Various documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="eb02b108ea"><code>eb02b10</code></a>
REL: v3.8.2</li>
<li><a
href="dfb7a469d6"><code>dfb7a46</code></a>
Github stats fo v3.8.2</li>
<li><a
href="802397820c"><code>8023978</code></a>
Merge branch 'v3.8.1-doc' into v3.8.x</li>
<li><a
href="acae9bffb1"><code>acae9bf</code></a>
Merge pull request <a
href="https://redirect.github.com/matplotlib/matplotlib/issues/27339">#27339</a>
from meeseeksmachine/auto-backport-of-pr-27299-on-v...</li>
<li><a
href="95743f05a3"><code>95743f0</code></a>
Merge pull request <a
href="https://redirect.github.com/matplotlib/matplotlib/issues/27338">#27338</a>
from meeseeksmachine/auto-backport-of-pr-27334-on-v...</li>
<li><a
href="cfb494f815"><code>cfb494f</code></a>
Backport PR <a
href="https://redirect.github.com/matplotlib/matplotlib/issues/27299">#27299</a>:
[MNT] swap xkcd script for humor sans</li>
<li><a
href="26fd30a34f"><code>26fd30a</code></a>
Backport PR <a
href="https://redirect.github.com/matplotlib/matplotlib/issues/27334">#27334</a>:
Omit MOVETO lines from nearest contour logic</li>
<li><a
href="38a0e948f1"><code>38a0e94</code></a>
Merge pull request <a
href="https://redirect.github.com/matplotlib/matplotlib/issues/27324">#27324</a>
from meeseeksmachine/auto-backport-of-pr-27323-on-v...</li>
<li><a
href="2b587481f9"><code>2b58748</code></a>
Backport PR <a
href="https://redirect.github.com/matplotlib/matplotlib/issues/27323">#27323</a>:
[DOC] Minor fixes for savefig-docstring</li>
<li><a
href="94c0cfee35"><code>94c0cfe</code></a>
Merge pull request <a
href="https://redirect.github.com/matplotlib/matplotlib/issues/27314">#27314</a>
from meeseeksmachine/auto-backport-of-pr-27312-on-v...</li>
<li>Additional commits viewable in <a
href="https://github.com/matplotlib/matplotlib/compare/v3.8.1...v3.8.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=matplotlib&package-manager=pip&previous-version=3.8.1&new-version=3.8.2)](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:56:30 +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%