diff --git a/pyproject.toml b/pyproject.toml index 1a4b2e0..68ee873 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,14 +10,10 @@ requires-python = ">=3.13" dependencies = [ "asyncssh>=2.20.0", "click>=8.1.8", - "click-repl>=0.3.0", - "click-shell", "cryptography>=44.0.2", "fastapi[standard]>=0.115.12", "httpx>=0.28.1", "jinja2>=3.1.6", - "littletable>=3.0.1", - "paramiko>=3.5.1", "pydantic>=2.10.6", "pydantic-settings>=2.8.1", "pykeepass>=4.1.1.post1", @@ -27,7 +23,6 @@ dependencies = [ ] [project.scripts] -sshecret-dev = "sshecret.dev_cli:cli" sshecret-decrypt = "sshecret.client:cli_decrypt" @@ -52,17 +47,14 @@ executionEnvironments = [ [tool.uv.workspace] members = ["packages/sshecret_client", "packages/sshecret-backend", "packages/sshecret-sshd", "packages/sshecret-admin"] -[tool.uv.sources] -click-shell = { git = "https://github.com/clarkperkins/click-shell" } - [dependency-groups] dev = [ "construct-typing>=0.6.2", "mypy>=1.15.0", - "pytest>=8.3.5", "python-dotenv>=1.0.1", ] test = [ + "pytest>=8.3.5", "pytest-asyncio>=0.26.0", "robotframework>=7.2.2", ] diff --git a/uv.lock b/uv.lock index bf1057a..0b8008d 100644 --- a/uv.lock +++ b/uv.lock @@ -185,27 +185,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/7e/d4/7ebdbd03970677812aac39c869717059dbb71a4cfc033ca6e5221787892c/click-8.1.8-py3-none-any.whl", hash = "sha256:63c132bbbed01578a06712a2d1f497bb62d9c1c0d329b7903a866228027263b2", size = 98188 }, ] -[[package]] -name = "click-repl" -version = "0.3.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "click" }, - { name = "prompt-toolkit" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/cb/a2/57f4ac79838cfae6912f997b4d1a64a858fb0c86d7fcaae6f7b58d267fca/click-repl-0.3.0.tar.gz", hash = "sha256:17849c23dba3d667247dc4defe1757fff98694e90fe37474f3feebb69ced26a9", size = 10449 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/52/40/9d857001228658f0d59e97ebd4c346fe73e138c6de1bce61dc568a57c7f8/click_repl-0.3.0-py3-none-any.whl", hash = "sha256:fb7e06deb8da8de86180a33a9da97ac316751c094c6899382da7feeeeb51b812", size = 10289 }, -] - -[[package]] -name = "click-shell" -version = "3.0.dev0" -source = { git = "https://github.com/clarkperkins/click-shell#12d4544e8475419c81f32b412c9eba04abe3dd73" } -dependencies = [ - { name = "click" }, -] - [[package]] name = "colorama" version = "0.4.6" @@ -452,15 +431,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/e2/05/2a29edac68484f1e1171d257773f73b436a240bd2640ab66d27bfadb69ae/jinja2_fragments-1.9.0-py3-none-any.whl", hash = "sha256:69b91e7e2f325ea7e391e36a9abcc572db967e2bf3afd35f74fcb78fc9f8c6c5", size = 14433 }, ] -[[package]] -name = "littletable" -version = "3.0.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/28/5e/9f639661ce14dd3ba49a433f15632f5f5d2be3064dadf7b1e2d6ce63ed01/littletable-3.0.1.tar.gz", hash = "sha256:ed8617a481c513b50e2a73e9af8a2d93696171e9d91a23a6adf3ad0255880e6e", size = 85200 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b2/0a/be1432b22af43ec8fd8dc265e3ee97ab879b8d2ad2a1b224c769866828b4/littletable-3.0.1-py3-none-any.whl", hash = "sha256:e070be36f6c474a519173f9501b4c6b3eb61f4cc8b1051eb071d40bd344c88eb", size = 47481 }, -] - [[package]] name = "lxml" version = "5.3.1" @@ -621,18 +591,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556 }, ] -[[package]] -name = "prompt-toolkit" -version = "3.0.50" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "wcwidth" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/a1/e1/bd15cb8ffdcfeeb2bdc215de3c3cffca11408d829e4b8416dcfe71ba8854/prompt_toolkit-3.0.50.tar.gz", hash = "sha256:544748f3860a2623ca5cd6d2795e7a14f3d0e1c3c9728359013f79877fc89bab", size = 429087 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e4/ea/d836f008d33151c7a1f62caf3d8dd782e4d15f6a43897f64480c2b8de2ad/prompt_toolkit-3.0.50-py3-none-any.whl", hash = "sha256:9b6427eb19e479d98acff65196a307c555eb567989e6d88ebbb1b509d9779198", size = 387816 }, -] - [[package]] name = "pycparser" version = "2.22" @@ -950,14 +908,10 @@ source = { editable = "." } dependencies = [ { name = "asyncssh" }, { name = "click" }, - { name = "click-repl" }, - { name = "click-shell" }, { name = "cryptography" }, { name = "fastapi", extra = ["standard"] }, { name = "httpx" }, { name = "jinja2" }, - { name = "littletable" }, - { name = "paramiko" }, { name = "pydantic" }, { name = "pydantic-settings" }, { name = "pykeepass" }, @@ -982,14 +936,10 @@ test = [ requires-dist = [ { name = "asyncssh", specifier = ">=2.20.0" }, { name = "click", specifier = ">=8.1.8" }, - { name = "click-repl", specifier = ">=0.3.0" }, - { name = "click-shell", git = "https://github.com/clarkperkins/click-shell" }, { name = "cryptography", specifier = ">=44.0.2" }, { name = "fastapi", extras = ["standard"], specifier = ">=0.115.12" }, { name = "httpx", specifier = ">=0.28.1" }, { name = "jinja2", specifier = ">=3.1.6" }, - { name = "littletable", specifier = ">=3.0.1" }, - { name = "paramiko", specifier = ">=3.5.1" }, { name = "pydantic", specifier = ">=2.10.6" }, { name = "pydantic-settings", specifier = ">=2.8.1" }, { name = "pykeepass", specifier = ">=4.1.1.post1" }, @@ -1209,15 +1159,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/f0/e5/96b8e55271685ddbadc50ce8bc53aa2dff278fb7ac4c2e473df890def2dc/watchfiles-1.0.4-cp313-cp313-win_amd64.whl", hash = "sha256:d6097538b0ae5c1b88c3b55afa245a66793a8fec7ada6755322e465fb1a0e8cc", size = 285216 }, ] -[[package]] -name = "wcwidth" -version = "0.2.13" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/6c/63/53559446a878410fc5a5974feb13d31d78d752eb18aeba59c7fef1af7598/wcwidth-0.2.13.tar.gz", hash = "sha256:72ea0c06399eb286d978fdedb6923a9eb47e1c486ce63e9b4e64fc18303972b5", size = 101301 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/fd/84/fd2ba7aafacbad3c4201d395674fc6348826569da3c0937e75505ead3528/wcwidth-0.2.13-py2.py3-none-any.whl", hash = "sha256:3da69048e4540d84af32131829ff948f1e022c1c6bdb8d6102117aac784f6859", size = 34166 }, -] - [[package]] name = "websockets" version = "15.0.1"