PackageTrack Sign in Track my project

lxml-stubs

Type annotations for the lxml package

0.5.1 4.5M downloads/mo #2283 most downloaded on PyPI lxml/lxml-stubs

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Release timing varies

gaps range from 5 weeks to 1.9 years

This project publishes no release notes

the list below is its commits, not an announcement

Nothing withdrawn

no release was ever pulled

6 years old

7 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · May 2020 to Jan 2024
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 0.5.1 10 Jan 2024
    Commits, not release notes

    This project publishes no release notes. Between 0.4.0 and 0.5.1 there were 27 commits, 26 of them substantive:

    • Add parse method for _ElementTree class (GH-67)
    • Improve "parser=" and return annotations of fromstring() and parse() (GH-64)
    • Use alias for parser arguments to allow both XML and HTML parsers.
    • Add _ElementTree.iterfind() and _ElementTree.getelementpath() (GH-69)
    • Fix return type of _Element.iter* methods (GH-70)
    • Fix argument order in iter*() methods to mark the keyword-only arguments as such.
    • Update CI workflows.
    • _Attrib.pop() does not require a default argument (GH-80)
    • Fix type of _TagSelector: also suports iterables of tag selectors.
    • Reformat
    • Remove testing (and support) for Py3.6.
    • Fix base Python for tox after switching to Py3.10 in CI.
    • Update test dependencies (GH-87)
    • Ensure modern mypy versions are used for testing (GH-89)
    • Use recursion in the _TagSelector Collection[] hint (GH-88)
    • Add stubs for XMLPullParser and HTMLPullParser (GH-84)
    • Include test files in sdist.
    • Add missing package metadata.
    • etree._Element.setitem() (GH-96)
    • mark two parser arguments as being optional (GH-94)

    …and 6 more.

  2. 0.4.0 04 Mar 2022
    Commits, not release notes

    This project publishes no release notes. Between 0.3.1 and 0.4.0 there were 17 commits, 16 of them substantive:

    • Add xinclude method to _ElementTree (GH-45)
    • Change _tag argument type of Element, SubElement and makeelement to _TagName (GH-44)
    • Add etree.iselement() (GH-46)
    • etree.XPath: Fix namespaces and extensions type and add path attribute (GH-47)
    • Add XPathEvaluator and ETXPath (GH-48)
    • Add .find*() methods to _ElementTree class and fix a parameter name.
    • Add extend, index, keys and values methods to _Element (GH-49)
    • Add dedicated mypy test job and start testing with Python 3.10 (GH-39)
    • Add validation methods to _Validator and add it as XMLSchema base class (GH-50)
    • Add a minimal config for Pyright to suppress warnings about "private" names starting with underscores, e.g. "_Element" (GH-53)
    • Parametrise the etree.tostring() encoding tests (GH-54)
    • Add overload for findtext() that sets the return type from the default value (GH-55)
    • Make sure that all CI tests run through, even if one fails.
    • Unify namespace related arguments to allow changing them in one place (GH-56)
    • Add Pathlike as valid type for file arguments (GH-60)
    • Add "getattr()" method to ObjectifiedElement to support arbitrary attribute lookups.
  3. 0.3.1 29 Jan 2022
    Commits, not release notes

    This project publishes no release notes. Between 0.3.0 and 0.3.1 there were 4 commits, 4 of them substantive:

    • Clean up the readme.
    • Fix declaration problems found by mypy.
    • Change iterfind argument "namespace" to "namespaces" (GH-41)
    • Set version to 0.3.1.
  4. 0.3.0 21 Nov 2021
    Commits, not release notes

    This project publishes no release notes. Between 0.2.0 and 0.3.0 there were 8 commits, 7 of them substantive:

    • test-data: Update for mypy 0.900 double quotes (GH-35)
    • Increase version number.
    • Add DocInfo class and several missing properties.
    • Add "position" property to ParseError exception (GH-37)
    • Add missing whitespace.
    • Adds etree._Element.iterancestors, -descendants, -siblings & -text (GH-38)
    • Add Makefile for wheel building.
  5. 0.2.0 21 May 2021
    Commits, not release notes

    This project publishes no release notes. Between 0.1.1 and 0.2.0 there were 36 commits, 36 of them substantive:

    • Add _Element.iterchildren()
    • Fix return type of CustomElementClassLookup.lookup()
    • Add _Element.findtext() stub (GH-13)
    • Wrap long line.
    • Enable helpful output from 'black' runs.
    • Fix code formatting.
    • Overload etree.tostring return type depending on encoding (GH-14)
    • Show missorted imports on 'isort' failures.
    • Sort imports.
    • Fix code formatting.
    • Add stub for lxml.etree.TreeBuilder (GH-16)
    • Fix formatting.
    • add stubs for lxml.html.defs (GH-17)
    • Include stub files in "lxml.html" when building stub-only package (GH-18)
    • Fix typo in _Element.find() method.
    • Add stubs for etree.HTMLParser, etree.HTML and etree.XML (GH-25)
    • Add initial lxml.html declarations (GH-20)
    • Run tests on PRs (GH-26)
    • Fix import formatting.
    • Fix import formatting.

    …and 16 more.

  6. 0.1.1 09 Aug 2020

    Nothing published for this version

  7. 0.1 23 May 2020

    Nothing published for this version

Stop reading changelogs one package at a time.

Point PackageTrack at your project and get told which of your dependencies moved, which of those matter, and what to do about it.

Track my project