Metadata-Version: 2.4
Name: lxml
Version: 7.0.0a1
Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
Home-page: https://lxml.de/
Author: lxml dev team
Author-email: lxml@lxml.de
Maintainer: lxml dev team
Maintainer-email: lxml@lxml.de
License: BSD-3-Clause
Project-URL: Source, https://github.com/lxml/lxml
Project-URL: Bug Tracker, https://bugs.launchpad.net/lxml
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Programming Language :: Cython
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: C
Classifier: Operating System :: OS Independent
Classifier: Topic :: Text Processing :: Markup :: HTML
Classifier: Topic :: Text Processing :: Markup :: XML
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
License-File: LICENSE.txt
License-File: LICENSES.txt
Provides-Extra: source
Provides-Extra: cssselect
Requires-Dist: cssselect>=0.7; extra == "cssselect"
Provides-Extra: html5
Requires-Dist: html5lib; extra == "html5"
Provides-Extra: htmlsoup
Requires-Dist: BeautifulSoup4; extra == "htmlsoup"
Provides-Extra: html-clean
Requires-Dist: lxml_html_clean; extra == "html-clean"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: maintainer
Dynamic: maintainer-email
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-python
Dynamic: summary

lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries.
It provides safe and convenient access to these libraries using the
ElementTree API.

It extends the ElementTree API significantly to offer support for XPath,
RelaxNG, XML Schema, XSLT, C14N and much more.

To contact the project, go to the `project home page <https://lxml.de/>`_
or see our bug tracker at https://launchpad.net/lxml

In case you want to use the current in-development version of lxml,
you can get it from the github repository at
https://github.com/lxml/lxml .  Note that this requires Cython to
build the sources, see the build instructions on the project home page.

7.0.0a1 (2026-05-29)
====================

Features added
--------------

* GH#477,LP#2111289: Experimental support for freethreading Python is enabled
  in Python 3.14t and later.

* GH#466: The shared parser name dict is now local to a parser (as opposed to global),
  which allows to control its lifetime and cross-document usage more easily.
  It is now also unbounded in size if the ``huge_tree=True`` option is provided.

* The default chunk size for reading from file-likes in ``iterparse()`` was increased
  from 32 KiB to 64 KiB and is now configurable with a new ``chunk_size`` argument.

* Writing to Python file objects minimises data copying by passing buffers around.

* GH#502: Predicate evaluation in ``ElementPath`` (``.find*()``) is faster.

* HTML diffing is faster, following optimisations in CPython 3.15.

* If multiple Python exceptions get raised from within an lxml operation, they no longer
  overwrite old ones but get stacked in the exception context of the latest exception.

Bugs fixed
----------

* Reading from file-like objects that start with a UTF-32 BOM failed to detect the BOM.

Other changes
-------------

* Support for Python 3.8 was removed.  Python 3.9 will continue to be supported for
  several years due to its usage in LTS Linux distributions.

* Usage on PyPy can currently crash due to the Freethreading Python changes.
  This is expected to get fixed in the further releases towards 7.0 final.

* Some internal adaptations were made for libxml2 2.14.x and 2.15.x.

* The ``xmlDict...`` C functions of libxml2 are now declared in ``tree.pxd``.
  They remain in ``xmlparser.pxd`` for legacy reasons but Cython code that uses them
  should migrate the import to ``tree.pxd``.

* The list of software licenses in LICENSES.txt was clarified and updated
  to match the actual set of software being shipped.

* Built using Cython 3.2.5.


