| Name | fagents JSON |
| Version |
1.2
JSON |
| download |
| home_page | https://github.com/Abodx9/Fagents |
| Summary | A simple Python package designed to generate fake user agents |
| upload_time | 2024-08-06 11:59:59 |
| maintainer | None |
| docs_url | None |
| author | Abodx |
| requires_python | >=3.6 |
| license | None |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
## Fagents
Fagents is a simple and efficient Python package designed to help you generate fake user-agent strings. This can be particularly useful for web scraping, testing, or any situation where you need to mimic different web browsers and devices.
### Features
- **Random User Agents**: Generate random user-agent strings for a variety of browsers and operating systems.
- **Specific User Agents**: Generate user-agent strings for specific browsers and operating systems including macOS, Opera, mobile devices, Linux, Windows, and Unix.
- **Easy to Use**: Simple and intuitive API for quick integration into your projects.
### Installation
To install the Fagents package, use pip:
```bash
pip install fagents
```
### Usage
Once installed, you can easily import and use the package in your Python projects:
```python
from fagents import xrand, Mac, opera, mobile, linux, win, unix
print(xrand()) # Generates a random user agent
print(Mac()) # Generates a user agent for macOS
print(opera()) # Generates a user agent for Opera browser
print(mobile()) # Generates a user agent for a mobile device
print(linux()) # Generates a user agent for a Linux system
print(win()) # Generates a user agent for a Windows system
print(unix()) # Generates a user agent for a Unix system
```
### Examples
Here are some examples of how you can use the Fagents package to generate fake user-agent strings:
```python
from fagents import Mac, opera, mobile
mac_user_agent = Mac()
print(f"Mac User Agent: {mac_user_agent}")
opera_user_agent = opera()
print(f"Opera User Agent: {opera_user_agent}")
mobile_user_agent = mobile()
print(f"Mobile User Agent: {mobile_user_agent}")
```
With Fagents, you can easily create realistic user-agent strings to simulate different browsers and operating systems, enhancing the flexibility and effectiveness of your web scraping and testing tasks.
Raw data
{
"_id": null,
"home_page": "https://github.com/Abodx9/Fagents",
"name": "fagents",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Abodx",
"author_email": "abodx@gmx.de",
"download_url": "https://files.pythonhosted.org/packages/21/47/7029d235df2cbcfaf7726acdf2c17225dd728a8105ebc1c451f43a48e199/fagents-1.2.tar.gz",
"platform": null,
"description": "## Fagents\r\nFagents is a simple and efficient Python package designed to help you generate fake user-agent strings. This can be particularly useful for web scraping, testing, or any situation where you need to mimic different web browsers and devices.\r\n\r\n### Features\r\n- **Random User Agents**: Generate random user-agent strings for a variety of browsers and operating systems.\r\n- **Specific User Agents**: Generate user-agent strings for specific browsers and operating systems including macOS, Opera, mobile devices, Linux, Windows, and Unix.\r\n- **Easy to Use**: Simple and intuitive API for quick integration into your projects.\r\n\r\n### Installation\r\nTo install the Fagents package, use pip:\r\n\r\n```bash\r\npip install fagents\r\n```\r\n\r\n### Usage\r\nOnce installed, you can easily import and use the package in your Python projects:\r\n\r\n```python\r\nfrom fagents import xrand, Mac, opera, mobile, linux, win, unix\r\n\r\nprint(xrand()) # Generates a random user agent\r\nprint(Mac()) # Generates a user agent for macOS\r\nprint(opera()) # Generates a user agent for Opera browser\r\nprint(mobile()) # Generates a user agent for a mobile device\r\nprint(linux()) # Generates a user agent for a Linux system\r\nprint(win()) # Generates a user agent for a Windows system\r\nprint(unix()) # Generates a user agent for a Unix system\r\n```\r\n\r\n### Examples\r\nHere are some examples of how you can use the Fagents package to generate fake user-agent strings:\r\n\r\n```python\r\nfrom fagents import Mac, opera, mobile\r\n\r\nmac_user_agent = Mac()\r\nprint(f\"Mac User Agent: {mac_user_agent}\")\r\n\r\nopera_user_agent = opera()\r\nprint(f\"Opera User Agent: {opera_user_agent}\")\r\n\r\nmobile_user_agent = mobile()\r\nprint(f\"Mobile User Agent: {mobile_user_agent}\")\r\n```\r\n\r\nWith Fagents, you can easily create realistic user-agent strings to simulate different browsers and operating systems, enhancing the flexibility and effectiveness of your web scraping and testing tasks.\r\n",
"bugtrack_url": null,
"license": null,
"summary": "A simple Python package designed to generate fake user agents",
"version": "1.2",
"project_urls": {
"Bug Tracker": "https://github.com/Abodx9/Fagents/issues",
"Homepage": "https://github.com/Abodx9/Fagents"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e8a0c0767b9015eac6d5b5f233df12403b3764ec36c9d916bd3c372cf8aa32ae",
"md5": "dbfecb6d005b5cf96b56915fd8a35d06",
"sha256": "7c4d0096a00909be8fc45825c49326d5fd0f76787a8c88b329b12d530dcc9aa5"
},
"downloads": -1,
"filename": "fagents-1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dbfecb6d005b5cf96b56915fd8a35d06",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 18415,
"upload_time": "2024-08-06T11:59:58",
"upload_time_iso_8601": "2024-08-06T11:59:58.030663Z",
"url": "https://files.pythonhosted.org/packages/e8/a0/c0767b9015eac6d5b5f233df12403b3764ec36c9d916bd3c372cf8aa32ae/fagents-1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "21477029d235df2cbcfaf7726acdf2c17225dd728a8105ebc1c451f43a48e199",
"md5": "632c2bd31a856e4cf111e7415ff1df1e",
"sha256": "88d7841f06f2a470d00aedab045bfac960a1a22c589832b8d23ced8a3248ad37"
},
"downloads": -1,
"filename": "fagents-1.2.tar.gz",
"has_sig": false,
"md5_digest": "632c2bd31a856e4cf111e7415ff1df1e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 18872,
"upload_time": "2024-08-06T11:59:59",
"upload_time_iso_8601": "2024-08-06T11:59:59.418920Z",
"url": "https://files.pythonhosted.org/packages/21/47/7029d235df2cbcfaf7726acdf2c17225dd728a8105ebc1c451f43a48e199/fagents-1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-06 11:59:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Abodx9",
"github_project": "Fagents",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "fagents"
}