Files
CAD-Documenter/pyproject.toml
Mario Lavoie d5371cfe75 Add KB Capture v2 - clip-based recording system
New features:
- Clip-based workflow: record short clips, keep or delete
- Toggle recording with Ctrl+Shift+R
- Session management (start, clips, end)
- Modern CustomTkinter GUI with dark theme
- Global hotkeys for hands-free control
- Whisper transcription (local, no API)
- FFmpeg screen + audio capture
- Export to clawdbot_export/ for Mario processing

Files added:
- recorder.py: FFmpeg screen recording
- session.py: Session/clip management
- hotkeys.py: Global hotkey registration
- kb_capture.py: Main application logic
- gui_capture.py: Modern GUI
- export.py: Merge clips, transcribe, export

Docs:
- docs/KB-CAPTURE.md: Full documentation

Entry point: uv run kb-capture
2026-02-09 12:50:22 +00:00

87 lines
2.1 KiB
TOML

[project]
name = "cad-documenter"
version = "0.2.0"
description = "Video walkthrough → Complete engineering documentation"
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
authors = [
{name = "Antoine Letarte", email = "antoine.letarte@gmail.com"},
]
keywords = ["cad", "documentation", "engineering", "video", "ai", "vision", "whisper"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Multimedia :: Video",
]
dependencies = [
"click>=8.1.0",
"rich>=13.0.0",
"jinja2>=3.1.0",
"openai-whisper>=20231117",
"pillow>=10.0.0",
# Vision API clients
"anthropic>=0.40.0",
"openai>=1.50.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
gui = [
"customtkinter>=5.2.0",
]
capture = [
"customtkinter>=5.2.0",
"keyboard>=0.13.5", # Global hotkeys
"pystray>=0.19.0", # System tray (optional)
]
pdf = [
"pandoc", # For PDF generation fallback
]
[project.scripts]
cad-doc = "cad_documenter.cli:main"
cad-doc-gui = "cad_documenter.gui:main"
kb-capture = "cad_documenter.gui_capture:main"
[project.urls]
Homepage = "http://100.80.199.40:3000/Antoine/CAD-Documenter"
Documentation = "http://100.80.199.40:3000/Antoine/CAD-Documenter"
Repository = "http://100.80.199.40:3000/Antoine/CAD-Documenter"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/cad_documenter"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = ["E501"] # Line length handled separately
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[tool.mypy]
python_version = "3.12"
strict = false
warn_return_any = true
warn_unused_ignores = true