Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Cleanup and beautifier emails, urls and patterns

Project description

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

```bash
pip install beautifier
```

## Basic Usages

#### Email Function

EMAIL cleanup API's

```python
from beautifier import Email
email = Email('me@imsach.in')

>>> email.domain
'imsach.in'

>>> email.username
'me'

>>> email.is_free_email
False
```

#### Url Function

URL cleanup API's


```python
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' ]
```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
beautifier-0.5.5.tar.gz (19.3 kB) Copy SHA256 hash SHA256 Source None Jun 20, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page