Rename to stealergram, add pyproject.toml, purge em-dashes

- Rename project to stealergram throughout
- Add pyproject.toml (replaces requirements.txt split, folds pytest.ini)
- Replace all em-dashes with hyphens across all source files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-19 10:06:30 -04:00
parent 4c104cddd2
commit 741e6bb0d3
46 changed files with 244 additions and 191 deletions

46
pyproject.toml Normal file
View File

@@ -0,0 +1,46 @@
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.backends.legacy:build"
[project]
name = "stealergram"
version = "0.1.0"
description = "Telegram channel monitor - downloads, extracts, scores, and alerts on credential leaks"
requires-python = ">=3.11"
dependencies = [
# Telegram
"telethon",
"tgcrypto",
# TUI
"textual",
# Config
"python-dotenv",
# Progress bars (CLI mode)
"tqdm",
# Archive extraction
"py7zr",
"rarfile",
]
[project.optional-dependencies]
web = [
"fastapi",
"uvicorn[standard]",
"jinja2",
"python-multipart",
"bcrypt",
"python-jose[cryptography]",
]
dev = [
"pytest",
]
[project.scripts]
stealergram = "main:main"
[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests*", "data*", "logs*", "tmp*"]
[tool.pytest.ini_options]
testpaths = ["tests"]