From 3e2fc2721f77d7a09b7850d9398446d2cab5ba8c Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 29 Jan 2026 12:41:00 +0000 Subject: [PATCH] Initial commit: ShellGen CLI tool with LLM backends --- app/pyproject.toml | 62 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 app/pyproject.toml diff --git a/app/pyproject.toml b/app/pyproject.toml new file mode 100644 index 0000000..deb6d8b --- /dev/null +++ b/app/pyproject.toml @@ -0,0 +1,62 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "shellgen" +version = "0.1.0" +description = "A CLI tool that converts natural language descriptions into shell commands using local LLMs" +readme = "README.md" +requires-python = ">=3.10" +license = {text = "MIT"} +authors = [ + {name = "ShellGen Contributors"} +] +keywords = ["cli", "shell", "llm", "command-generator", "ollama", "llama"] +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] + +dependencies = [ + "rich>=13.7.0", + "ollama>=0.1.0", + "pyyaml>=6.0", +] + +[project.optional-dependencies] +llama-cpp = [ + "llama-cpp-python>=0.2.0", +] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", + "black>=23.0.0", + "mypy>=1.0.0", +] + +[project.scripts] +shellgen = "shellgen:main" + +[tool.setuptools.packages.find] +where = ["."] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] + +[tool.black] +line-length = 100 +target-version = ['py310'] + +[tool.mypy] +python_version = "3.10" +warn_return_any = true +warn_unused_ignores = true +disallow_untyped_defs = true