vk-urls-validator


Namevk-urls-validator JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/Wiped-Out/vk_urls_validator
SummaryValidator for VK URLs.
upload_time2023-06-25 15:22:59
maintainer
docs_urlNone
authorEmir Takhaviev
requires_python
license
keywords python vk urls validation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # vk_urls_validator

Library for validating VK urls and brings them to one standart.

# How method works?

1. Add prefix "https://"
2. Change all hostnames to "vk.com"
3. Check URL hash for VK rules


# Examples

```python
from vk_urls_validator import validate_url

validated_url = validate_url(url='vk.com/id1')
# >> https://vk.com/id1

validated_url = validate_url(url='https://m.vk.com/id1')
# >> https://vk.com/id1
```


# Installing

```commandline
pip3 install vk_urls_validator
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Wiped-Out/vk_urls_validator",
    "name": "vk-urls-validator",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,vk urls,validation",
    "author": "Emir Takhaviev",
    "author_email": "tah116emir@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/9e/e4/6d2c1511645f87fbcedfd603fc3e5ce0128e348d9cc86e150626c6db59d1/vk_urls_validator-0.0.4.tar.gz",
    "platform": null,
    "description": "# vk_urls_validator\n\nLibrary for validating VK urls and brings them to one standart.\n\n# How method works?\n\n1. Add prefix \"https://\"\n2. Change all hostnames to \"vk.com\"\n3. Check URL hash for VK rules\n\n\n# Examples\n\n```python\nfrom vk_urls_validator import validate_url\n\nvalidated_url = validate_url(url='vk.com/id1')\n# >> https://vk.com/id1\n\nvalidated_url = validate_url(url='https://m.vk.com/id1')\n# >> https://vk.com/id1\n```\n\n\n# Installing\n\n```commandline\npip3 install vk_urls_validator\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Validator for VK URLs.",
    "version": "0.0.4",
    "project_urls": {
        "Download": "https://github.com/Wiped-Out/vk_urls_validator/releases/latest",
        "Homepage": "https://github.com/Wiped-Out/vk_urls_validator"
    },
    "split_keywords": [
        "python",
        "vk urls",
        "validation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "93ff1f1f9ab3d341d0055c8274ec7bfb06ece7da2663a29089345502f0e16e49",
                "md5": "1ebfaa4c3e9f67fa6da5f2e7ad78c1b5",
                "sha256": "e8c370c75feb926632784c265c5e9337457cde2c8762b328dd8425904c49b898"
            },
            "downloads": -1,
            "filename": "vk_urls_validator-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1ebfaa4c3e9f67fa6da5f2e7ad78c1b5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8061,
            "upload_time": "2023-06-25T15:22:57",
            "upload_time_iso_8601": "2023-06-25T15:22:57.691102Z",
            "url": "https://files.pythonhosted.org/packages/93/ff/1f1f9ab3d341d0055c8274ec7bfb06ece7da2663a29089345502f0e16e49/vk_urls_validator-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9ee46d2c1511645f87fbcedfd603fc3e5ce0128e348d9cc86e150626c6db59d1",
                "md5": "dc9cc7fb63e8e4cf4f09398b8415e400",
                "sha256": "a4ee0e134e022996ffcd9ec27ab7b159b78a13e1281764d69555084763096867"
            },
            "downloads": -1,
            "filename": "vk_urls_validator-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "dc9cc7fb63e8e4cf4f09398b8415e400",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7004,
            "upload_time": "2023-06-25T15:22:59",
            "upload_time_iso_8601": "2023-06-25T15:22:59.356028Z",
            "url": "https://files.pythonhosted.org/packages/9e/e4/6d2c1511645f87fbcedfd603fc3e5ce0128e348d9cc86e150626c6db59d1/vk_urls_validator-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-25 15:22:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Wiped-Out",
    "github_project": "vk_urls_validator",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "vk-urls-validator"
}
        
Elapsed time: 0.08968s