Files
Chromy/pyproject.toml
T

77 lines
1.3 KiB
TOML
Raw Normal View History

2026-04-22 09:55:18 +02:00
[build-system]
requires = ["setuptools>=80", "wheel"]
build-backend = "setuptools.build_meta"
2026-04-21 13:32:09 +02:00
[project]
2026-04-22 09:55:18 +02:00
name = "chromy"
version = "1.0.0"
description = "Chromy is a minimal CLI RAG system based on Chromadb"
2026-04-21 13:32:09 +02:00
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"chromadb>=1.5.8",
"openai>=2.32.0",
2026-04-21 22:22:05 +02:00
"pymupdf4llm>=1.27.2.2",
2026-04-21 13:32:09 +02:00
"python-dotenv>=1.2.2",
2026-04-21 15:06:04 +02:00
"semchunk>=4.0.0",
"tiktoken>=0.12.0",
"transformers>=5.5.4",
2026-04-21 13:32:09 +02:00
]
2026-04-21 17:55:11 +02:00
2026-04-22 09:55:18 +02:00
[project.scripts]
2026-04-22 15:47:46 +02:00
chromy = "chromy.main:main"
2026-04-22 09:55:18 +02:00
[tool.setuptools]
2026-04-22 15:47:46 +02:00
packages = ["chromy", "chromy.handlers"]
2026-04-22 09:55:18 +02:00
2026-04-21 17:55:11 +02:00
[dependency-groups]
dev = [
2026-04-22 17:03:01 +02:00
"mypy>=1.18.2",
"nuitka[onefile]>=4.0.8",
"pytest>=9.0.2",
2026-04-22 17:03:01 +02:00
"ruff>=0.14.8",
]
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = [
"B",
"E",
"F",
"I",
"SIM",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.mypy]
python_version = "3.12"
files = [
"chromy",
"tests",
]
strict = true
warn_return_any = true
warn_unused_ignores = true
no_implicit_reexport = true
show_error_codes = true
[[tool.mypy.overrides]]
module = [
"chromadb.*",
"semchunk.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "chromy.chunk_functions"
disable_error_code = [
"attr-defined",
]