Created CompanyAnalyzer class that orchestrates the complete pipeline: 1. Retrieves patents via SERP API 2. Downloads and parses PDFs 3. Minimizes content (removes bloat) 4. Analyzes portfolio with LLM 5. Returns performance estimation Features: - Full company portfolio analysis - Single patent analysis support - Robust error handling (continues on partial failures) - Progress logging for user visibility Updated main.py with clean example usage demonstrating the high-level API. Added comprehensive test suite (7 tests) covering: - Full pipeline integration - Error handling at each stage - Single patent analysis - Edge cases (no patents, all failures) All 26 tests passing. This completes the core functionality for patent-based company performance estimation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| SPARC | ||
| tests | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| main.py | ||
| README.md | ||
| requirements.txt | ||
SPARC
Name
Semiconductor Patent & Analytics Report Core
Description
Installation
NixOS Installation
nix develop to build and configure nix dev environment
Usage
docker compose up -d
Roadmap
- Retrive
publicationIDfrom SERP API - Retrive data from Google's patent API based on those
publicationID's- This may not be needed, looking to parse the patents based soley on the pdf retrived from SERP
- Wrap this into a python fastAPI, then bundle with docker
License
For open source projects, say how it is licensed.
Project status
Heavy development for the limited time available to me