brandondocusen/CntxtPY
A discovery and compression tool for your Python codebase. Creates a knowledge graph for a LLM context window, efficiently outlining your project | Code structure visualization | LLM Context Window Efficiency | Static analysis for AI | Large Language Model tooling #LLM #AI #Python #CodeAnalysis #ContextWindow #DeveloperTools
This tool helps Python developers understand and document their codebases more efficiently, especially when using Large Language Models (LLMs). It takes a Python project as input and creates a "knowledge graph" that details module relationships, class hierarchies, and function signatures. The output is a highly compressed text file or JSON that provides an LLM with a concise, structured overview of the codebase, allowing the LLM to analyze, explain, or refactor code without needing to process the entire project.
111 stars. No commits in the last 6 months.
Use this if you are a Python developer who wants to leverage LLMs to understand, document, or generate insights about your codebase more effectively, without exceeding LLM context window limits.
Not ideal if you are not a Python developer or if you need an interactive, real-time code analysis tool integrated directly into your IDE.
Stars
111
Forks
12
Language
Python
License
MIT
Category
Last pushed
Dec 05, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/brandondocusen/CntxtPY"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
cyanheads/repo-map
repo-map generates LLM-enhanced summaries and analysis of software repositories, providing...
kirill-markin/repo-to-text
Convert a repository structure and its contents into a single text file, including the tree...
TonyStef/Grov
Grov automatically captures the context from your private AI sessions and syncs it to a shared...
zebangeth/DirPrint
Print/export your project's directory structure and code | Simplify your code sharing with...
abinthomasonline/repo2txt
Web-based tool converts GitHub repository contents into a single formatted text file