Metadata-Version: 2.3
Name: rusty-validator
Version: 0.1.1rc3
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Summary: A Rust-based validation library with Python bindings, leveraging the power of pyo3 and validator crates to provide robust and efficient email validation.
Keywords: rust,validation
Home-Page: https://github.com/mbalzert1978/rusty-validator
Author-email: Iorio Markus <mbalzert@gmail.com>
License: MIT License
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/mbalzert1978/rusty-validator

# Rusty Validator

This project provides a simple validation library written in Rust, with Python bindings using PyO3. The library uses the [`validator`](https://github.com/Keats/validator) crate to validate email addresses, URLs, and IP addresses.

## Features

- Validate email addresses,
- Validate URLs,
- Validate IP addresses using Python.

## Requirements

- Python 3.8 or higher

## Installation

You can install the package directly from PyPI:

```sh
pip install rusty-validator
```

## Usage

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

```python
from rusty_validator import validate_email, validate_url, validate_ip

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

url = "https://example.com"
is_valid_url = validate_url(url)
print(f"Is valid URL: {is_valid_url}")

ip = "127.0.0.1"
is_valid_ip = validate_ip(ip)
print(f"Is valid IP: {is_valid_ip}")
```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Acknowledgements

- [PyO3](https://github.com/PyO3/pyo3) for providing the Rust bindings for Python.
- [Validator](https://github.com/Keats/validator) for the validation functionality.
