Nitzan Pomerantz
|
7757694077
|
Phase 3: Complete govmap package extraction (step 2/3)
- Created market_analysis.py with market analysis functions:
- parse_deal_dates() - Date parsing and filtering helper
- calculate_market_activity_score() - Activity metrics
- analyze_investment_potential() - Investment analysis
- get_market_liquidity() - Liquidity metrics
- Created client.py with GovmapClient class:
- Core API methods (autocomplete, get deals, etc.)
- Validation methods delegating to validators module
- Utility methods delegating to utils module
- Filtering, statistics, and analysis methods delegating to respective modules
- Updated govmap/__init__.py to export GovmapClient
All modules maintain backward compatibility through delegation pattern.
Next: Delete old govmap.py and update imports.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-25 13:18:19 +03:00 |
|
Nitzan Pomerantz
|
b565c7fb08
|
Phase 3: Create govmap package structure (step 1/3)
Created modular package structure:
- validators.py: Input validation functions (3 functions, ~100 lines)
- utils.py: Helper utilities (3 functions, ~140 lines)
- filters.py: Deal filtering logic (1 main function, ~140 lines)
- statistics.py: Statistical calculations (2 functions, ~130 lines)
All functions extracted from monolithic govmap.py as pure functions.
Next: Extract market analysis and create client.py with API methods.
Part of Phase 3 refactoring - no functionality changes yet.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-25 13:06:48 +03:00 |
|