nordabiz/.gitignore
Maciej Pienczyn 9f58e3f8e1 auto-claude: 2.1 - Create scripts/pagespeed_client.py with GooglePageSpeedClient
Implements Google PageSpeed Insights API client with:
- GooglePageSpeedClient class for making API calls
- Exponential backoff retry logic (3 retries, 1-60s backoff)
- RateLimiter class with daily quota tracking (25k req/day)
- Quota persistence to .pagespeed_quota.json
- Support for mobile/desktop strategies
- Core Web Vitals extraction (LCP, FCP, CLS, TTFB)
- Lighthouse audit scores (performance, accessibility, SEO, best-practices)
- Structured dataclasses for results (PageSpeedResult, PageSpeedScore, CoreWebVitals)
- Custom exceptions (QuotaExceededError, RateLimitError, PageSpeedAPIError)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 02:00:37 +01:00

72 lines
839 B
Plaintext

# Environment variables - NIGDY NIE COMMITUJ!
.env
.env.local
.env.*.local
# Database
*.db
*.sqlite
*.sqlite3
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
venv/
env/
ENV/
# IDE
.vscode/
.idea/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# Logs
*.log
logs/
# Temporary files
*.tmp
*.bak
# Backups
backups/
*.sql.gz
# Deployment config (contains sensitive passwords)
deploy_config.conf
# Auto Claude data directory
.auto-claude/
# PageSpeed quota tracking files
.pagespeed_quota.json
scripts/.pagespeed_quota.json
# Analysis reports and temp files
*.csv
*_analysis*.json
*_report*.json
*_recommendations*.json
group_*_*.json
ANALYSIS_*.md
ANALYSIS_*.txt
CATEGORY_*.md
DEPLOYMENT_*.md
ITERATION_*.md
VALIDATION_*.md
*_SUMMARY*.md
*_SUMMARY*.txt
*_README*.md
preflight_report_*.txt
venv-py312/
.claude_settings.json
.worktrees/