- Phase: 7. Modules, Stdlib & Testing
- Duration: 3 hours
- Milestone: Yes
- Build a complete CLI tool from scratch
- Parse structured and unstructured log files
- Filter log entries by date range and severity
- Use regular expressions to extract patterns
- Export summary results to formatted output
- Practice all Phase 7 topics (JSON, context managers, modules, stdlib, regex, logging)
- Reading and parsing log files line by line
- Extracting timestamp, level, and message fields with regex
- Counting log entries by severity level
- Filtering entries by date range
- Displaying summary statistics
- Identifying error patterns (IPs, exception types, etc.) with regex
- Exporting results to JSON and text
sys.argvfor CLI argument parsing
module-070-mini-project-log-analyzer/
README.md
notebook.ipynb
exercises.md
solutions.md
solutions.py
quiz.md
project/
README.md
starter_code.py
solution/
log_analyzer.py
Module 071