Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
awesome-python-ast
Python tools, libraries and resources about AST (as in Abstract Syntax Trees)
https://github.com/gyermolenko/awesome-python-ast
Last synced: about 10 hours ago
JSON representation
-
Online resources
-
Linters
- flake8 - glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of code
- mccabe - McCabe complexity checker
- pycodestyle - former `pep8`. Check your Python code against some of the style conventions in PEP 8.
- pydocstyle - docstring style checker
- pyflakes - A simple program which checks Python source files for errors.
- pylint - code analysis tool which looks for programming errors, helps enforcing a coding standard, sniffs for code smells and offers simple refactoring suggestions.
-
Articles
-
Tools
- astmonkey - Set of tools to play with Python AST
- astor - AST read/write
- astpath - A command-line search utility for Python ASTs using XPath syntax.
- astpretty - Pretty print the output of python stdlib `ast.parse`.
- astroid - A common base representation of python source code for pylint and other projects
- astsearch - Search through ASTs using XPath syntax
- astunparse - a factored out version of unparse found in the Python source distribution
- baron - a Full Syntax Tree (FST) library
- parso - parser that supports error recovery and round-trip parsing
- redbaron - Bottom-up approach to refactoring in python
- show_ast - An IPython notebook plugin for visualizing ASTs.
- tokenize-rt - A wrapper around the stdlib `tokenize` which roundtrips.
-
Unused code detection
-
Formatters
-
Import sorters
- isort - sort imports alphabetically, and automatically separated into sections
- reorder_python_imports - reordering python imports
-
Other
- add-trailing-comma - A tool (and pre-commit hook) to automatically add trailing commas to calls and literals.
- pyupgrade - A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
- yesqa - A tool (and pre-commit hook) to automatically remove unnecessary # noqa comments
-
Online tools
Programming Languages
Categories
Sub Categories
Keywords
python
17
linter
7
pre-commit
4
ast
4
formatter
4
pep8
3
python3
2
refactoring
2
static-code-analysis
2
linter-plugin
2
linter-flake8
2
flake8-plugin
2
codeformatter
2
flake8
2
static-analysis
2
closember
2
ipython
1
ipynb
1
developer-tools
1
parser
1
inference-engine
1
isort
1
pretty-print
1
xpath-syntax
1
xpath
1
search
1
python-ast
1
metaprogramming
1
command-line-tool
1
python-utility
1
tokenize
1
sorting-imports
1
code-quality
1
auto-formatter
1
docstrings
1
styleguide
1
style-guide
1
mccabe
1
flake8-extensions
1
complexity-analysis
1
complexity
1
google
1
yapf
1
pre-commit-hook
1
gofmt
1
code
1
autopep8
1
cleaner
1
cli
1
dead-code-removal
1