From 526e70eb9a453366f5422052c4c774617bd9bc26 Mon Sep 17 00:00:00 2001 From: Julian <1261560+jschibberges@users.noreply.github.com> Date: Sat, 5 Nov 2022 12:33:22 +0100 Subject: [PATCH 1/6] Update requirements.txt --- requirements.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 69d77bb..306dc46 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1 @@ -openpyxl==3.0.7 -pandas==1.2.5 -requests==2.25.1 \ No newline at end of file +requests==2.25.1 From 0f6b57a69d7197e012ae9b34cf1385e97f69e9ae Mon Sep 17 00:00:00 2001 From: Julian <1261560+jschibberges@users.noreply.github.com> Date: Sat, 5 Nov 2022 12:33:46 +0100 Subject: [PATCH 2/6] Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 306dc46..5c0e483 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -requests==2.25.1 +requests>2.0.0 From f7a5b908509b74c0a9d2be7caf90c4807140da3f Mon Sep 17 00:00:00 2001 From: Julian <1261560+jschibberges@users.noreply.github.com> Date: Wed, 28 Feb 2024 22:03:29 +0100 Subject: [PATCH 3/6] Updated general API key --- bundestag_api/bta_wrapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundestag_api/bta_wrapper.py b/bundestag_api/bta_wrapper.py index 2134f94..bfdcfa4 100644 --- a/bundestag_api/bta_wrapper.py +++ b/bundestag_api/bta_wrapper.py @@ -38,9 +38,9 @@ class btaConnection: """ def __init__(self, apikey=None): - GEN_APIKEY = "GmEPb1B.bfqJLIhcGAsH9fTJevTglhFpCoZyAAAdhp" + GEN_APIKEY = "rgsaY4U.oZRQKUHdJhF9qguHMkwCGIoLaqEcaHjYLF" - DATE_GEN_APIKEY = "31.05.2023" + DATE_GEN_APIKEY = "31.05.2024" date_expiry = datetime.strptime(DATE_GEN_APIKEY, "%d.%m.%Y") today = datetime.now() From 97f2a08a63ec03a55e446cce1f1d7837e5c30717 Mon Sep 17 00:00:00 2001 From: Julian <1261560+jschibberges@users.noreply.github.com> Date: Sat, 2 Mar 2024 21:59:12 +0100 Subject: [PATCH 4/6] Create python-publish.yml --- .github/workflows/python-publish.yml | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/python-publish.yml diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml new file mode 100644 index 0000000..bdaab28 --- /dev/null +++ b/.github/workflows/python-publish.yml @@ -0,0 +1,39 @@ +# This workflow will upload a Python Package using Twine when a release is created +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Upload Python Package + +on: + release: + types: [published] + +permissions: + contents: read + +jobs: + deploy: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install build + - name: Build package + run: python -m build + - name: Publish package + uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }} From 55a7026cbd5a9658b51c9ab70f7bc0d043450827 Mon Sep 17 00:00:00 2001 From: Julian Date: Thu, 30 May 2024 09:46:03 +0200 Subject: [PATCH 5/6] Updated general API key Updated the general API key to the key valid until the end of Mai 2025. --- bundestag_api/bta_wrapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundestag_api/bta_wrapper.py b/bundestag_api/bta_wrapper.py index 33d1dae..bd2fbd9 100644 --- a/bundestag_api/bta_wrapper.py +++ b/bundestag_api/bta_wrapper.py @@ -46,9 +46,9 @@ class btaConnection: def __init__(self, apikey=None): - GEN_APIKEY = "rgsaY4U.oZRQKUHdJhF9qguHMkwCGIoLaqEcaHjYLF" + GEN_APIKEY = "I9FKdCn.hbfefNWCY336dL6x62vfwNKpoN2RZ1gp21" - DATE_GEN_APIKEY = "31.05.2024" + DATE_GEN_APIKEY = "31.05.2025" date_expiry = datetime.strptime(DATE_GEN_APIKEY, "%d.%m.%Y") today = datetime.now() From 6c91a2c52579c6445f60d9c3c2835e8604680966 Mon Sep 17 00:00:00 2001 From: Julian Date: Thu, 30 May 2024 10:01:09 +0200 Subject: [PATCH 6/6] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1ed3370..1bccaf6 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ readme="README.md", license="MIT", name='bundestag_api', - version='1.0.3', + version='1.0.4', packages=find_packages(), install_requires=[ 'requests>=2.0.0',