Developer Builds Python Static Analysis Tool Using Only Standard Library

A developer created Proofline, a pure Python static analysis tool, as an entry for the Zero Dependency Hackathon 2026, using no third-party libraries whatsoever. The tool parses Python code via the built-in AST module to map functions, classes, call graphs, and file changes, aiming to assess the potential impact of code modifications. Instead of GitPython, it detects file changes using SHA-256 hashing via pathlib and hashlib, and replaces NetworkX with a simple adjacency list to model function call relationships. A built-in HTTP server with Server-Sent Events powers the dashboard, while a custom Git pre-commit hook automates verification without the pre-commit package. The project highlighted key limitations of static analysis, particularly around dynamic dispatch patterns like getattr calls, which AST alone cannot fully resolve at runtime.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in