srgn 0.14.2

A grep-like tool which understands source code syntax and allows for manipulation in addition to search
Documentation
1
2
def baz(bar: int) -> int:
    return bar + 1  # Some sample code