xurls


Namexurls JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/xyngular/py-xurls
SummaryPython URL Library
upload_time2024-03-21 22:24:43
maintainerNone
docs_urlNone
authorJosh Orr
requires_python<4.0,>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![PythonSupport](https://img.shields.io/static/v1?label=python&message=%203.8|%203.9|%203.10|%203.11&color=blue?style=flat-square&logo=python)
![PyPI version](https://badge.fury.io/py/xurls.svg?)

## Documentation

A high-level `Url` class to make parsing, looking at and manipulating
urls much easier.

Also allows for easily composable urls.

Everything is subject to change!

**[📄 Detailed Documentation](https://xyngular.github.io/py-xurls/latest/)** | **[🐍 PyPi](https://pypi.org/project/xurls/)**

## Getting Started

```shell
poetry install xurls
```

or

```shell
pip install xurls
```

Very basic example:

```python
from xurls import Url

url = Url("http://www.google.com/some/path")
assert url.host == "www.google.com"

url.host = "apple.com"
assert str(url) == "http://apple.com/some/path"
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/xyngular/py-xurls",
    "name": "xurls",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Josh Orr",
    "author_email": "josh@orr.blue",
    "download_url": "https://files.pythonhosted.org/packages/0a/f3/a7dfcbe5aadd46794c36917353ff70ceef9a8252aaca9f15bd64a99c5ff1/xurls-1.1.0.tar.gz",
    "platform": null,
    "description": "![PythonSupport](https://img.shields.io/static/v1?label=python&message=%203.8|%203.9|%203.10|%203.11&color=blue?style=flat-square&logo=python)\n![PyPI version](https://badge.fury.io/py/xurls.svg?)\n\n## Documentation\n\nA high-level `Url` class to make parsing, looking at and manipulating\nurls much easier.\n\nAlso allows for easily composable urls.\n\nEverything is subject to change!\n\n**[\ud83d\udcc4 Detailed Documentation](https://xyngular.github.io/py-xurls/latest/)** | **[\ud83d\udc0d PyPi](https://pypi.org/project/xurls/)**\n\n## Getting Started\n\n```shell\npoetry install xurls\n```\n\nor\n\n```shell\npip install xurls\n```\n\nVery basic example:\n\n```python\nfrom xurls import Url\n\nurl = Url(\"http://www.google.com/some/path\")\nassert url.host == \"www.google.com\"\n\nurl.host = \"apple.com\"\nassert str(url) == \"http://apple.com/some/path\"\n```\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python URL Library",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/xyngular/py-xurls",
        "Repository": "https://github.com/xyngular/py-xurls"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f6cb58989fa3946a33db730d7fecb4c47193fa91899199c09a8887a1e0e1260a",
                "md5": "1682a1131b08de95424e1429652ccad8",
                "sha256": "23a7292b748648107457365aa431a8fd1f98d1d039c51d87a189c24f49a2f00c"
            },
            "downloads": -1,
            "filename": "xurls-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1682a1131b08de95424e1429652ccad8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 18116,
            "upload_time": "2024-03-21T22:24:42",
            "upload_time_iso_8601": "2024-03-21T22:24:42.359226Z",
            "url": "https://files.pythonhosted.org/packages/f6/cb/58989fa3946a33db730d7fecb4c47193fa91899199c09a8887a1e0e1260a/xurls-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0af3a7dfcbe5aadd46794c36917353ff70ceef9a8252aaca9f15bd64a99c5ff1",
                "md5": "d78043c8c7ac22f9d83889544e84eb1e",
                "sha256": "c0fa2448076ca9211e8c6dca45826129d2e615ba38dd0f4db175a1533fc87e42"
            },
            "downloads": -1,
            "filename": "xurls-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d78043c8c7ac22f9d83889544e84eb1e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 18718,
            "upload_time": "2024-03-21T22:24:43",
            "upload_time_iso_8601": "2024-03-21T22:24:43.947746Z",
            "url": "https://files.pythonhosted.org/packages/0a/f3/a7dfcbe5aadd46794c36917353ff70ceef9a8252aaca9f15bd64a99c5ff1/xurls-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-21 22:24:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "xyngular",
    "github_project": "py-xurls",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "xurls"
}
        
Elapsed time: 0.20343s