PageRenderTime 46ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/logilab-astng-0.23.1/logilab_astng.egg-info/PKG-INFO

#
#! | 64 lines | 46 code | 18 blank | 0 comment | 0 complexity | 49f321202062dda995d843710eb1b404 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. Metadata-Version: 1.0
  2. Name: logilab-astng
  3. Version: 0.23.1
  4. Summary: rebuild a new abstract syntax tree from Python's ast
  5. Home-page: http://www.logilab.org/project/logilab-astng
  6. Author: Logilab
  7. Author-email: python-projects@lists.logilab.org
  8. License: LGPL
  9. Description: ASTNG
  10. =====
  11. What's this ?
  12. -------------
  13. The aim of this module is to provide a common base representation of
  14. python source code for projects such as pychecker, pyreverse,
  15. pylint... Well, actually the development of this library is essentially
  16. governed by pylint's needs.
  17. It provides a compatible representation which comes from the `_ast` module.
  18. It rebuilds the tree generated by the builtin _ast module by recursively
  19. walking down the AST and building an extended ast (let's call it astng ;). The
  20. new node classes have additional methods and attributes for different usages.
  21. They include some support for static inference and local name scopes.
  22. Furthermore, astng builds partial trees by inspecting living objects.
  23. Main modules are:
  24. * `bases`, `node_classses` and `scoped_nodes` contain the classes for the
  25. different type of nodes of the tree.
  26. * the `manager` contains a high level object to get astng trees from
  27. source files and living objects. It maintains a cache of previously
  28. constructed tree for quick access
  29. Installation
  30. ------------
  31. Extract the tarball, jump into the created directory and run ::
  32. python setup.py install
  33. For installation options, see ::
  34. python setup.py install --help
  35. If you have any questions, please mail the
  36. python-project@lists.logilab.org mailing list for support. See
  37. http://lists.logilab.org/mailman/listinfo/python-projects for
  38. subscription information and archives.
  39. Test
  40. ----
  41. Tests are in the 'test' subdirectory. To launch the whole tests suite
  42. at once, you may use the 'pytest' utility from logilab-common (simply
  43. type 'pytest' from within this directory) or if you're running python
  44. >= 2.7, using discover, for instance::
  45. python -m unittest discover -p "unittest*.py"
  46. Platform: UNKNOWN