pypi tldextract 5.0.0

latest releases: 5.1.2, 5.1.1, 5.1.0...
11 months ago

What's Changed

  • Breaking Changes
    • Migrate ExtractResult from namedtuple to dataclass (#306)
      • This means no more iterating/indexing/slicing/unpacking the result
        object returned by this library. You must directly reference the
        fields you're interested in. For example, instead of
        tldextract.extract("example.com")[1:3]
        you must use
        ext = tldextract.extract("example.com")
        (ext.domain, ext.suffix)
  • Bugfixes
    • Drop support for EOL Python 3.7
  • Misc.
    • Switch from pycodestyle and Pylint to Ruff (#304)
    • Consolidate config files
    • Type tests
    • Require docstrings in tests
    • Remove obsolete tests

Full Changelog: 4.0.0...5.0.0

Don't miss a new tldextract release

NewReleases is sending notifications on new releases.