New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

validator-pizza-python

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

validator-pizza-python

Validator Pizza Python is a library for validator.pizza which detects disposable email addresses.

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

bannerCodacy Badge License

Validator Pizza Python is a library for http://validator.pizza which helps you verify if an email or domain is a disposable email service provider.

Install

pip install validator-pizza-python

Usage

from validator_pizza_python import PizzaValidator

PizzaValidator.validate("teixeira.zeus@gmail.com")
# EmailStatus(status=200, email='teixeira.zeus@gmail.com', domain='gmail.com', mx=True, disposable=False, alias=False, did_you_mean=None)

PizzaValidator.is_disposable("teixeira.zeus@gmail.com")
# False

PizzaValidator.is_disposable("gmail.com")
# False

Async version

from validator_pizza_python import AioPizzaValidator

pizza_client = AioPizzaValidator()
email_status = await pizza_cliente.validate("teixeira.zeus@gmail.com")
pizza_cliente.close()

Developer

  • Thiago da Silva Teixeira

License

Released under the MIT License.

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