-
-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathpyproject.toml
103 lines (94 loc) · 2.17 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
[project]
name = "lionagi"
version = "0.9.13"
description = "An Intelligence Operating System."
authors = [
{ name = "HaiyangLi", email = "[email protected]" },
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"aiocache>=0.12.0",
"aiohttp>=3.11.0",
"jinja2>=3.1.0",
"pandas>=2.0.0",
"pillow>=10.0.0",
"pydantic>=2.0.0",
"python-dotenv>=1.0.1",
"tiktoken>=0.8.0",
]
license = {file = "LICENSE"}
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Framework :: Pydantic",
"Framework :: Pydantic :: 2",
"Framework :: Pytest",
]
[dependency-groups]
dev = [
"black[jupyter]>=24.10.0",
"isort>=5.13.2",
"pre-commit>=4.0.1",
"pytest>=8.3.4",
"pytest-asyncio>=0.25.0",
"sphinx-autobuild>=2024.10.3",
"sphinx>=8.1.3",
"furo>=2024.8.6",
"ipython>=8.31.0",
"ipykernel>=6.29.5",
"ipywidgets>=8.1.5",
]
[project.optional-dependencies]
tools = [
"docling>=2.15.1",
]
llms = [
"litellm>=1.59.5",
]
ollama = [
"openai>=1.60.0",
"ollama>=0.4.7",
]
[tool.black]
line-length = 79
target-version = ['py310']
[tool.isort]
profile = "black"
line_length = 79
[tool.flake8]
ignore = ["E203", "W503", "E501", "E402"]
max-line-length = 79
exclude = [".git", "__pycache__", "build", "dist", ".venv"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
python_files = ["test_*.py"]
markers = [
"performance: marks tests as performance",
"slow: marks tests as slow",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["lionagi"]
[tool.hatch.build]
exclude = [
"dev/*",
"data/*",
"notebooks/*",
"tests/*",
"*.pyc",
"__pycache__",
"temp_logs/*",
"logs/*"
]