Skip to main content

RandomUAgents

Library for fetching random user agents based on device type (desktop, mobile, etc.).

Installation

You can install the library using pip:

pip install randomuagents

Usage

Get random user-agent

ua_instance = UA()
random_ua = ua_instance._uGet()
print(random_ua)

Get random user-agent for desktop

ua_instance = UA("desktop")
random_ua = ua_instance._uGet()
print(random_ua)

Get random user-agent for mobile

ua_instance = UA("mobile")
random_ua = ua_instance._uGet()
print(random_ua)

Release files for randomuagents 1.0.6

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

Source distribution (sdist)

Source distribution for randomuagents 1.0.6
File Size Uploaded
randomuagents-1.0.6.tar.gz 10.1 kB Details

Built distribution (wheel)

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

Total release size: 26.9 kB

Release files / randomuagents-1.0.6.tar.gz

Download URL randomuagents-1.0.6.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4bb52797ebc0ef7a29e4f8cf9885749175c66648fd3eb60fb92b2a22119e0c6d
BLAKE2b-256 checksum
How to use checksums
16a953c055d23b57ae193705970b8be57ce871e39da8ced28af8d41d857c5653
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / randomuagents-1.0.6-py3-none-any.whl

Download URL randomuagents-1.0.6-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9161920b655157ef59c74f7a362122534cd5ac04e72c06e0520d951d1e079150
BLAKE2b-256 checksum
How to use checksums
034e0e55f9015234afacd022fbdce261f3384af8654f8dba286f4a4c0ca27c9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

0.0.2

2 release files

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