GithubHelp home page GithubHelp logo

souravsingh / astroid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pylint-dev/astroid

0.0 2.0 0.0 13.04 MB

A common base representation of python source code for pylint and other projects

License: GNU Lesser General Public License v2.1

PowerShell 0.08% Python 99.82% Makefile 0.10%

astroid's Introduction

Astroid

image

AppVeyor Build Status

image

Documentation Status

image

What's this?

The aim of this module is to provide a common base representation of python source code. It is currently the powering pylint's capabilities.

It provides a compatible representation which comes from the _ast module. It rebuilds the tree generated by the builtin _ast module by recursively walking down the AST and building an extended ast. The new node classes have additional methods and attributes for different usages. They include some support for static inference and local name scopes. Furthermore, astroid can also build partial trees by inspecting living objects.

Installation

Extract the tarball, jump into the created directory and run:

pip install .

If you want to do an editable installation, you can run:

pip install -e .

If you have any questions, please mail the [email protected] mailing list for support. See http://mail.python.org/mailman/listinfo/code-quality for subscription information and archives.

Python Versions

astroid 2.0 is currently available for Python 3 only. If you want Python 2 support, older versions of astroid will still supported until 2020.

Test

Tests are in the 'test' subdirectory. To launch the whole tests suite, you can use either tox or `pytest`:

tox
pytest astroid

astroid's People

Contributors

adimasci avatar asottile avatar awhetter avatar brycepg avatar ceridwen avatar cpennington avatar dashea avatar degustaf avatar dimp-gh avatar eevee avatar flying-sheep avatar gurneyalex avatar hippo91 avatar hugovk avatar ioanatia avatar jcristau avatar living180 avatar lorenzph avatar lothiraldan avatar mariocj89 avatar nchauvat avatar nickdrozd avatar obsc avatar pcmanticore avatar radowit avatar rogalski avatar sthenault avatar the-compiler avatar tmarek-google avatar torstenmarek avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.