Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

164 linhas
6.4 KiB

  1. Metadata-Version: 2.4
  2. Name: lxml
  3. Version: 6.0.0
  4. Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
  5. Home-page: https://lxml.de/
  6. Author: lxml dev team
  7. Author-email: lxml@lxml.de
  8. Maintainer: lxml dev team
  9. Maintainer-email: lxml@lxml.de
  10. License: BSD-3-Clause
  11. Project-URL: Source, https://github.com/lxml/lxml
  12. Project-URL: Bug Tracker, https://bugs.launchpad.net/lxml
  13. Classifier: Development Status :: 5 - Production/Stable
  14. Classifier: Intended Audience :: Developers
  15. Classifier: Intended Audience :: Information Technology
  16. Classifier: License :: OSI Approved :: BSD License
  17. Classifier: Programming Language :: Cython
  18. Classifier: Programming Language :: Python :: 3
  19. Classifier: Programming Language :: Python :: 3.8
  20. Classifier: Programming Language :: Python :: 3.9
  21. Classifier: Programming Language :: Python :: 3.10
  22. Classifier: Programming Language :: Python :: 3.11
  23. Classifier: Programming Language :: Python :: 3.12
  24. Classifier: Programming Language :: Python :: 3.13
  25. Classifier: Programming Language :: C
  26. Classifier: Operating System :: OS Independent
  27. Classifier: Topic :: Text Processing :: Markup :: HTML
  28. Classifier: Topic :: Text Processing :: Markup :: XML
  29. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  30. Requires-Python: >=3.8
  31. License-File: LICENSE.txt
  32. License-File: LICENSES.txt
  33. Provides-Extra: source
  34. Provides-Extra: cssselect
  35. Requires-Dist: cssselect>=0.7; extra == "cssselect"
  36. Provides-Extra: html5
  37. Requires-Dist: html5lib; extra == "html5"
  38. Provides-Extra: htmlsoup
  39. Requires-Dist: BeautifulSoup4; extra == "htmlsoup"
  40. Provides-Extra: html-clean
  41. Requires-Dist: lxml_html_clean; extra == "html-clean"
  42. Dynamic: author
  43. Dynamic: author-email
  44. Dynamic: classifier
  45. Dynamic: description
  46. Dynamic: home-page
  47. Dynamic: license
  48. Dynamic: license-file
  49. Dynamic: maintainer
  50. Dynamic: maintainer-email
  51. Dynamic: project-url
  52. Dynamic: provides-extra
  53. Dynamic: requires-python
  54. Dynamic: summary
  55. lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries.
  56. It provides safe and convenient access to these libraries using the
  57. ElementTree API.
  58. It extends the ElementTree API significantly to offer support for XPath,
  59. RelaxNG, XML Schema, XSLT, C14N and much more.
  60. To contact the project, go to the `project home page <https://lxml.de/>`_
  61. or see our bug tracker at https://launchpad.net/lxml
  62. In case you want to use the current in-development version of lxml,
  63. you can get it from the github repository at
  64. https://github.com/lxml/lxml . Note that this requires Cython to
  65. build the sources, see the build instructions on the project home page.
  66. After an official release of a new stable series, bug fixes may become available at
  67. https://github.com/lxml/lxml/tree/lxml-6.0 .
  68. Running ``pip install https://github.com/lxml/lxml/archive/refs/heads/lxml-6.0.tar.gz``
  69. will install the unreleased branch state as soon as a maintenance branch has been established.
  70. Note that this requires Cython to be installed at an appropriate version for the build.
  71. 6.0.0 (2025-06-26)
  72. ==================
  73. Features added
  74. --------------
  75. * GH#463: ``lxml.html.diff`` is faster and provides structurally better diffs.
  76. Original patch by Steven Fernandez.
  77. * GH#405: The factories ``Element`` and ``ElementTree`` can now be used in type hints.
  78. * GH#448: Parsing from ``memoryview`` and other buffers is supported to allow zero-copy parsing.
  79. * GH#437: ``lxml.html.builder`` was missing several HTML5 tag names.
  80. Patch by Nick Tarleton.
  81. * GH#458: ``CDATA`` can now be written into the incremental ``xmlfile()`` writer.
  82. Original patch by Lane Shaw.
  83. * A new parser option ``decompress=False`` was added that controls the automatic
  84. input decompression when using libxml2 2.15.0 or later. Disabling this option
  85. by default will effectively prevent decompression bombs when handling untrusted
  86. input. Code that depends on automatic decompression must enable this option.
  87. Note that libxml2 2.15.0 was not released yet, so this option currently has no
  88. effect but can already be used.
  89. * The set of compile time / runtime supported libxml2 feature names is available as
  90. ``etree.LIBXML_COMPILED_FEATURES`` and ``etree.LIBXML_FEATURES``.
  91. This currently includes
  92. ``catalog``, ``ftp``, ``html``, ``http``, ``iconv``, ``icu``,
  93. ``lzma``, ``regexp``, ``schematron``, ``xmlschema``, ``xpath``, ``zlib``.
  94. Bugs fixed
  95. ----------
  96. * GH#353: Predicates in ``.find*()`` could mishandle tag indices if a default namespace is provided.
  97. Original patch by Luise K.
  98. * GH#272: The ``head`` and ``body`` properties of ``lxml.html`` elements failed if no such element
  99. was found. They now return ``None`` instead.
  100. Original patch by FVolral.
  101. * Tag names provided by code (API, not data) that are longer than ``INT_MAX``
  102. could be truncated or mishandled in other ways.
  103. * ``.text_content()`` on ``lxml.html`` elements accidentally returned a "smart string"
  104. without additional information. It now returns a plain string.
  105. * LP#2109931: When building lxml with coverage reporting, it now disables the ``sys.monitoring``
  106. support due to the lack of support in https://github.com/nedbat/coveragepy/issues/1790
  107. Other changes
  108. -------------
  109. * Support for Python < 3.8 was removed.
  110. * Parsing directly from zlib (or lzma) compressed data is now considered an optional
  111. feature in lxml. It may get removed from libxml2 at some point for security reasons
  112. (compression bombs) and is therefore no longer guaranteed to be available in lxml.
  113. As of this release, zlib support is still normally available in the binary wheels
  114. but may get disabled or removed in later (x.y.0) releases. To test the availability,
  115. use ``"zlib" in etree.LIBXML_FEATURES``.
  116. * The ``Schematron`` class is deprecated and will become non-functional in a future lxml version.
  117. The feature will soon be removed from libxml2 and stop being available.
  118. * GH#438: Wheels include the ``arm7l`` target.
  119. * GH#465: Windows wheels include the ``arm64`` target.
  120. Patch by Finn Womack.
  121. * Binary wheels use the library versions libxml2 2.14.4 and libxslt 1.1.43.
  122. Note that this disables direct HTTP and FTP support for parsing from URLs.
  123. Use Python URL request tools instead (which usually also support HTTPS).
  124. To test the availability, use ``"http" in etree.LIBXML_FEATURES``.
  125. * Windows binary wheels use the library versions libxml2 2.11.9, libxslt 1.1.39 and libiconv 1.17.
  126. They are now based on VS-2022.
  127. * Built using Cython 3.1.2.
  128. * The debug methods ``MemDebug.dump()`` and ``MemDebug.show()`` were removed completely.
  129. libxml2 2.13.0 discarded this feature.