uainsight


Nameuainsight JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://joongi007.github.io/uainsight/
SummaryInspired by the express-useragent package, A User-Agent parser for Python with integrations for FastAPI, Django, and Flask
upload_time2024-10-05 10:31:37
maintainerNone
docs_urlNone
authorjoongi007
requires_python<4.0,>=3.9
licenseMIT
keywords user-agent parser fastapi django flask
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # uainsight

uainsight is a Python package for parsing and analyzing User-Agent strings. It provides easy integration with FastAPI, Django, and Flask.

## Features

- Parse User-Agent strings
- Extract browser, operating system, and device information
- Bot detection
- Easy integration with FastAPI, Django, and Flask frameworks

## Installation

Using Poetry (recommended):

```bash
poetry add uainsight
```

Using pip:

```bash
pip install uainsight
```

## Quick Start

```python
from uainsight import parse_user_agent

ua_string = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
ua = parse_user_agent(ua_string)

print(f"Browser: {ua.browser.name} {ua.browser.version}")
print(f"OS: {ua.os.name} {ua.os.version}")
print(f"Device: {ua.device}")
```

## Documentation

For full documentation, visit [https://joongi007.github.io/uainsight/](https://joongi007.github.io/uainsight/)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
            

Raw data

            {
    "_id": null,
    "home_page": "https://joongi007.github.io/uainsight/",
    "name": "uainsight",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "user-agent, parser, fastapi, django, flask",
    "author": "joongi007",
    "author_email": "joongi007@naver.com",
    "download_url": "https://files.pythonhosted.org/packages/0e/02/616be0e247253eb9a85e15f6fd185b8ec8c8d7e90432dacc9b47ab031439/uainsight-0.1.0.tar.gz",
    "platform": null,
    "description": "# uainsight\n\nuainsight is a Python package for parsing and analyzing User-Agent strings. It provides easy integration with FastAPI, Django, and Flask.\n\n## Features\n\n- Parse User-Agent strings\n- Extract browser, operating system, and device information\n- Bot detection\n- Easy integration with FastAPI, Django, and Flask frameworks\n\n## Installation\n\nUsing Poetry (recommended):\n\n```bash\npoetry add uainsight\n```\n\nUsing pip:\n\n```bash\npip install uainsight\n```\n\n## Quick Start\n\n```python\nfrom uainsight import parse_user_agent\n\nua_string = \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36\"\nua = parse_user_agent(ua_string)\n\nprint(f\"Browser: {ua.browser.name} {ua.browser.version}\")\nprint(f\"OS: {ua.os.name} {ua.os.version}\")\nprint(f\"Device: {ua.device}\")\n```\n\n## Documentation\n\nFor full documentation, visit [https://joongi007.github.io/uainsight/](https://joongi007.github.io/uainsight/)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Inspired by the express-useragent package, A User-Agent parser for Python with integrations for FastAPI, Django, and Flask",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://joongi007.github.io/uainsight/",
        "Repository": "https://github.com/joongi007/uainsight"
    },
    "split_keywords": [
        "user-agent",
        " parser",
        " fastapi",
        " django",
        " flask"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f01574f12b2a568b0687a81eaf91371c67ff4d006f2b7a5bdc2f1c8d0017034f",
                "md5": "9aec015f8daf402a3b4004dee3890fa0",
                "sha256": "126ce0b8d616e51f7c394c9947516848fc985cbb9afd4a56f946406aa36d71a9"
            },
            "downloads": -1,
            "filename": "uainsight-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9aec015f8daf402a3b4004dee3890fa0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 7703,
            "upload_time": "2024-10-05T10:31:35",
            "upload_time_iso_8601": "2024-10-05T10:31:35.228317Z",
            "url": "https://files.pythonhosted.org/packages/f0/15/74f12b2a568b0687a81eaf91371c67ff4d006f2b7a5bdc2f1c8d0017034f/uainsight-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e02616be0e247253eb9a85e15f6fd185b8ec8c8d7e90432dacc9b47ab031439",
                "md5": "3ceee9bf7a639b729fabcc1f26dfa2a0",
                "sha256": "651026f82d7c8c4936428b6947eb4e545afa85f4144e15fdd2044de335462924"
            },
            "downloads": -1,
            "filename": "uainsight-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3ceee9bf7a639b729fabcc1f26dfa2a0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 6163,
            "upload_time": "2024-10-05T10:31:37",
            "upload_time_iso_8601": "2024-10-05T10:31:37.235388Z",
            "url": "https://files.pythonhosted.org/packages/0e/02/616be0e247253eb9a85e15f6fd185b8ec8c8d7e90432dacc9b47ab031439/uainsight-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-05 10:31:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "joongi007",
    "github_project": "uainsight",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "uainsight"
}
        
Elapsed time: 0.44648s