-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpyproject.toml
85 lines (76 loc) · 1.85 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
[project]
name = "funcchain"
version = "0.2.0-alpha.1"
description = "🔖 write prompts as python functions"
authors = [
{ name = "Shroominic", email = "[email protected]" }
]
dependencies = [
"langchain>=0.0.347",
"aiohttp>=3.9.0",
"python-dotenv>=1.0.0",
"pydantic-settings>=2.1.0",
"docstring-parser>=0.15",
"rich>=13.7.0",
"jinja2>=3.1.2",
"pillow>=10.1.0",
]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">= 3.10, <3.13"
keywords = ["funcchain", "ai", "llm", "langchain", "pydantic", "pythonic", "cognitive systems", "agent framework"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.urls]
Code = "https://github.com/shroominic/funcchain"
Documentation = "https://shroominic.github.io/funcchain"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"ruff",
"mypy",
"isort",
"pytest",
"ipython",
"pre-commit",
"funcchain[all]",
"mkdocs-material>=9.4",
"beautifulsoup4>=4.12",
]
[project.optional-dependencies]
local = [
"llama-cpp-python>=0.2.20",
"huggingface_hub>=0.19.4",
]
openai = [
"openai>=1.3.4",
"tiktoken>=0.5.1",
]
all = [
"funcchain[local]",
"funcchain[openai]",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pytest.ini_options]
addopts = "-p no:warnings"
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
line_length = 120
[tool.flake8]
max-line-length = 120
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
disallow_untyped_calls = true
disallow_incomplete_defs = true