forked from shroominic/funcchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
97 lines (86 loc) · 2.08 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
[project]
name = "funcchain"
version = "0.2.2"
description = "🔖 write prompts as python functions"
authors = [{ name = "Shroominic", email = "[email protected]" }]
dependencies = [
"langchain_openai>=0.0.3",
"pydantic-settings>=2",
"docstring-parser>=0.15",
"rich>=13",
"jinja2>=3",
]
license = "MIT"
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 = [
"funcchain[all]",
"ruff",
"mypy",
"isort",
"pytest",
"ipython",
"pre-commit",
"types-PyYAML>=6",
"mkdocs-material>=9.4",
]
[project.optional-dependencies]
openai = ["langchain_openai"]
ollama = ["langchain_community"]
llamacpp = ["llama-cpp-python>=0.2.32", "huggingface_hub>=0.20"]
pillow = ["pillow"]
example-extras = ["langchain>=0.1", "faiss-cpu>=1.7.4", "beautifulsoup4>=4.12"]
all = [
"funcchain[pillow]",
"funcchain[openai]",
"funcchain[ollama]",
"funcchain[llamacpp]",
"funcchain[example-extras]",
"langchain",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/funcchain"]
[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
[tool.ruff]
select = ["E", "F", "I"]
line-length = 120