Tldextract

Latest version: v5.1.3

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

5.1.3

* Bugfixes
* Reduce logging errors ([`921a825`](https://github.com/john-kurkowski/tldextract/commit/921a82523c0e4403d21d50b2c3410d9af43520ac))
* Drop support for EOL Python 3.8 ([340](https://github.com/john-kurkowski/tldextract/issues/340))
* Support Python 3.13 ([341](https://github.com/john-kurkowski/tldextract/issues/341))
* Update bundled snapshot
* Documentation
* Clarify how to use your own definitions
* Clarify first-successful definitions vs. merged definitions
* Misc.
* Switch from Black to Ruff ([333](https://github.com/john-kurkowski/tldextract/issues/333))
* Switch from pip to uv, during tox ([324](https://github.com/john-kurkowski/tldextract/issues/324))

5.1.2

* Bugfixes
* Remove `socket.inet_pton`, to fix platform-dependent IP parsing ([318](https://github.com/john-kurkowski/tldextract/issues/318))
* Use non-capturing groups for IPv4 address detection, for a slight speed boost ([323](https://github.com/john-kurkowski/tldextract/issues/323))
* Misc.
* Add CI for PyPy3.9 and PyPy3.10 ([316](https://github.com/john-kurkowski/tldextract/issues/316))
* Add script to automate package release process ([325](https://github.com/john-kurkowski/tldextract/issues/325))
* Update LICENSE copyright years

5.1.1

* Bugfixes
* Fix path join on Windows ([314](https://github.com/john-kurkowski/tldextract/issues/314))
* Support Python 3.12

5.1.0

* Features
* Allow passing in `requests.Session` ([311](https://github.com/john-kurkowski/tldextract/issues/311))
* Add "-j, --json" option to support output in json format ([313](https://github.com/john-kurkowski/tldextract/issues/313))
* Docs
* Improve clarity of absolute path ([312](https://github.com/john-kurkowski/tldextract/issues/312))
* Misc.
* Extract all testing deps from tox.ini to pyproject.toml extras ([310](https://github.com/john-kurkowski/tldextract/issues/310))
* Work around responses type union error, in tests

5.0.1

* Bugfixes
* Indicate MD5 not used in a security context (FIPS compliance) ([309](https://github.com/john-kurkowski/tldextract/issues/309))
* Misc.
* Increase typecheck aggression

5.0.0

* Breaking Changes
* Migrate `ExtractResult` from `namedtuple` to `dataclass` ([306](https://github.com/john-kurkowski/tldextract/issues/306))
* This means no more iterating/indexing/slicing/unpacking the result
object returned by this library. It is no longer a tuple. You must
directly reference the fields you're interested in.

For example, the
following will no longer work.
python
tldextract.extract("example.com")[1:3]
TypeError: 'ExtractResult' object is not subscriptable

Instead, use the following.
python
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](https://github.com/john-kurkowski/tldextract/issues/304))
* Consolidate config files
* Type tests
* Require docstrings in tests
* Remove obsolete tests

Page 1 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.