forked from holoviz-topics/panel-chat-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
103 lines (92 loc) · 2.31 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[tool.ruff]
target-version = "py39"
extend-select = ["I", "TRY"]
[tool.pytest.ini_options]
addopts = "--cov=panel_chat_examples/ --cov-report=term-missing"
asyncio_mode = "strict"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"ui: marks tests as ui tests (deselect with '-m \"not ui\"')",
]
[tool.isort]
profile = "black"
[tool.hatch]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "regex_commit"
commit_extra_args = ["-e"]
path = "panel_chat_examples/__init__.py"
[tool.hatch.envs.default]
dependencies = [
"black",
"isort",
"locust",
"mkdocs-material",
"mkdocstrings[python]",
"mypy",
"pre-commit",
"pytest-asyncio",
"pytest-cov",
"pytest-playwright",
"pytest",
"ruff",
]
[tool.hatch.envs.default.scripts]
test = "pytest"
test-cov-xml = "pytest --cov-report=xml"
lint = [
"isort .",
"black .",
"ruff --fix .",
"mypy panel_chat_examples/",
]
lint-check = [
"isort . --check-only",
"black --check .",
"ruff .",
"mypy panel_chat_examples/",
]
docs-serve = "python scripts/generate_gallery.py;mkdocs serve"
docs-build = "python scripts/generate_gallery.py;mkdocs build"
panel-serve = "panel serve docs/examples/**/*.py --static-dirs thumbnails=docs/assets/thumbnails --autoreload"
panel-convert = "python scripts/convert_apps.py"
loadtest = "locust -f tests/locustfile.py -H http://localhost:5006 --users 1 --spawn-rate 1"
[build-system]
requires = ["hatchling", "hatch-regex-commit"]
build-backend = "hatchling.build"
[[tool.mypy.overrides]]
module = [
"param.*",
]
ignore_missing_imports = true
[project]
name = "panel-chat-examples"
authors = [
{ name = "panel-chat-examples", email = "developers@holoviz.org" }
]
description = "Example recipes for Panel ChatInterface."
readme = "README.md"
dynamic = ["version"]
classifiers = [
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.9"
dependencies = [
"chromadb",
"ctransformers",
"hvplot",
"langchain-experimental",
"langchain",
"matplotlib",
"numexpr",
"openai>1.0.0",
"panel>=1.3.0",
"plotly",
"pypdf",
"tabulate",
"tiktoken",
]
[project.urls]
Documentation = "https://holoviz-topics.github.io/panel-chat-examples/"
Source = "https://github.com/holoviz-topics/panel-chat-examples"