astroid 3.3.5
0
An abstract syntax tree for Python with inference support.
Contents
An abstract syntax tree for Python with inference support.
Stars: 526, Watchers: 526, Forks: 274, Open Issues: 180The pylint-dev/astroid
repo was created 8 years ago and the last code push was 3 days ago.
The project is popular with 526 github stars!
How to Install astroid
You can install astroid using pip
pip install astroid
or add it to a project with poetry
poetry add astroid
Package Details
- Author
- None
- License
- LGPL-2.1-or-later
- Homepage
- None
- PyPi:
- https://pypi.org/project/astroid/
- GitHub Repo:
- https://github.com/PyCQA/astroid
Classifiers
- Software Development/Libraries/Python Modules
- Software Development/Quality Assurance
- Software Development/Testing
Related Packages
Errors
A list of common astroid errors.
Code Examples
Here are some astroid
code examples and snippets.
GitHub Issues
The astroid package has 180 open issues on GitHub
- Get argument infos from method descriptors
- Fix crash on inference of
__dict__.items()
of an imported module - Little script to prevent mypy regression before we're able to activate mypy in pre-commit
- AstroidBuilder.add_from_names_to_locals() should use Module.wildcard_import_names(), not Module.public_names()
- Should astroid adhere to
ast
's module API ? - Fix inference of
self
in a list or tuple within bin. ops. - Changed NodeNG.toline to use end_lineno when it is available
- Decorator.toline is off by 1
- Bug: ImportFrom.modname is not None on relative imports
- Provide base visitor classes
- Provide actual literal_eval() function. Adapted from standard library's.
- Easy create nodes without having to call postinit()
- Investigate use of
lru_cache
on methods - Provide base
NodeVisitor
class - Impossible to get correct line number for the docstrings