# ua-generator
A random user-agent generator for Python >= 3.6
# Features
* No external user-agent list. No downloads.
* Templates are hardcoded into the code.
* Platform and browser versions are based on real releases.
* Client hints (Sec-CH-UA fields).
# Installing
```bash
pip3 install -U yan-random-useragent
```
# Basic usage
```python
import generate_random_ua
ua = generate_random_ua()
print(ua) # Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/15.2 Safari/604.1.38
```
# Author
Jasson Nguyen (admin@taocuaba.com)
Raw data
{
"_id": null,
"home_page": "https://github.com/yanteams/generate_random_ua",
"name": "generate-random-useragent",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Generate Random Useragent,generate_random_ua_yan",
"author": "Jasson Nguyen",
"author_email": "admin@taocuaba.com",
"download_url": "https://files.pythonhosted.org/packages/20/a6/f96828295a3d5b14a5c52f0b4b2fb00dd99794e3c2ce8e2622b9ab1b35af/generate_random_useragent-1.0.0.tar.gz",
"platform": null,
"description": "# ua-generator\r\n\r\nA random user-agent generator for Python >= 3.6\r\n\r\n# Features\r\n* No external user-agent list. No downloads.\r\n* Templates are hardcoded into the code.\r\n* Platform and browser versions are based on real releases.\r\n* Client hints (Sec-CH-UA fields).\r\n\r\n# Installing\r\n```bash\r\npip3 install -U yan-random-useragent\r\n```\r\n\r\n# Basic usage\r\n```python\r\nimport generate_random_ua\r\n\r\nua = generate_random_ua()\r\nprint(ua) # Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/15.2 Safari/604.1.38\r\n```\r\n# Author\r\nJasson Nguyen (admin@taocuaba.com)\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Random Useragent",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/yanteams/generate_random_ua"
},
"split_keywords": [
"generate random useragent",
"generate_random_ua_yan"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5459fda28ba1751a5f9bbddcfd656f76895c216d2a1bce65a99bd4b148f7788c",
"md5": "e852cd28799e69ab3af76f1d5b9a1e3d",
"sha256": "3520c7bda7f1c8785f2e0bd02905bcc6afcd348d72217bb9e965ec9bd5e7c7c7"
},
"downloads": -1,
"filename": "generate_random_useragent-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e852cd28799e69ab3af76f1d5b9a1e3d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 1680,
"upload_time": "2023-10-07T16:02:07",
"upload_time_iso_8601": "2023-10-07T16:02:07.718549Z",
"url": "https://files.pythonhosted.org/packages/54/59/fda28ba1751a5f9bbddcfd656f76895c216d2a1bce65a99bd4b148f7788c/generate_random_useragent-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4e473daf3ae0e5f248062fe618d76b7f229768fd8f22a6cabd80725beb34e124",
"md5": "458b552010e0ce25c5b62e7f32d72061",
"sha256": "60a666f639d10493ebd4be64b86d884c766cd7b0132ec4c03c174f825322dd2c"
},
"downloads": -1,
"filename": "Generate_Random_Useragent-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "458b552010e0ce25c5b62e7f32d72061",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 1684,
"upload_time": "2023-10-07T15:57:43",
"upload_time_iso_8601": "2023-10-07T15:57:43.481267Z",
"url": "https://files.pythonhosted.org/packages/4e/47/3daf3ae0e5f248062fe618d76b7f229768fd8f22a6cabd80725beb34e124/Generate_Random_Useragent-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "20a6f96828295a3d5b14a5c52f0b4b2fb00dd99794e3c2ce8e2622b9ab1b35af",
"md5": "c5c6fc12e8419408349f4c5b6ad1a58b",
"sha256": "406b4a5ae50080a7272fb7478c6ed6f3d4f433e5d78837bcb57ede4d79891070"
},
"downloads": -1,
"filename": "generate_random_useragent-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "c5c6fc12e8419408349f4c5b6ad1a58b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1566,
"upload_time": "2023-10-07T16:02:09",
"upload_time_iso_8601": "2023-10-07T16:02:09.434038Z",
"url": "https://files.pythonhosted.org/packages/20/a6/f96828295a3d5b14a5c52f0b4b2fb00dd99794e3c2ce8e2622b9ab1b35af/generate_random_useragent-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-07 16:02:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yanteams",
"github_project": "generate_random_ua",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "generate-random-useragent"
}