forked from phidatahq/phidata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
130 lines (119 loc) · 2.25 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[project]
name = "phidata"
version = "2.4.25"
description = "Memory, knowledge and tools for LLMs."
requires-python = ">=3.7"
readme = "README.md"
authors = [
{name = "Ashpreet Bedi", email = "[email protected]"}
]
dependencies = [
"gitpython",
"httpx",
"pydantic",
"pydantic-settings",
"python-dotenv",
"pyyaml",
"rich",
"tomli",
"typer",
"typing-extensions",
]
[project.optional-dependencies]
dev = [
"mypy",
"pytest",
"ruff",
"types-pyyaml"
]
docker = [
"docker"
]
aws = [
"docker",
"boto3"
]
k8s = [
"docker",
"kubernetes"
]
[project.scripts]
phi = "phi.cli.entrypoint:phi_cli"
[project.urls]
homepage = "https://phidata.com"
documentation = "https://docs.phidata.com"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["phi*"]
[tool.setuptools.package-data]
phi = ["py.typed"]
[tool.pytest.ini_options]
testpaths = "tests"
[tool.ruff]
line-length = 120
exclude = ["phienv*", "aienv*"]
# Ignore `F401` (import violations) in all `__init__.py` files
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"phi/k8s/app/traefik/crds.py" = ["E501"]
[tool.mypy]
check_untyped_defs = true
no_implicit_optional = true
warn_unused_configs = true
plugins = ["pydantic.mypy"]
exclude = ["phienv*", "aienv*", "scratch*", "wip*", "tmp*", "cookbook/examples/*", "phi/assistant/openai/*"]
[[tool.mypy.overrides]]
module = [
"altair.*",
"arxiv.*",
"anthropic.*",
"apify_client.*",
"boto3.*",
"botocore.*",
"bs4.*",
"cohere.*",
"docker.*",
"duckdb.*",
"exa_py.*",
"firecrawl.*",
"duckduckgo_search.*",
"groq.*",
"kubernetes.*",
"lancedb.*",
"langchain.*",
"langchain_core.*",
"llama_index.*",
"mistralai.*",
"newspaper.*",
"nest_asyncio.*",
"numpy.*",
"ollama.*",
"openai.*",
"openbb.*",
"pandas.*",
"pinecone.*",
"pyarrow.*",
"pgvector.*",
"psycopg.*",
"psycopg2.*",
"pypdf.*",
"qdrant_client.*",
"rapidocr_onnxruntime.*",
"requests.*",
"simplejson.*",
"serpapi.*",
"setuptools.*",
"sqlalchemy.*",
"streamlit.*",
"spider.*",
"tavily.*",
"textract.*",
"vertexai.*",
"voyageai.*",
"wikipedia.*",
"yfinance.*",
"youtube_transcript_api.*",
]
ignore_missing_imports = true