# dzen_urls_validator
Library for validating [Dzen](https://dzen.ru) urls and brings them to one standart.
# How method works?
1. Add prefix "https://"
2. Change all hostnames to "dzen.ru"
# Examples
```python
from dzen_urls_validator import validate_url
validated_url = validate_url(url='dzen.ru/id/5ce671035b6e3000b303d27a/')
# >> https://dzen.ru/id/5ce671035b6e3000b303d27a
validated_url = validate_url(url='zen.yandex.ru/id/5ce671035b6e3000b303d27a')
# >> https://dzen.ru/id/5ce671035b6e3000b303d27a
```
# Installing
```commandline
pip3 install dzen_urls_validator
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Wiped-Out/dzen_urls_validator",
"name": "dzen-urls-validator",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,dzen urls,validation",
"author": "Emir Takhaviev",
"author_email": "tah116emir@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/0d/75/a68c43ced6d9c1688769d90bd47deffb99fc3f0f7aefb4c27968bd7e0623/dzen_urls_validator-0.0.1.tar.gz",
"platform": null,
"description": "# dzen_urls_validator\n\nLibrary for validating [Dzen](https://dzen.ru) urls and brings them to one standart.\n\n# How method works?\n\n1. Add prefix \"https://\"\n2. Change all hostnames to \"dzen.ru\"\n\n\n# Examples\n\n```python\nfrom dzen_urls_validator import validate_url\n\nvalidated_url = validate_url(url='dzen.ru/id/5ce671035b6e3000b303d27a/')\n# >> https://dzen.ru/id/5ce671035b6e3000b303d27a\n\nvalidated_url = validate_url(url='zen.yandex.ru/id/5ce671035b6e3000b303d27a')\n# >> https://dzen.ru/id/5ce671035b6e3000b303d27a\n```\n\n\n# Installing\n\n```commandline\npip3 install dzen_urls_validator\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Validator for Dzen URLs.",
"version": "0.0.1",
"project_urls": {
"Download": "https://github.com/Wiped-Out/dzen_urls_validator/releases/latest",
"Homepage": "https://github.com/Wiped-Out/dzen_urls_validator"
},
"split_keywords": [
"python",
"dzen urls",
"validation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8dc8b8a8ae36bf6bfbc5d3858ac688341a92bc9246658e17e05c615522ac07b5",
"md5": "953cf50f944e8a056cb14c860844a48d",
"sha256": "e666fe9ecdc7feb6bdd6159860899d4d7169b1c4c995a37bea62b630aecc78ad"
},
"downloads": -1,
"filename": "dzen_urls_validator-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "953cf50f944e8a056cb14c860844a48d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7718,
"upload_time": "2023-05-06T09:46:49",
"upload_time_iso_8601": "2023-05-06T09:46:49.415211Z",
"url": "https://files.pythonhosted.org/packages/8d/c8/b8a8ae36bf6bfbc5d3858ac688341a92bc9246658e17e05c615522ac07b5/dzen_urls_validator-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0d75a68c43ced6d9c1688769d90bd47deffb99fc3f0f7aefb4c27968bd7e0623",
"md5": "725d8bd10ab532a94b93ffadc98e3f40",
"sha256": "3b6068d3f03d1e6261bb99b2271418261e58c209405b6ded71bf71a78ac5b473"
},
"downloads": -1,
"filename": "dzen_urls_validator-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "725d8bd10ab532a94b93ffadc98e3f40",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6745,
"upload_time": "2023-05-06T09:46:51",
"upload_time_iso_8601": "2023-05-06T09:46:51.736984Z",
"url": "https://files.pythonhosted.org/packages/0d/75/a68c43ced6d9c1688769d90bd47deffb99fc3f0f7aefb4c27968bd7e0623/dzen_urls_validator-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-06 09:46:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Wiped-Out",
"github_project": "dzen_urls_validator",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dzen-urls-validator"
}