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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
drewp@bigasterisk.com
parents:
diff changeset
1 [project]
drewp@bigasterisk.com
parents:
diff changeset
2 name = "sco-bot"
drewp@bigasterisk.com
parents:
diff changeset
3 version = "0.1.0"
drewp@bigasterisk.com
parents:
diff changeset
4 description = "Default template for PDM package"
drewp@bigasterisk.com
parents:
diff changeset
5 authors = [
drewp@bigasterisk.com
parents:
diff changeset
6 {name = "drew", email = "drewp@bigasterisk.com"},
drewp@bigasterisk.com
parents:
diff changeset
7 ]
drewp@bigasterisk.com
parents:
diff changeset
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
drewp@bigasterisk.com
parents:
diff changeset
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
c2176e9a2696 split by sentences
drewp@bigasterisk.com
parents: 0
diff changeset
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
drewp@bigasterisk.com
parents:
diff changeset
22 ]
drewp@bigasterisk.com
parents:
diff changeset
23 requires-python = ">=3.11"
drewp@bigasterisk.com
parents:
diff changeset
24 readme = "README.md"
drewp@bigasterisk.com
parents:
diff changeset
25 license = {text = "MIT"}
drewp@bigasterisk.com
parents:
diff changeset
26
drewp@bigasterisk.com
parents:
diff changeset
27
drewp@bigasterisk.com
parents:
diff changeset
28 [tool.pdm]
drewp@bigasterisk.com
parents:
diff changeset
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)"}