first commit

This commit is contained in:
Leonid Pershin
2026-08-21 02:42:48 +03:00
commit 167d07a733
46 changed files with 3334 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gpu-rent"
version = "0.1.0"
description = "Rent a preemptible Selectel GPU, keep SwarmUI on persistent disks, tunnel to localhost:17801."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
authors = [{ name = "gpu-rent contributors" }]
keywords = ["selectel", "openstack", "gpu", "swarmui"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Environment :: Console",
]
dependencies = [
"typer>=0.16",
"rich>=13.7",
"python-dotenv>=1.0",
"openstacksdk>=3.3",
"paramiko>=3.4",
"sshtunnel>=0.4",
"httpx>=0.27",
"pyyaml>=6.0",
"cryptography>=42.0",
]
[project.optional-dependencies]
dev = ["pytest>=8.0"]
[project.scripts]
gpu-rent = "gpu_rent.cli:app"
[project.urls]
Documentation = "https://github.com/mrleo1nid/gpu-rent/blob/main/docs/README.md"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]