METADATA 4.3 KB

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