uas
Description
This fake user agent generator does not use any external data. Instead it
randomizes browser versions for Firefox, Chrome and OS versions for MacOS,
Windows. uas also contains some static user agents for bots from Facebook,
Google and Bing.
Installation
pip install uas
Usage
import requests
from uas import chrome, firefox, bot, GOOGLE
r = requests.get("https://example.com/chrome", headers={"User-Agent": chrome()})
r = requests.get("https://example.com/firefox", headers={"User-Agent": firefox()})
r = requests.get("https://example.com/bot", headers={"User-Agent": bot()})
r = requests.get("https://example.com/google", headers={"User-Agent": GOOGLE[0]})
Metadata
Release files for uas 0.1.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 | Provenance | |
|---|---|---|---|---|
| uas-0.1.0.tar.gz | 3.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uas-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / uas-0.1.0.tar.gz
| Download URL | uas-0.1.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58117cfed561a60eb87ac4c882ca181711aa68de97e251f263377b4ed09a3fc1
|
|
BLAKE2b-256 checksum How to use checksums |
b72f607772fe55ccec554ac1cf5e6c4bb54ab9b2122f6f392a366ce5a501edca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.2
|
Release files / uas-0.1.0-py3-none-any.whl
| Download URL | uas-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
899a25dee4668391045b96d7b4d7cd4d093c5e440b97fb64b7f26e9947d3fa39
|
|
BLAKE2b-256 checksum How to use checksums |
6a710cd8263df5a28d88b2b9719e54e160220ea389de274738571c46ca6ee646
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.2
|
Security for uas 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.