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' ]
```
------
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
beautifier-0.5.5.tar.gz
(19.3 kB
view details)
File details
Details for the file beautifier-0.5.5.tar.gz
.
File metadata
- Download URL: beautifier-0.5.5.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03501636627ccad02a1aa98bbeb9d09bfb5900c6bddca5aa8e6e7786de3ab50d |
|
MD5 | d7a6f60ed651cd72f055a807086a923d |
|
BLAKE2b-256 | 0a966e4ff20e40ae2c80f5cacca761277606c04cd980fd20067f69b90791276b |