Mercurial > code > home > repos > sco-bot
annotate pyproject.toml @ 18:a527228aa353 default tip
prefect use postgres
author | drewp@bigasterisk.com |
---|---|
date | Fri, 19 Jul 2024 21:01:09 -0700 |
parents | b9c2b7fedbcd |
children |
rev | line source |
---|---|
0 | 1 [project] |
2 name = "sco-bot" | |
3 version = "0.1.0" | |
4 description = "Default template for PDM package" | |
5 authors = [ | |
6 {name = "drew", email = "drewp@bigasterisk.com"}, | |
7 ] | |
8 dependencies = [ | |
12
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
9 "cssselect>=1.2.0", |
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
10 "fastapi>=0.111.0", |
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
11 "html5lib>=1.1", |
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
12 "httpx>=0.27.0", |
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
13 "ipdb>=0.13.13", |
0 | 14 "ipython>=8.26.0", |
12
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
15 "lxml>=5.2.2", |
1 | 16 "nltk>=3.8.1", |
12
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
17 "webvtt-py>=0.5.1", |
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
18 "whoosh>=2.7.4", |
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
19 # "flax>=0.8.5", |
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
20 # "pymilvus[model]>=2.4.4", |
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
21 "prefect>=2.13.4", |
0 | 22 ] |
23 requires-python = ">=3.11" | |
24 readme = "README.md" | |
25 license = {text = "MIT"} | |
26 | |
27 | |
28 [tool.pdm] | |
29 distribution = false | |
12
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
30 |
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
31 [tool.pdm.scripts] |
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
32 _.env_file = "env" |
7f36497bfac3
pdm edits in another commit since the lock diffs are probably big
drewp@bigasterisk.com
parents:
9
diff
changeset
|
33 run_prefect_server = "prefect server start" |
13
403eff4a16c8
fix up indexer flow and fastapi server
drewp@bigasterisk.com
parents:
12
diff
changeset
|
34 run_build_flow = "python -c 'from scobot.index.build_index_flow import buildIndex; buildIndex.serve(buildIndex.__name__)'" |
403eff4a16c8
fix up indexer flow and fastapi server
drewp@bigasterisk.com
parents:
12
diff
changeset
|
35 start_build = "prefect deployment run buildIndex/buildIndex" |
14
b9c2b7fedbcd
fix up deployment and connect ui to server again
drewp@bigasterisk.com
parents:
13
diff
changeset
|
36 run_local_deploy = "fastapi dev --host 0.0.0.0 --port 8001 scobot" |
b9c2b7fedbcd
fix up deployment and connect ui to server again
drewp@bigasterisk.com
parents:
13
diff
changeset
|
37 run_local_vite = {shell = "(cd web; pnpm exec vite)"} |