-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
91 lines (84 loc) · 1.97 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "pyllments"
dynamic = ["version"]
url = "https://github.com/Prudent-Patterns/pyllments"
author = "Dmitriy Leybel"
author_email = "dmleybel@gmail.com"
description = """
A Python framework for building modular, extensible LLM applications through composable Elements
in a flow-based architecture. Pyllments enables developers to create both graphical and API-based
LLM applications by connecting specialized Elements through a flexible port system, with built-in
support for UI components and LLM integrations.
"""
license = "Apache-2.0"
license_file = "LICENSE"
requires-python = ">=3.10"
dependencies = [
"numpy",
"python-dotenv",
"bokeh",
"panel",
"langchain-text-splitters",
"sentence-transformers[onnx-gpu]",
"openai",
"jsonlines",
"opencv-python",
"pdfminer.six",
"pikepdf",
"nbconvert",
"tiktoken",
"chromadb",
"unstructured",
"pillow-heif",
"pytesseract",
"ruamel.yaml",
"duckdb",
"fastapi[standard]",
"bokeh-fastapi",
"loguru",
"lancedb",
"typer",
"litellm>=1.57.3",
"discord-py>=2.4.0",
"python-telegram-bot>=21.10",
"telethon>=1.38.1",
"sqlite-utils>=3.38",
"jinja2",
"mcp>=1.3.0",
]
[dependency-groups]
dev = [
"jupyter_bokeh",
"ipykernel",
"ipython",
"ipywidgets",
]
[project.scripts]
pyllments = "pyllments.__main__:app"
[tool.hatch.build.targets.wheel]
packages = ["pyllments"]
[tool.hatch.build.targets.sdist]
exclude = [
"dev",
"docs",
"examples",
".devcontainer",
".vscode",
".cursorrules",
".cursorignore",
".gitignore",
".gitattributes",
".venv",
".env",
"*.py[cod]",
"__pycache__/*"
]
[tool.hatch.version]
source = "vcs"
tag-pattern = '^(?!docs-)(?:[\w-]+-)?(?P<version>[vV]?\d+(?:\.\d+){0,2}[^+]*)(?:\+.*)?$'
fallback-version = "0.0.1"
[tool.hatch.build.hooks.vcs]
version-file = "_version.py"