-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpyproject.toml
77 lines (71 loc) · 1.81 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
[tool.poetry]
name = "llmgraph"
version = "1.3.2" # NOTE: sync with consts.py
description = "Create knowledge graphs with LLMs"
authors = ["Dylan Hogg <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/dylanhogg/llmgraph"
keywords = ["Knowledge graph", "LLM"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Environment :: Console",
"Topic :: Scientific/Engineering :: Visualization",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
]
include = ["prompts.yaml"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.10"
httpx = "^0.25.0"
networkx = "^3.4.2"
beautifulsoup4 = "^4.13.3"
pyvis = "^0.3.2"
joblib = "^1.4.2"
tenacity = "^9.0.0"
omegaconf = "^2.3.0"
matplotlib = "^3.10.0"
python-dotenv = "^1.0.1"
click = "^8.1.8"
typer = "^0.9.0"
rich = "^13.9.4"
tqdm = "^4.67.1"
loguru = "^0.7.2"
litellm = "^1.61.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.4"
black = "^25.1.0"
ruff = "^0.3.4"
coverage = "^7.6.12"
pre-commit = "^4.1.0"
pip-audit = "^2.8.0"
[tool.poetry.scripts]
llmgraph = 'llmgraph.console:typer_app'
[tool.black]
line-length = 120
target-version = ['py38']
[tool.ruff]
# https://docs.astral.sh/ruff/rules/
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"C90", # mccabe complexity
]
ignore = [
"E501", # line too long, handled by black
"D203", # 1 blank line required before class docstring
]
line-length = 120
extend-exclude = [".joblib_cache"]
fixable = ["ALL"]
unfixable = []
target-version = "py38"