python-publicsuffix2 icon indicating copy to clipboard operation
python-publicsuffix2 copied to clipboard

A small Python library to deal with publicsuffix data (includes a bundled PSL as "package data") in a wheel friendly format. Fork and continuation of Tomaž Šolc's "publicsuffix"

Results 9 python-publicsuffix2 issues
Sort by recently updated
recently updated
newest added

Hi! I'm packaging python-publisuffx2 for Arch Linux and would like to be able to run tests from the sdist tarball on pypi. Although the test files should be included (according...

As mentioned in https://github.com/publicsuffix/list/pull/1872#issuecomment-1863614188 Multiple `psl` libraries share the same bug while handling wildcards. > I went over all the FOSS implementations in https://publicsuffix.org/learn/ , and I found 3 of...

The following code: ```#!/usr/bin/env python3 from publicsuffix2 import PublicSuffixList psl = PublicSuffixList(idna=True) print(psl.get_public_suffix('snack.amazonaws.com',strict=True)) ``` returns `snack.amazonaws.com` when it should return `amazonaws.com`.

This seems to be a bug, because "linode.com" is not on the public suffix list. Several subdomains and related domains are, but not linode.com: // Linode : https://linode.com // Submitted...

See: #18 To solve the problem, I initialize the trie with `-1`. `-1` means that there are no definitions in the publicsuffix list. This is WIP PR because I don't...

Currently on the IETF DMARC Working Group mailing list there is discussion about how for DMARC's use of the PSL it might be better to exclude the private names portion...

`publicsuffix2` mishandles the case where, given the declaration of some public suffix, all suffixes of that suffix are seen as their own TLDs. E.g., given the declaration of `git-pages.rit.edu` as...

Reworked the code of get_tld() to reduce the number of temporary objects (reduce the load on GC in the case of bulk operations). The requirement for the input domain name...

~~During packaging of python-publicsuffix2 I realized, that downloading the publicsuffix list during build time makes it unreproducible (any time the package is rebuilt, it will have a different list).~~ My...