npv2k1 commited on
Commit
ab89dc7
·
1 Parent(s): 0f53e1d

Refactor code structure for improved readability and maintainability

Browse files
Files changed (4) hide show
  1. nodemon.json +5 -0
  2. pyproject.toml +2 -0
  3. shell.nix +4 -2
  4. uv.lock +0 -0
nodemon.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "watch": ["src", "main.py"],
3
+ "ext": "py",
4
+ "exec": "python main.py"
5
+ }
pyproject.toml CHANGED
@@ -7,10 +7,12 @@ requires-python = ">=3.11"
7
  dependencies = [
8
  "fastapi[standard]>=0.115.8",
9
  "ipykernel>=6.29.5",
 
10
  "numpy>=2.2.3",
11
  "pika>=1.3.2",
12
  "pytest>=8.3.4",
13
  "rabbitmq>=0.2.0",
 
14
  "uvicorn>=0.34.0",
15
  ]
16
 
 
7
  dependencies = [
8
  "fastapi[standard]>=0.115.8",
9
  "ipykernel>=6.29.5",
10
+ "matplotlib>=3.10.3",
11
  "numpy>=2.2.3",
12
  "pika>=1.3.2",
13
  "pytest>=8.3.4",
14
  "rabbitmq>=0.2.0",
15
+ "sentence-transformers>=4.1.0",
16
  "uvicorn>=0.34.0",
17
  ]
18
 
shell.nix CHANGED
@@ -11,6 +11,7 @@ in pkgs.mkShell {
11
  docker
12
  docker-compose
13
  nodejs_18
 
14
  nodePackages.ts-node
15
  ];
16
 
@@ -24,9 +25,10 @@ in pkgs.mkShell {
24
  else
25
  echo "Virtual environment not found, creating one..."
26
  fi
27
-
28
- alias dev='python3 main.py'
29
  alias python='python3'
 
 
 
30
 
31
  which python3
32
 
 
11
  docker
12
  docker-compose
13
  nodejs_18
14
+ nodemon
15
  nodePackages.ts-node
16
  ];
17
 
 
25
  else
26
  echo "Virtual environment not found, creating one..."
27
  fi
 
 
28
  alias python='python3'
29
+ alias dev1='python3 main.py'
30
+ alias dev='nodemon --exec python main.py --ext py --watch src/'
31
+
32
 
33
  which python3
34
 
uv.lock CHANGED
The diff for this file is too large to render. See raw diff