METADATA 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Metadata-Version: 2.1
  2. Name: astroid
  3. Version: 2.9.3
  4. Summary: An abstract syntax tree for Python with inference support.
  5. Home-page: https://github.com/PyCQA/astroid
  6. Author: Python Code Quality Authority
  7. Author-email: code-quality@python.org
  8. License: LGPL-2.1-or-later
  9. Project-URL: Bug tracker, https://github.com/PyCQA/astroid/issues
  10. Project-URL: Discord server, https://discord.gg/Egy6P8AMB5
  11. Keywords: static code analysis,python,abstract syntax tree
  12. Platform: UNKNOWN
  13. Classifier: Development Status :: 6 - Mature
  14. Classifier: Environment :: Console
  15. Classifier: Intended Audience :: Developers
  16. Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
  17. Classifier: Operating System :: OS Independent
  18. Classifier: Programming Language :: Python
  19. Classifier: Programming Language :: Python :: 3
  20. Classifier: Programming Language :: Python :: 3 :: Only
  21. Classifier: Programming Language :: Python :: 3.6
  22. Classifier: Programming Language :: Python :: 3.7
  23. Classifier: Programming Language :: Python :: 3.8
  24. Classifier: Programming Language :: Python :: 3.9
  25. Classifier: Programming Language :: Python :: 3.10
  26. Classifier: Programming Language :: Python :: Implementation :: CPython
  27. Classifier: Programming Language :: Python :: Implementation :: PyPy
  28. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  29. Classifier: Topic :: Software Development :: Quality Assurance
  30. Classifier: Topic :: Software Development :: Testing
  31. Requires-Python: >=3.6.2
  32. Description-Content-Type: text/x-rst
  33. License-File: LICENSE
  34. Requires-Dist: lazy-object-proxy (>=1.4.0)
  35. Requires-Dist: wrapt (<1.14,>=1.11)
  36. Requires-Dist: setuptools (>=20.0)
  37. Requires-Dist: typed-ast (<2.0,>=1.4.0) ; implementation_name == "cpython" and python_version < "3.8"
  38. Requires-Dist: typing-extensions (>=3.10) ; python_version < "3.10"
  39. Astroid
  40. =======
  41. .. image:: https://coveralls.io/repos/github/PyCQA/astroid/badge.svg?branch=main
  42. :target: https://coveralls.io/github/PyCQA/astroid?branch=main
  43. :alt: Coverage badge from coveralls.io
  44. .. image:: https://readthedocs.org/projects/astroid/badge/?version=latest
  45. :target: http://astroid.readthedocs.io/en/latest/?badge=latest
  46. :alt: Documentation Status
  47. .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
  48. :target: https://github.com/ambv/black
  49. .. image:: https://results.pre-commit.ci/badge/github/PyCQA/astroid/main.svg
  50. :target: https://results.pre-commit.ci/latest/github/PyCQA/astroid/main
  51. :alt: pre-commit.ci status
  52. .. |tidelift_logo| image:: https://raw.githubusercontent.com/PyCQA/astroid/main/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White.png
  53. :width: 75
  54. :height: 60
  55. :alt: Tidelift
  56. .. list-table::
  57. :widths: 10 100
  58. * - |tidelift_logo|
  59. - Professional support for astroid is available as part of the
  60. `Tidelift Subscription`_. Tidelift gives software development teams a single source for
  61. purchasing and maintaining their software, with professional grade assurances
  62. from the experts who know it best, while seamlessly integrating with existing
  63. tools.
  64. .. _Tidelift Subscription: https://tidelift.com/subscription/pkg/pypi-astroid?utm_source=pypi-astroid&utm_medium=referral&utm_campaign=readme
  65. What's this?
  66. ------------
  67. The aim of this module is to provide a common base representation of
  68. python source code. It is currently the library powering pylint's capabilities.
  69. It provides a compatible representation which comes from the `_ast`
  70. module. It rebuilds the tree generated by the builtin _ast module by
  71. recursively walking down the AST and building an extended ast. The new
  72. node classes have additional methods and attributes for different
  73. usages. They include some support for static inference and local name
  74. scopes. Furthermore, astroid can also build partial trees by inspecting living
  75. objects.
  76. Installation
  77. ------------
  78. Extract the tarball, jump into the created directory and run::
  79. pip install .
  80. If you want to do an editable installation, you can run::
  81. pip install -e .
  82. If you have any questions, please mail the code-quality@python.org
  83. mailing list for support. See
  84. http://mail.python.org/mailman/listinfo/code-quality for subscription
  85. information and archives.
  86. Documentation
  87. -------------
  88. http://astroid.readthedocs.io/en/latest/
  89. Python Versions
  90. ---------------
  91. astroid 2.0 is currently available for Python 3 only. If you want Python 2
  92. support, use an older version of astroid (though note that these versions
  93. are no longer supported).
  94. Test
  95. ----
  96. Tests are in the 'test' subdirectory. To launch the whole tests suite, you can use
  97. either `tox` or `pytest`::
  98. tox
  99. pytest astroid