beautifier

by labtocat

labtocat / beautifier

Simple library to cleanup and prettify url patterns and emails

127 Stars 11 Forks Last release: over 2 years ago ([email protected]) MIT License 42 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Beautifier

Simple library to cleanup and prettify url patterns, domains and so on. Library helps to clean unicodes, special charecters and unnessesary redirection patterns from the urls and gives you clean date.

Documentation

Installation

pip install beautifier

Basic Usages

Email Function

EMAIL cleanup API's

from beautifier import Email
email = Email('[email protected]')

>>> email.domain 'imsach.in'

>>> email.username 'me'

>>> email.is_free_email False

Url Function

URL cleanup API's

from beautifier import Url
url = Url('https://in.linkedin.com/in/sachinphilip?authtoken=887nasdadasd6hasdtg21&secret=98jy766yhhuhnjk')

>>> url.cleanup 'https://in.linkedin.com/in/sachinphilip'

>>> url.domain 'in.linkedin.com'

>>> url.param ['authtoken': '887nasdadasd6hasdtg21', 'secret': '98jy766yhhuhnjk' ]

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.