Skip to main content

python-rndua

PyPI version

A python module that generate random user agent based on rules

Why?

Most random user agent generator just randomly pick from a large list. This one is based on rule and software version lists, generate user agent that seems legit but may not actually exist. The goal is to generate user agent that seems as legit as possible but also keep code complexity low.

Currently supported user agent types

  • {Chrome, Firefox} on {Android, Windows, OS X}

How it works?

Besides the source code, data.md may give you some hints.

Basic usage

from rndua.rndua import RandomUAGenerator
rg=RandomUAGenerator()
rg.get_random_user_agent()

Advanced usage

See the source code, it's short.

Metadata

Release files for rndua 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rndua 0.0.2
File Size Uploaded Provenance Actions
rndua-0.0.2.tar.gz 8.2 kB Without provenance Details for rndua-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rndua 0.0.2
File Interpreter ABI Platform Actions
rndua-0.0.2-py3-none-any.whl Python 3 none any Details for rndua-0.0.2-py3-none-any.whl

Total release size: 17.9 kB

Release files / rndua-0.0.2.tar.gz

Download URL rndua-0.0.2.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e1f772de721ab4c5442dc456b64e1707aa00317dd8e7b75820e6eef289462a34
BLAKE2b-256 checksum
How to use checksums
df5d1cbcea550779b39d9e92d80ad66ea8f19dcc61cea0b8c07c483f17316fa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

Release files / rndua-0.0.2-py3-none-any.whl

Download URL rndua-0.0.2-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
001308a5e7e1f8dc673a965898700ca233aa41e4e23b3eaf22bd7900632f7dae
BLAKE2b-256 checksum
How to use checksums
f8f7aa6b9aae2149c8d11754921305e4ccf12ebb4d757a217c8fdaf6eea8f4a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

Security for rndua 0.0.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page