commit 184de8576fddb708cf33ea29a5909b0a5de826ed Author: qhga Date: Thu Aug 4 13:22:49 2022 +0200 init diff --git a/README.md b/README.md new file mode 100644 index 0000000..85b90f1 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# HOWTO + +Run like this: `python -m src` \ No newline at end of file diff --git a/src/__init__.py b/src/__init__.py new file mode 100644 index 0000000..67f7fe9 --- /dev/null +++ b/src/__init__.py @@ -0,0 +1,2 @@ + +print("INIT") \ No newline at end of file diff --git a/src/__main__.py b/src/__main__.py new file mode 100644 index 0000000..80dc13e --- /dev/null +++ b/src/__main__.py @@ -0,0 +1,4 @@ +from .test_queueing_model import doSmth + +print("MAIN") +doSmth() # Funktionsimport diff --git a/src/databases.py b/src/databases.py new file mode 100644 index 0000000..272168d --- /dev/null +++ b/src/databases.py @@ -0,0 +1,3 @@ +class PostgresDB: + def __init__(self): + print("POSTGRES") \ No newline at end of file diff --git a/src/dbs/__init__.py b/src/dbs/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/dbs/db.py b/src/dbs/db.py new file mode 100644 index 0000000..0666e82 --- /dev/null +++ b/src/dbs/db.py @@ -0,0 +1,3 @@ +class DB: + def __init__(self): + print("DB") \ No newline at end of file diff --git a/src/test_queueing_model.py b/src/test_queueing_model.py new file mode 100644 index 0000000..d52d564 --- /dev/null +++ b/src/test_queueing_model.py @@ -0,0 +1,6 @@ +from .databases import PostgresDB +from .dbs.db import DB + +def doSmth(): + p = PostgresDB() + d = DB() \ No newline at end of file