METADATA 4.6 KB

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