Metadata-Version: 1.2
Name: domain_utils
Version: 0.3.0
Summary: A collection of util functions for extracting domains from urls.
Home-page: https://github.com/mozilla/domain_utils
Author: Sarah Bird
Author-email: sbird@mozilla.com
License: MIT license
Description: ==============
        `domain_utils`
        ==============
        
        
        .. image:: https://img.shields.io/pypi/v/domain_utils.svg
                :target: https://pypi.python.org/pypi/domain_utils
        
        .. image:: https://img.shields.io/travis/mozilla/domain_utils.svg
                :target: https://travis-ci.org/mozilla/domain_utils
        
        .. image:: https://readthedocs.org/projects/domain-utils/badge/?version=latest
                :target: https://domain-utils.readthedocs.io/en/latest/?badge=latest
                :alt: Documentation Status
        
        
        A collection of util functions for extracting domains from urls.
        
        Repo: https://github.com/mozilla/domain_utils
        
        Install::
        
            pip install domain_utils
        
        Use::
        
            import domain_utils as du
            # Return just the url `my.domain.cloudfront.net/a/path/to/a/file.html`
            du.get_stripped_url('https://my.domain.cloudfront.net/a/path/to/a/file.html?a=1')
            # Return just the eTLD+1 `domain.cloudfront.net`
            du.get_stripped_url('https://my.domain.cloudfront.net/a/path/to/a/file.html?a=1')
        
        
        This package was originally extracted from
        openwpm-utils_.
        
        
        * Free software: Mozilla Public License license
        * Documentation: https://domain-utils.readthedocs.io.
        
        
        
        Credits
        -------
        
        This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
        
        .. _Cookiecutter: https://github.com/audreyr/cookiecutter
        .. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
        .. _openwpm-utils: https://github.com/mozilla/openwpm-utils/blob/14edefa360c482ffcffdfeddbf09e2372d459f4c/openwpm_utils/domain.py
        
        
        =======
        History
        =======
        
        
        0.3.0 (2020-03-25)
        ------------------
        
        * Restore py27 support.
        * Last version with py27 support.
        * Remove tox
        
        
        0.2.0 (2020-03-24)
        ------------------
        
        * Extracted from https://github.com/mozilla/openwpm-utils/blob/master/openwpm_utils/domain.py
        * Removed python 2 support and dependencies
        * Removed broken get_stripped_urls function
        * First release on PyPI.
        
Keywords: domain_utils
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.5
