Skip to main content

Generates safe and dummy usable user agent

Project description

UserAgentReplica

Description

UserAgentReplica is a Python package that provides functionality for simulating different 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 ]
  • 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)

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.0.1.tar.gz (2.2 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.0.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for useragentreplica-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8e83f9ca4d271666c1da7d52209d8b2f4a8ca3de8f1d39810ee79d7efa7313be
MD5 a747334878097c41c3d23afc5aa6b699
BLAKE2b-256 e02c6d2c41ec6741cef89c3283d08a78399e043d55c15cfe79e9a39a597ec63b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for UserAgentReplica-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56661b9dd9d6869d3f65a5fc0871e321234d4785cf8294bccbcfd489c673a664
MD5 d7501ac77054576a0dffb50015aea03d
BLAKE2b-256 465f08cbc3f7fbe031b80cd8e70b71ef3b4b07b45c76d8a8fd6053611a700a70

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