Skip to main content

No project description provided

Project description

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rusty_email_validator-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl (29.1 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

File details

Details for the file rusty_email_validator-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for rusty_email_validator-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 54574477577265266992d074ad1f3d14eaec6700c7981b32aa1c27321fb7b773
MD5 bfc098394dc94028cca0687da4695160
BLAKE2b-256 5149ee7c4e3148caee8f77cbfad40ba4e4a3127ddea826385d6e6c8899000e23

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page