{"slug": "contextor-spare-llm-tokens-required-for-full-structural-analysis-of-python-repo", "title": "Contextor-spare LLM tokens required for full structural analysis of Python repo", "summary": "Contextor, a tool that converts Python repositories into structured JSON reports for LLMs, released a major update featuring a multi-threaded scanning engine that processes files concurrently across CPU cores, delivering a multi-fold increase in scanning speed. The update also adds a live threads indicator, an event loop throttle that limits GUI redraws to 10 FPS to free CPU resources, and a 'Stop' button to abort analysis. Bug fixes include progress bar jitter and legacy code cleanup.", "body_md": "Contextor transforms complex Python repositories into structured architectural context that both developers and Large Language Models (LLMs) can understand. It generates JSON reports - you can give access to the path of Output json reports folder to LLM working directly in your repo. This way you spare tokens required by LLM for full structural analysis of the code base.\n\n🚀 Release Notes - Multi-Threading Engine, Performance Boost & UI/UX Upgrade\n\n⚡ Performance & Architecture\n\nMulti-Threaded Scanning Engine: Rebuilt the core repository indexing and parsing pipeline to utilize true multi-threading. The application now processes multiple files concurrently across available CPU cores, resulting in a monumental, multi-fold increase in scanning speed compared to the previous single-threaded approach.\n\nLive Threads Indicator: Added a real-time CPU/Threads indicator to the main GUI dashboard, providing immediate visual feedback on current thread utilization and concurrent processing activity during analysis.\n\nEvent Loop Throttling (Speed Unlocker): Fixed a critical bottleneck where the new multi-threaded engine was flooding the GUI with thousands of redraw requests. By implementing a 10 FPS rate-limiter for background progress updates, CPU resources are now fully dedicated to backend processing rather than rendering, unlocking the true speed of the concurrent engine.\n\n✨ Features & Enhancements:\n\nConsole Window Management: Contextor will now boot up purely as a graphical application on Windows without leaving a lingering CMD terminal window in the background.\n\n\"Open CMD Log\" Toggle: Added a new \"Open CMD log\" checkbox directly in the main GUI header. This allows you to smoothly toggle the visibility of the backend terminal on and off whenever you need to inspect raw execution logs.\n\nAggressive Cleanup on Exit: Closing the main GUI will now force an immediate, clean termination of all underlying threads and processes (os._exit), preventing zombie processes and stray terminal windows from hanging in the background.\n\nProgress Percentage Readability: Repositioned the completion percentage indicator ([XX.X%]) to sit cleanly next to the ETA timer instead of jumping around at the end of file paths.\n\n\"Stop\" Button: aborting the ongoing process of analysis.\n\n🐛 Bug Fixes & Stability:\n\nProgress Bar Jitter Fix: Deeply nested file paths shown during analysis are now cleanly truncated\n\n(e.g. .../module/file.py). Furthermore, the UI labels have been given fixed spatial widths, completely fixing the annoying bug where the main window's right edge would frantically stretch and shrink to accommodate long paths.\n\nLegacy Code Cleanup: Removed obsolete and broken fallback scripts from the main.py entry point that were previously causing erratic application behaviors and syntax errors.", "url": "https://wpnews.pro/news/contextor-spare-llm-tokens-required-for-full-structural-analysis-of-python-repo", "canonical_source": "https://github.com/WojciechJarka/Contextor/releases/tag/v.1.0.4", "published_at": "2026-07-31 17:38:30+00:00", "updated_at": "2026-07-31 17:52:14.510555+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["Contextor"], "alternates": {"html": "https://wpnews.pro/news/contextor-spare-llm-tokens-required-for-full-structural-analysis-of-python-repo", "markdown": "https://wpnews.pro/news/contextor-spare-llm-tokens-required-for-full-structural-analysis-of-python-repo.md", "text": "https://wpnews.pro/news/contextor-spare-llm-tokens-required-for-full-structural-analysis-of-python-repo.txt", "jsonld": "https://wpnews.pro/news/contextor-spare-llm-tokens-required-for-full-structural-analysis-of-python-repo.jsonld"}}