Socket
Socket
Sign inDemoInstall

rusty-email-validator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rusty-email-validator


Maintainers
1

Email Validator

This project provides a simple email validation library written in Rust, with Python bindings using PyO3. The library uses the validator crate to validate email addresses.

Features

  • Validate email addresses using Python.

Requirements

  • Python 3.6 or higher
  • maturin for building and publishing the Python package

Installation

To use the Python bindings, you need to build the package first. You can do this using maturin.

  1. Install maturin:
pip install maturin
  1. Build and install the package:
maturin develop

This will compile the Rust code and install the Python package in your current environment.

Usage

Here's an example of how to use the email validation function in Python:

from email_validator import validate

email = "example@example.com"
is_valid = validate(email)
print(f"Is valid: {is_valid}")

Development

To contribute to this project, follow these steps:

  1. Clone the repository:
git clone https://github.com/yourusername/email_validator.git
cd email_validator
  1. Install the required dependencies:
pip install maturin
  1. Build the project:
maturin develop
  1. Run the tests:
cargo test

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • PyO3 for providing the Rust bindings for Python.
  • Validator for the email validation functionality.

Feel free to customize this README to better fit your project's specifics and any additional details you might want to include.

pypi-AgEIcHlwaS5vcmcCJGRmMDUzMDQ0LTE4ODAtNDRkZS1iNWE0LTM5ZWU5ODFjNTk4ZgACKlszLCI1ZTY4MDA5ZS1lNDcxLTQ3NjMtYWJjMi01YTNmNTE2YTlmMWIiXQAABiB2FS1VbmZmLabSTOLz2d0Xh8sB5HMX0GWsB7AhFP06pA

Keywords

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc