{ "info": { "author": "Jehiah Czebotar", "author_email": "jehiah@gmail.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "urlnorm.py\n==========\n\nNormalize a URL to a standard unicode representation\n\nurlnorm normalizes a URL by:\n\n * lowercasing the scheme and hostname\n * converting the hostname to IDN format\n * taking out default port if present (e.g., http://www.foo.com:80/)\n * collapsing the path (./, ../, etc)\n * removing the last character in the hostname if it is '.'\n * unquoting any % escaped characters (where possible)\n\nInstallation\n============\n\n pip install urlnorm\n\n\nExample\n=======\n\n >>> import urlnorm\n >>> urlnorm.norm(\"http://xn--q-bga.com./u/u/../%72/l/\")\n u'http://q\\xe9.com/u/r/l/'", "description_content_type": "", "docs_url": null, "download_url": "http://github.com/downloads/jehiah/urlnorm/urlnorm-1.1.2.5.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/jehiah/urlnorm", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "Sweepatic-urlnorm", "package_url": "https://pypi.org/project/Sweepatic-urlnorm/", "platform": "", "project_url": "https://pypi.org/project/Sweepatic-urlnorm/", "project_urls": { "Download": "http://github.com/downloads/jehiah/urlnorm/urlnorm-1.1.2.5.tar.gz", "Homepage": "http://github.com/jehiah/urlnorm" }, "release_url": "https://pypi.org/project/Sweepatic-urlnorm/1.1.2.5/", "requires_dist": null, "requires_python": "", "summary": "Normalize a URL to a standard unicode encoding", "version": "1.1.2.5" }, "last_serial": 4641130, "releases": { "1.1.2.5": [ { "comment_text": "", "digests": { "md5": "f0c998f7a620a7ed9df55805e78da5f4", "sha256": "fe9c589b30f07834071a1f7fc81d166112d2fa472c2fa409b4d9e6559a47fd54" }, "downloads": -1, "filename": "Sweepatic-urlnorm-1.1.2.5.tar.gz", "has_sig": false, "md5_digest": "f0c998f7a620a7ed9df55805e78da5f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4422, "upload_time": "2018-12-28T14:07:32", "url": "https://files.pythonhosted.org/packages/7a/d0/324df90d9f64d31aea7ff3c0ef06d3fae1b5a23edcc5c6ad49ad0a3fbe25/Sweepatic-urlnorm-1.1.2.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0c998f7a620a7ed9df55805e78da5f4", "sha256": "fe9c589b30f07834071a1f7fc81d166112d2fa472c2fa409b4d9e6559a47fd54" }, "downloads": -1, "filename": "Sweepatic-urlnorm-1.1.2.5.tar.gz", "has_sig": false, "md5_digest": "f0c998f7a620a7ed9df55805e78da5f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4422, "upload_time": "2018-12-28T14:07:32", "url": "https://files.pythonhosted.org/packages/7a/d0/324df90d9f64d31aea7ff3c0ef06d3fae1b5a23edcc5c6ad49ad0a3fbe25/Sweepatic-urlnorm-1.1.2.5.tar.gz" } ] }