From 64c191698a6367a3812e70783fb4c66cc03ae4bd Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 22 Mar 2026 18:15:22 +0000 Subject: [PATCH] Initial upload: shell-history-semantic-search v0.1.0 --- pyproject.toml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..49521ea --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,52 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "shell-history-search" +version = "0.1.0" +description = "A privacy-first CLI tool for semantic shell history search" +readme = "README.md" +requires-python = ">=3.10" +license = {text = "MIT"} +authors = [ + {name = "Shell History Search Team"} +] +keywords = ["shell", "history", "semantic-search", "cli", "embeddings"] +classifiers = [ + "Development Status :: 3 - Alpha", + "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 = [ + "sentence-transformers>=2.2.0,<2.6.0", + "click==8.1.7", + "chromadb==0.4.22", + "numpy>=1.24.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", + "pytest-mock>=3.10.0", +] + +[project.scripts] +shell-history-search = "shell_history_search.cli.main:cli" + +[tool.setuptools] +package-dir = {"" = "src"} + +[tool.setuptools.packages.find] +where = ["src"] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] +addopts = "-v --cov=src/shell_history_search --cov-report=term-missing" \ No newline at end of file