Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

beautifier

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beautifier

Cleanup and beautifier emails, urls and patterns

  • 0.5.5
  • PyPI
  • Socket score

Maintainers
1

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('me@imsach.in')

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc