Skip to main content

Generates safe and dummy usable user agent and xms user agent

Project description

UserAgentReplica

Description

UserAgentReplica is a Python package that provides functionality for simulating different user agents and xms user agents. This can be useful for web scraping, testing, or any other situation where you need to mimic various types of web clients.

Features

  • Safe to use in various platforms
  • Simulate a variety of user agents [ Chrome, Safari & Firefox ]
  • Simulate a random variety of xm user agents.
  • Easy integration with existing projects
  • Lightweight and simple to use

Installation

You can install UserAgentReplica using pip:

pip install UserAgentReplica

Example Uses

Here is an example of how to use the UserAgentReplica library to generate a random user agent:

from UserAgentReplica import UserAgent

# Create an instance of UserAgent
agent = UserAgent()

# Get a random user agent
random_user_agent = agent.random_browser()
print(random_user_agent)

# Get a chrome user agent
chrome_user_agent = agent.chrome()
print(chrome_user_agent)

# Get a firefox user agent
firefox_user_agent = agent.firefox()
print(firefox_user_agent)

# Get a safari user agent
safari_user_agent = agent.safari()
print(safari_user_agent)

Here is an example of how to use the UserAgentReplica library to generate a random xms user agent:

from UserAgentReplica import XMsUserAgent

# Create an instance of UserAgent
agent = XMsUserAgent()

# Get a random xms user agent
random_user_agent = agent.random()
print(random_user_agent)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

useragentreplica-1.1.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

UserAgentReplica-1.1.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file useragentreplica-1.1.1.tar.gz.

File metadata

  • Download URL: useragentreplica-1.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.1

File hashes

Hashes for useragentreplica-1.1.1.tar.gz
Algorithm Hash digest
SHA256 74cf4f4731abf370c28af7ca007a9c516a82ee1bb7cf75d076b39ea2be140f5d
MD5 6003d04e6dfb90effeb8e48c23f94f42
BLAKE2b-256 6bf96dde13c2ee731a2d7f7593047ff7c6b9b01b0ceb4c03d2c34b91fe3a5fa8

See more details on using hashes here.

File details

Details for the file UserAgentReplica-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for UserAgentReplica-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf4963e2bf8a8523c7c6ec13fcab555b318af11ab799891e7419f96d1aa8e537
MD5 5f2353baa1843d4d4c074f461fd36b83
BLAKE2b-256 36d4ab09a57b91f17fb2cd2ca300c3389c52a62cf7f9e9f8812a5904af2530a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page