pcschreiber1 commited on
Commit
f837a27
·
0 Parent(s):

Initital commit.

Browse files
Files changed (5) hide show
  1. .gitignore +10 -0
  2. .python-version +1 -0
  3. README.md +54 -0
  4. main.py +6 -0
  5. pyproject.toml +7 -0
.gitignore ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+
9
+ # Virtual environments
10
+ .venv
.python-version ADDED
@@ -0,0 +1 @@
 
 
1
+ 3.13
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # KI-gestütze Kontextanalysen für Länderevaluierungen
2
+ This is the code repository for the DEval project "Durchführung und Unterstützung von KI-gestützten Text-und Datenanalysen und deren Aufbereitung in strukturierter Form im Bereich Länderkontexte".
3
+
4
+ ---
5
+
6
+ ## Table of Contents
7
+
8
+ - **[Get Started](#get-started)**
9
+
10
+ - [Setting-up the environment](#setting-up-the-environment)
11
+ - [Load EPD Data](#load-epd-data)
12
+ - [PostGres](#postgres)
13
+
14
+ - [Contribute](#contribute)
15
+ - [Unit Tests](#unit-tests)
16
+ - [Deploy to Heroku](#deploy-to-heroku)
17
+ - [Support](#support)
18
+ - [License](#license)
19
+
20
+ ---
21
+
22
+ ## Get started
23
+
24
+ To run, the project expects secret keys from a `.env` file.
25
+
26
+ ### Setting-up the environment
27
+ We use `uv` as a python and our package dependency manager. Follow these [instructions](https://docs.astral.sh/uv/getting-started/installation/) to install with the standalone installer and `curl`
28
+
29
+ Next, to set up the local dependencies. You can find further information [here](https://docs.astral.sh/uv/guides/projects/#managing-dependencies)
30
+ ```Bash
31
+ uv sync
32
+ ```
33
+
34
+ This should give you a package structure like this with a `.venv` file
35
+ ```
36
+ .
37
+ ├── .venv
38
+ ├── .python-version
39
+ ├── README.md
40
+ ├── main.py
41
+ └── pyproject.toml
42
+ ```
43
+
44
+
45
+ Alternatively, with a different dependency manager such as `venv` install directly from `pyproject.toml`.
46
+ ```Bash
47
+ (.venv) $ pip install .
48
+ ```
49
+ **Note**: the dependencies then need to be documented manually in the `pyproject.toml`.
50
+
51
+
52
+
53
+
54
+
main.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ def main():
2
+ print("Hello from deval-ai4kontextanalysen!")
3
+
4
+
5
+ if __name__ == "__main__":
6
+ main()
pyproject.toml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "deval-ai4kontextanalysen"
3
+ version = "0.1.0"
4
+ description = "Add your description here"
5
+ readme = "README.md"
6
+ requires-python = ">=3.13"
7
+ dependencies = []