[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "blackcat"
version = "1.6.0"
description = "BlackCat — a DeepSeek/OpenRouter-powered agent: chat, web search/fetch, and vision, with an offline echo provider."
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
keywords = ["agent", "deepseek", "openrouter", "chat", "search", "vision", "cli"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Utilities",
]
dependencies = ["aiohttp>=3.10",
"stealthii @ git+https://retoor.molodetz.nl/retoor/stealthii.git"]
[project.optional-dependencies]
dev = ["pytest>=7", "ruff>=0.9"]
tui = ["textual>=8"]
[project.scripts]
blackcat = "blackcat.cli:main"
[project.urls]
Documentation = "https://api-docs.deepseek.com/"
Issues = "https://github.com/retoor/blackcat/issues"
[tool.setuptools]
packages = ["blackcat", "blackcat.tui"]
[tool.setuptools.package-data]
blackcat = ["templates/dockerized/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
target-version = "py311"
line-length = 79
[tool.ruff.lint]
# E/F: pycodestyle+pyflakes, UP: pyupgrade (PEP 585/604 typing),
# I: import sorting, PTH: pathlib over os.path, B: bugbear.
select = ["E4", "E7", "E9", "F", "UP", "I", "PTH", "B"]
ignore = [
# %-formatting stays: logging calls use lazy %-args on purpose.
"UP031",
]
[tool.ruff.lint.per-file-ignores]
# Tests drive the package through os.path-heavy fixtures and a few
# deliberate late imports; the pathlib rule targets the application.
"tests/**" = ["PTH", "E402"]