Use rich for table output; add uv project setup

- Replace manual column-width formatting with rich.Table
- Add pyproject.toml, uv.lock for dependency management
- Add .python-version (3.11) and .envrc for direnv/uv auto-setup
- Add main.py scaffold

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-24 20:34:19 +08:00
parent 929b7a4cec
commit e10563b405
6 changed files with 267 additions and 10 deletions

11
pyproject.toml Normal file
View File

@@ -0,0 +1,11 @@
[project]
name = "cpc-price-cli"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"beautifulsoup4>=4.14.3",
"requests>=2.32.5",
"rich>=14.3.3",
]