r/madeinpython • u/NOX2711 • 10h ago
i built a python tool to make understanding codebases easier
working on a large codebase can get confusing pretty quickly. you end up jumping between files, tracing dependencies, figuring out how things connect, and trying to understand what might break when you change something.
so i built context forge, a local-first python cli that helps developers understand and navigate python codebases.
it analyzes your repository and stores information about its structure, symbols, and dependencies in sqlite, so you can reuse that information instead of starting from scratch every time.
some of its main features include:
- repository analysis — explore files, symbols, dependencies, and code relationships.
- context and memory — persist repository information and retrieve relevant context when working on a task.
- architecture analysis — understand how different parts of a project connect and identify structural issues.
- change impact analysis — investigate what could be affected before modifying code.
- pre/post-change verification — inspect the project before making changes and check the results afterward.
i wanted the tool to be deterministic and local-first rather than depending on an llm to figure everything out. getting caching, persistence, and analysis reliability right took quite a bit of work, and the project went through several iterations before reaching its current release.
this started as my project for stardance, a ysws event by hack club. building it taught me a lot about python, software architecture, testing, and the difference between adding features and making them reliable.
it's now open source, and i'd like to get it into the hands of developers who might actually find it useful.
github: https://github.com/vxyzln/context_forge
pypi: https://pypi.org/project/context-forge-local/1.0.1/
to try it, install it with:
uv tool install context-forge-local
then run cf --help to explore the commands.
i'd appreciate a star if you find it interesting, but i'm especially interested in honest feedback. if you've worked on larger python projects, what would you want a tool like this to do better? IF u like this , Please upvote it.
This was made as a Part of a YSWS event Stardance by Hack Club. Stardance Project