From eda6b7f0b8d06b7c63a9889d62a3f9ba7304cb85 Mon Sep 17 00:00:00 2001
From: Anis Koubaa <mohamed.koubaa@kit.edu>
Date: Thu, 27 Feb 2025 14:13:00 +0100
Subject: [PATCH] add generated requirements to project.

---
 .gitignore                               | 13 +++-----
 services/backend_regimo/requirements.txt | 39 ++++++++++++++++++++++++
 services/pyproject.toml                  | 29 ++++++++++++++++++
 3 files changed, 72 insertions(+), 9 deletions(-)
 create mode 100644 services/backend_regimo/requirements.txt
 create mode 100644 services/pyproject.toml

diff --git a/.gitignore b/.gitignore
index 4c4e85c..569b0f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,12 +55,6 @@ cover/
 *.mo
 *.pot
 
-# Django stuff:
-*.log
-local_settings.py
-db.sqlite3
-db.sqlite3-journal
-
 # Flask stuff:
 instance/
 .webassets-cache
@@ -92,14 +86,14 @@ ipython_config.py
 #   However, in case of collaboration, if having platform-specific dependencies or dependencies
 #   having no cross-platform support, pipenv may install dependencies that don't work, or not
 #   install all needed dependencies.
-#Pipfile.lock
+# Pipfile.lock
 
 # poetry
 #   Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
 #   This is especially recommended for binary packages to ensure reproducibility, and is more
 #   commonly ignored for libraries.
 #   https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
-#poetry.lock
+poetry.lock
 
 # pdm
 #   Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
@@ -236,4 +230,5 @@ fabric.properties
 
 /services/poetry.lock
 /services/tdd/
-/services/backend_regimo/data/LLEC_Data/~$dataset_sample_2rows.xlsx
\ No newline at end of file
+/services/backend_regimo/data/LLEC_Data/~$dataset_sample_2rows.xlsx
+/services/.idea/
diff --git a/services/backend_regimo/requirements.txt b/services/backend_regimo/requirements.txt
new file mode 100644
index 0000000..3014bc5
--- /dev/null
+++ b/services/backend_regimo/requirements.txt
@@ -0,0 +1,39 @@
+annotated-types==0.7.0 ; python_version >= "3.10" and python_version < "4.0"
+anyio==4.8.0 ; python_version >= "3.10" and python_version < "4.0"
+attrs==25.1.0 ; python_version >= "3.10" and python_version < "4.0"
+certifi==2025.1.31 ; python_version >= "3.10" and python_version < "4.0"
+charset-normalizer==3.4.1 ; python_version >= "3.10" and python_version < "4.0"
+click==8.1.8 ; python_version >= "3.10" and python_version < "4.0"
+colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0" and platform_system == "Windows"
+et-xmlfile==2.0.0 ; python_version >= "3.10" and python_version < "4.0"
+exceptiongroup==1.2.2 ; python_version >= "3.10" and python_version < "3.11"
+fastapi==0.100.1 ; python_version >= "3.10" and python_version < "4.0"
+h11==0.14.0 ; python_version >= "3.10" and python_version < "4.0"
+idna==3.10 ; python_version >= "3.10" and python_version < "4.0"
+isodate==0.7.2 ; python_version >= "3.10" and python_version < "3.11"
+jsonschema-specifications==2024.10.1 ; python_version >= "3.10" and python_version < "4.0"
+jsonschema==4.23.0 ; python_version >= "3.10" and python_version < "4.0"
+numpy==2.2.3 ; python_version >= "3.12" and python_version < "4.0" or python_version >= "3.10" and python_version <= "3.11"
+oemetadata==2.0.3 ; python_version >= "3.10" and python_version < "4.0"
+oep-client==0.17.0 ; python_version >= "3.10" and python_version < "4.0"
+omi==0.2.1 ; python_version >= "3.10" and python_version < "4.0"
+openpyxl==3.1.5 ; python_version >= "3.10" and python_version < "4.0"
+pandas==2.2.3 ; python_version >= "3.10" and python_version < "4.0"
+pydantic-core==2.27.2 ; python_version >= "3.10" and python_version < "4.0"
+pydantic==2.10.6 ; python_version >= "3.10" and python_version < "4.0"
+pyjwt==2.10.1 ; python_version >= "3.10" and python_version < "4.0"
+pyparsing==3.2.1 ; python_version >= "3.10" and python_version < "4.0"
+python-dateutil==2.9.0.post0 ; python_version >= "3.10" and python_version < "4.0"
+pytz==2025.1 ; python_version >= "3.10" and python_version < "4.0"
+rdflib==7.1.3 ; python_version >= "3.10" and python_version < "4.0"
+referencing==0.36.2 ; python_version >= "3.10" and python_version < "4.0"
+requests==2.32.3 ; python_version >= "3.10" and python_version < "4.0"
+rpds-py==0.23.1 ; python_version >= "3.10" and python_version < "4.0"
+six==1.17.0 ; python_version >= "3.10" and python_version < "4.0"
+sniffio==1.3.1 ; python_version >= "3.10" and python_version < "4.0"
+starlette==0.27.0 ; python_version >= "3.10" and python_version < "4.0"
+stringcase==1.2.0 ; python_version >= "3.10" and python_version < "4.0"
+typing-extensions==4.12.2 ; python_version >= "3.10" and python_version < "4.0"
+tzdata==2025.1 ; python_version >= "3.10" and python_version < "4.0"
+urllib3==2.3.0 ; python_version >= "3.10" and python_version < "4.0"
+uvicorn==0.24.0.post1 ; python_version >= "3.10" and python_version < "4.0"
diff --git a/services/pyproject.toml b/services/pyproject.toml
new file mode 100644
index 0000000..7a6f88f
--- /dev/null
+++ b/services/pyproject.toml
@@ -0,0 +1,29 @@
+[tool.poetry]
+name = "backend_regimo"
+version = "0.1.0"
+description = "This is the backend for Regimo. Regimo is a tool to register data on a databus."
+authors = ["Anis Koubaa <mohamed.koubaa@kit.edu>"]
+license = "MIT"
+readme = "README.md"
+
+[tool.poetry.dependencies]
+python = "^3.10"
+fastapi = "^0.100.0"
+uvicorn = "^0.24.0"
+oep-client = "^0.17.0"
+openpyxl = "^3.1.5"
+omi = "^0.2.0"
+pyjwt = {extras = ["crypto"], version = "^2.10.1"}
+passlib = {extras = ["bcrypt"], version = "^1.7.4"}
+
+[tool.poetry.group.test.dependencies]
+pytest = "^8"
+
+
+[tool.poetry.group.dev.dependencies]
+datamodel-code-generator = "^0.26.5"
+reuse = "^5.0.2"
+
+[build-system]
+requires = ["poetry-core"]
+build-backend = "poetry.core.masonry.api"
\ No newline at end of file
-- 
GitLab