Intuitive APIs
Write code that reads like natural language, without worrying about abstract syntax trees or parser internals. Graph-sitter provides high-level APIs that map directly to the transformations developers want to perform:No Sharp Edges
Focus on your high-level intent while Graph-sitter handles the intricate details. Graph-sitter operations handle the edge cases - it should be hard to break lint.Performance through Pre-Computation
Graph-sitter frontloads as much as possible to enable fast, efficient transformations. It is built with the insight that each codebase only needs to be parsed once per commit.Learn more about parsing the codebase graph in the How it
Works guide.
Python-First Composability
Graph-sitter embraces Python’s strength as a “glue language” - its ability to seamlessly integrate different tools and APIs. This makes it natural to compose Graph-sitter with your existing toolchain:- Build complex transforms by combining simpler operations
- Integrate Graph-sitter with your existing tools (linters, type checkers, test frameworks, AI tools)
Python’s rich ecosystem makes it ideal for code manipulation tasks. Graph-sitter is
designed to be one tool in your toolbox, not a replacement for your entire
workflow.