This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
87 lines (79 loc) · 1.65 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
[project]
name = "ai-cookbook"
version = "0.1.0"
requires-python = ">3.7"
readme = "README.md"
authors = [{ name = "Team", email = "[email protected]" }]
dependencies = [
# Data processing libraries
"pandas",
"polars",
"duckdb==0.9.2",
# Api server libraries
"fastapi",
"typer",
"uvicorn",
# Database libraries
"alembic",
"pgvector",
"psycopg[binary]",
"sqlalchemy",
# Project libraries
"arxiv",
"exa_py",
"openai",
"pypdf",
"aiohttp",
"streamlit",
"matplotlib",
"plotly",
"seaborn",
"scipy",
"tiktoken",
"requests",
"types-requests",
"beautifulsoup4",
"types-beautifulsoup4",
"pillow",
"pandas-stubs",
"types-Pillow",
"tavily-python",
"wikipedia",
"discord.py",
"resend",
"gunicorn",
# Type checking
"mypy",
# Testing
"pytest",
# Linting and Formatting
"ruff",
# phidata
"phidata[aws]==2.3.72",
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
# Change this value to use a different directory for the phidata workspace.
# [tool.phidata]
# workspace = "workspace"
[tool.ruff]
line-length = 110
extend-include = ["*.ipynb"]
exclude = ["aienv*", ".venv*"]
[tool.ruff.lint.per-file-ignores]
# Ignore `F401` (import violations) in all `__init__.py` files
"__init__.py" = ["F401"]
"*.ipynb" = ["E402"]
[tool.mypy]
check_untyped_defs = true
no_implicit_optional = true
warn_unused_configs = true
plugins = ["pydantic.mypy"]
exclude = ["aienv*", ".venv*"]
[[tool.mypy.overrides]]
module = ["pgvector.*", "setuptools.*", "langchain.*", "tavily.*", "arxiv.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = "tests"