refactor: Convert to UV Python project with proper package structure

- Restructured project to use src/stocktool package layout
- Migrated to UV for dependency management
- Added pyproject.toml with all dependencies (sv-ttk, pillow, requests, pyyaml)
- Organized test files into tests/ directory
- Updated .gitignore for UV projects
- Comprehensive README with installation and usage instructions
- Removed old unused files (main.py, stock_tool_gui.py, duplicate copy)
- Added CLI entry point: stock-tool command

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-29 10:52:10 +07:00
parent abad7d3fa5
commit 9c742af585
24 changed files with 1563 additions and 192 deletions

41
.gitignore vendored
View File

@@ -4,29 +4,20 @@ __pycache__/
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
dist/
build/
*.egg
MANIFEST
# Virtual Environment
.venv/
venv/
env/
ENV/
env.bak/
venv.bak/
env/
# UV
.uv/
uv.lock
# IDE
.vscode/
@@ -34,20 +25,14 @@ venv.bak/
*.swp
*.swo
*~
.DS_Store
# Configuration files (may contain sensitive data)
# OS
.DS_Store
Thumbs.db
# Config
*.yaml
*.yml
!example_config.yaml
# Logs
*.log
# Test files (optional - uncomment if you don't want to track tests)
# test_*.py
# Temporary files
*.tmp
*.bak
*.cache