view 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
line wrap: on
line source

[project]
name = "sco-bot"
version = "0.1.0"
description = "Default template for PDM package"
authors = [
    {name = "drew", email = "drewp@bigasterisk.com"},
]
dependencies = [
    "cssselect>=1.2.0",
    "fastapi>=0.111.0",
    "html5lib>=1.1",
    "httpx>=0.27.0",
    "ipdb>=0.13.13",
    "ipython>=8.26.0",
    "lxml>=5.2.2",
    "nltk>=3.8.1",
    "webvtt-py>=0.5.1",
    "whoosh>=2.7.4",
    #    "flax>=0.8.5",
    #    "pymilvus[model]>=2.4.4",
    "prefect>=2.13.4",
]
requires-python = ">=3.11"
readme = "README.md"
license = {text = "MIT"}


[tool.pdm]
distribution = false

[tool.pdm.scripts]
_.env_file = "env"
run_prefect_server = "prefect server start"
run_build_flow = "python -c 'from scobot.index.build_index_flow import buildIndex; buildIndex.serve(buildIndex.__name__)'"
start_build = "prefect deployment run buildIndex/buildIndex"
run_local_deploy = "fastapi dev --host 0.0.0.0 --port 8001 scobot"
run_local_vite = {shell = "(cd web; pnpm exec vite)"}