rusty-validator


Namerusty-validator JSON
Version 0.1.1rc3 PyPI version JSON
download
home_pagehttps://github.com/mbalzert1978/rusty-validator
SummaryA Rust-based validation library with Python bindings, leveraging the power of pyo3 and validator crates to provide robust and efficient email validation.
upload_time2024-06-18 18:43:30
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License
keywords rust validation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mbalzert1978/rusty-validator",
    "name": "rusty-validator",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "rust, validation",
    "author": null,
    "author_email": "Iorio Markus <mbalzert@gmail.com>",
    "download_url": null,
    "platform": null,
    "description": "# Rusty Validator\n\nThis 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.\n\n## Features\n\n- Validate email addresses,\n- Validate URLs,\n- Validate IP addresses using Python.\n\n## Requirements\n\n- Python 3.8 or higher\n\n## Installation\n\nYou can install the package directly from PyPI:\n\n```sh\npip install rusty-validator\n```\n\n## Usage\n\nHere's an example of how to use the validation functions in Python:\n\n```python\nfrom rusty_validator import validate_email, validate_url, validate_ip\n\nemail = \"example@example.com\"\nis_valid_email = validate_email(email)\nprint(f\"Is valid email: {is_valid_email}\")\n\nurl = \"https://example.com\"\nis_valid_url = validate_url(url)\nprint(f\"Is valid URL: {is_valid_url}\")\n\nip = \"127.0.0.1\"\nis_valid_ip = validate_ip(ip)\nprint(f\"Is valid IP: {is_valid_ip}\")\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Acknowledgements\n\n- [PyO3](https://github.com/PyO3/pyo3) for providing the Rust bindings for Python.\n- [Validator](https://github.com/Keats/validator) for the validation functionality.\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A Rust-based validation library with Python bindings, leveraging the power of pyo3 and validator crates to provide robust and efficient email validation.",
    "version": "0.1.1rc3",
    "project_urls": {
        "Homepage": "https://github.com/mbalzert1978/rusty-validator"
    },
    "split_keywords": [
        "rust",
        " validation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ced440cb99061acc2d288ddc5a3b378806e4c99d6ec14da237b1c1e9c81d30e3",
                "md5": "62ff5add96e3805f27993ddcd6d30190",
                "sha256": "9f5b832eb0e1926c00a95a142a36beb0e354d2ffd133c9320074bb9bbae0898a"
            },
            "downloads": -1,
            "filename": "rusty_validator-0.1.1rc3-cp312-cp312-manylinux_2_34_x86_64.whl",
            "has_sig": false,
            "md5_digest": "62ff5add96e3805f27993ddcd6d30190",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8",
            "size": 30120151,
            "upload_time": "2024-06-18T18:43:30",
            "upload_time_iso_8601": "2024-06-18T18:43:30.533493Z",
            "url": "https://files.pythonhosted.org/packages/ce/d4/40cb99061acc2d288ddc5a3b378806e4c99d6ec14da237b1c1e9c81d30e3/rusty_validator-0.1.1rc3-cp312-cp312-manylinux_2_34_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-18 18:43:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mbalzert1978",
    "github_project": "rusty-validator",
    "github_not_found": true,
    "lcname": "rusty-validator"
}
        
Elapsed time: 3.74580s