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
pip3 install -U yan-random-useragent
Basic usage
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)
Metadata
Release files for generate-random-useragent 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| generate_random_useragent-1.0.0.tar.gz | 1.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| generate_random_useragent-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
| Generate_Random_Useragent-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / generate_random_useragent-1.0.0.tar.gz
| Download URL | generate_random_useragent-1.0.0.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
406b4a5ae50080a7272fb7478c6ed6f3d4f433e5d78837bcb57ede4d79891070
|
|
BLAKE2b-256 checksum How to use checksums |
20a6f96828295a3d5b14a5c52f0b4b2fb00dd99794e3c2ce8e2622b9ab1b35af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.7
|
Release files / generate_random_useragent-1.0.0-py3-none-any.whl
| Download URL | generate_random_useragent-1.0.0-py3-none-any.whl |
|---|---|
| Size | 1.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3520c7bda7f1c8785f2e0bd02905bcc6afcd348d72217bb9e965ec9bd5e7c7c7
|
|
BLAKE2b-256 checksum How to use checksums |
5459fda28ba1751a5f9bbddcfd656f76895c216d2a1bce65a99bd4b148f7788c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.7
|
Release files / Generate_Random_Useragent-1.0.0-py3-none-any.whl
| Download URL | Generate_Random_Useragent-1.0.0-py3-none-any.whl |
|---|---|
| Size | 1.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60a666f639d10493ebd4be64b86d884c766cd7b0132ec4c03c174f825322dd2c
|
|
BLAKE2b-256 checksum How to use checksums |
4e473daf3ae0e5f248062fe618d76b7f229768fd8f22a6cabd80725beb34e124
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.7
|