pyastgrep 1.3.2

Creator: railscoderz

Last updated:

Add to Cart

Description:

pyastgrep 1.3.2

A command-line utility for grepping Python files using XPath syntax (or CSS
selectors) against the Python AST (Abstract Syntax Tree).
In other words, this allows you to search Python code against specific syntax
elements (function definitions, arguments, assignments, variables etc), instead
of grepping for string matches.
The interface and behaviour is designed to match grep and ripgrep as far as it
makes sense to do so.
See the documentation for more
information, or the docs folder.

History
This project was forked from https://github.com/hchasestevens/astpath by H.
Chase Stevens. Main changes:

Added a test suite
Many bugs fixed
Significant rewrite of parts of code
Changes to match grep/ripgrep, including formatting and automatic filtering.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.