./net/py-tldextract, Accurately separate the TLD from the registered domain and subdomains

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.1.3, Package name: py312-tldextract-5.1.3, Maintainer: pkgsrc-users

tldextract accurately separates the gTLD or ccTLD (generic or
country code top-level domain) from the registered domain and
subdomains of a URL.


Required to run:
[devel/py-setuptools] [devel/py-requests] [www/py-idna] [devel/py-requests-file] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 122.103 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-11-05 09:37:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tldextract: updated to 5.1.3

5.1.3 (2024-11-04)

* Bugfixes
  * Reduce logging errors
  * Drop support for EOL Python 3.8
  * Support Python 3.13
  * Update bundled snapshot
* Documentation
  * Clarify how to use your own definitions
  * Clarify first-successful definitions vs. merged definitions
* Misc.
  * Switch from Black to Ruff
  * Switch from pip to uv, during tox
   2024-03-21 10:13:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tldextract: updated to 5.1.2

5.1.2 (2024-03-18)

* Bugfixes
  * Remove `socket.inet_pton`, to fix platform-dependent IP parsing
  * Use non-capturing groups for IPv4 address detection, for a slight speed boost
* Misc.
  * Add CI for PyPy3.9 and PyPy3.10
  * Add script to automate package release process
  * Update LICENSE copyright years
   2023-11-19 18:35:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tldextract: updated to 5.1.1

5.1.1 (2023-11-16)

* Bugfixes
  * Fix path join on Windows
  * Support Python 3.12

5.1.0 (2023-11-05)

* Features
    * Allow passing in `requests.Session`
    * Add "-j, --json" option to support output in json format
* Docs
    * Improve clarity of absolute path
* Misc.
    * Extract all testing deps from tox.ini to pyproject.toml extras
    * Work around responses type union error, in tests
   2023-11-03 09:17:33 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tldextract: updated to 5.0.1

5.0.1 (2023-10-17)

* Bugfixes
   * Indicate MD5 not used in a security context (FIPS compliance)
* Misc.
   * Increase typecheck aggression

5.0.0 (2023-10-11)

* Breaking Changes
   * Migrate `ExtractResult` from `namedtuple` to `dataclass`
       * 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
   * Consolidate config files
   * Type tests
   * Require docstrings in tests
   * Remove obsolete tests

4.0.0 (2023-10-11)

* **Breaking** bugfixes
   * Always include suffix if private suffix enabled and private suffix exists
       * Add a 4th field `is_private: bool`, to the `ExtractResult`
         `namedtuple`, indicating whether the extraction came from the PSL's
         private domains or not.
       * **This could cause issues when iterating over the tuple and assuming
         only 3 fields.**
       * Previously, the docs promoted iteration to rejoin parts of the tuple.
         This is better achieved by individual access of fields of interest
         (e.g. `ExtractResult.subdomain`) or convenience properties (e.g.
         `ExtractResult.{fqdn,registered_domain}`).

This is the same content as version 3.6.0, originally released 2023-09-19,
which was yanked.
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-09-20 09:30:28 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tldextract: updated to 3.6.0

3.6.0 (2023-09-19)

* **Breaking** bugfixes
    * Always include suffix if private suffix enabled and private suffix exists
        * Add a 4th field `is_private: bool`, to the `ExtractResult`
          `namedtuple`, indicating whether the extraction came from the PSL's
          private domains or not.
        * **This could cause issues when iterating over the tuple and assuming
          only 3 fields.**
        * Previously, the docs promoted iteration to rejoin parts of the tuple.
          This is better achieved by individual access of fields of interest
          (e.g. `ExtractResult.subdomain`) or convenience properties (e.g.
          `ExtractResult.{fqdn,registered_domain}`).
   2023-09-14 14:43:44 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tldextract: updated to 3.5.0

3.5.0 (2023-09-06)

* Features
    * Support IPv6 addresses
* Bugfixes
    * Accept only 4 decimal octet IPv4 addresses
    * Support IPv4 addresses with unicode dots
    * Reject IPv4 addresses with trailing whitespaces + non-whitespaces
* Misc.
    * Migrate setup.py to pyproject.toml