mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
Black 26.1.0 crashes on multiple exception types in parentheses. The requires-python bump to 3.14 broke CI which runs Python 3.12.
100 lines
2.5 KiB
TOML
100 lines
2.5 KiB
TOML
[project]
|
|
name = "hanzo-repl"
|
|
version = "0.1.0"
|
|
description = "Interactive REPL for Hanzo AI - Like Claude Code in your terminal"
|
|
authors = [
|
|
{name = "Hanzo AI", email = "[email protected]"},
|
|
]
|
|
readme = "README.md"
|
|
license = {text = "BSD-3-Clause"}
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Console",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: BSD License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Topic :: Software Development :: Testing",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
]
|
|
keywords = ["repl", "mcp", "ai", "llm", "hanzo", "claude", "interactive"]
|
|
requires-python = ">=3.12"
|
|
|
|
dependencies = [
|
|
"hanzo-mcp>=0.1.0",
|
|
"rich>=13.0.0",
|
|
"prompt-toolkit>=3.0.0",
|
|
"click>=8.0.0",
|
|
"python-dotenv>=1.0.0",
|
|
"hanzo-llm>=1.0.0",
|
|
"colorama>=0.4.6",
|
|
"pygments>=2.17.0",
|
|
"ipython>=8.0.0",
|
|
"textual>=0.41.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://hanzo.ai"
|
|
Documentation = "https://docs.hanzo.ai/repl"
|
|
Repository = "https://github.com/hanzoai/python-sdk"
|
|
Issues = "https://github.com/hanzoai/python-sdk/issues"
|
|
|
|
[project.optional-dependencies]
|
|
voice = [
|
|
"speechrecognition>=3.10.0",
|
|
"pyttsx3>=2.90",
|
|
"sounddevice>=0.4.6",
|
|
"numpy>=1.24.0",
|
|
# pyaudio is optional and requires system dependencies
|
|
# Install with: pip install pyaudio (requires portaudio system library)
|
|
]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"pytest-cov>=4.0.0",
|
|
"black>=23.0.0",
|
|
"ruff>=0.1.0",
|
|
"mypy>=1.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
hanzo-repl = "hanzo_repl.cli:main"
|
|
hanzo-repl-ipython = "hanzo_repl.ipython_repl:main"
|
|
hanzo-repl-tui = "hanzo_repl.textual_repl:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build]
|
|
include = [
|
|
"src/hanzo_repl",
|
|
"README.md",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/hanzo_repl"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py38"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP", "N", "S", "A", "C4", "T20", "RET", "SIM", "ARG"]
|
|
ignore = ["E501", "S101"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.8"
|
|
strict = true
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
asyncio_mode = "auto" |