-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) · 2.48 KB
/
pyproject.toml
File metadata and controls
92 lines (83 loc) · 2.48 KB
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
[project]
name = "fin-graphrag"
version = "1.0.0"
description = "Financial Graph RAG - Portfolio risk analysis using knowledge graphs and retrieval-augmented generation"
readme = "docs/README.md"
license = { text = "MIT" }
authors = [
{ name = "Saakshi Gupta", email = "saakshigupta2002@gmail.com" }
]
requires-python = ">=3.10"
keywords = ["finance", "graph", "rag", "neo4j", "portfolio", "risk-analysis", "llm"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business :: Financial :: Investment",
]
dependencies = [
"fastapi==0.110.0",
"uvicorn[standard]==0.27.1",
"pydantic>=1.10.12,<2.0.0",
"neo4j==5.16.0",
"requests==2.31.0",
"openai>=1.0.0",
"PyYAML>=6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"httpx>=0.25.0",
"ruff>=0.1.9",
"mypy>=1.8.0",
"pre-commit>=3.6.0",
"types-requests>=2.31.0",
"types-PyYAML>=6.0",
]
[project.urls]
Homepage = "https://github.com/saakshigupta2002/FinGraphRAG"
Repository = "https://github.com/saakshigupta2002/FinGraphRAG.git"
Documentation = "https://github.com/saakshigupta2002/FinGraphRAG#readme"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["backend/src/fin_graphrag"]
[tool.ruff]
target-version = "py310"
line-length = 100
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by formatter)
"B008", # do not perform function calls in argument defaults
"B905", # zip without explicit strict parameter
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"tests/*" = ["ARG001"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["backend/src/fin_graphrag/tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"