/usr/share/pyshared/publicsuffix-1.0.5.egg-info is in python-publicsuffix 1.0.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | Metadata-Version: 1.1
Name: publicsuffix
Version: 1.0.5
Summary: Get a public suffix for a domain name using the Public Suffix List.
Home-page: UNKNOWN
Author: Tomaz Solc
Author-email: tomaz.solc@tablix.org
License: MIT
Description: Public Suffix List module for Python
====================================
This module allows you to get the public suffix of a domain name using the
Public Suffix List from http://publicsuffix.org
A public suffix is one under which Internet users can directly register
names. Some examples of public suffixes are .com, .co.uk and pvt.k12.wy.us.
Accurately knowing the public suffix of a domain is useful when handling
web browser cookies, highlighting the most important part of a domain name
in a user interface or sorting URLs by web site.
The Python module ships with a (possibly out-dated) copy of the Public
Suffix List so that it is usable out of the box. It's up the user to keep
it up-to-date with the most recent version of the list available on
http://publicsuffix.org
Module content
--------------
The module exports a class that parses the Public Suffix List and allows
queries for individual domain names::
>>> from publicsuffix import PublicSuffixList
>>> psl = PublicSuffixList()
>>> psl.get_public_suffix("www.example.com")
'example.com'
Please note that the ``host`` part of an URL can contain strings that are
not plain DNS domain names (IP addresses, Punycode-encoded names, name in
combination with a port number or an username, etc.). It is up to the
caller to ensure only domain names are passed to the get_public_suffix()
method.
Source
------
You can get a local copy of the development repository with::
git clone http://www.tablix.org/~avian/git/publicsuffix.git
..
vim: set filetype=rst:
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: Name Service (DNS)
Provides: publicsuffix
|