Skip to main content

A lightweight Python library for generating random User-Agent headers for anonymity and testing.

Project description

Smart AI Agent

This library is designed for professional anonymity. It is equipped with modern technologies to generate advanced user-agents. In addition, it can generate proxies, test them, and extract only the working proxies.

Installation

pip install smart-Ai-agent

Usage

Generate User-Agent for Various Operating Systems

from smart_Ai_agent import RandUserAgent

user_agent = RandUserAgent.get_user_agent()
print(user_agent)
# can you use fixed divece
#   'iphone' ,  'windows', 'mac','linux' , 'tablet','random' 
# example used create iphone
user_agent = RandUserAgent.get_user_agent('iphone')
print(user_agent)

# Get a Random User-Agent for Phones Only

user_agent = RandUserAgent.get_random_mobile_ua()
print(user_agent)

Create proxies

from smart_Ai_agent import Proxy
# Bring the latest and best proxies
ip = Proxy(deep=False).get_proxy()    # deep=True    is used Deep Fetch Proxies
print(ip) # output list proxy
# To make a serial output
# use 
for i in ip:
    print(i)
    print('-'*40)

CHECK PROXY

from smart_Ai_agent import Proxy
ch , ip = Proxy.check('143.198.42.182:31280') # auto verify is True
print(ch,ip)
#Output  True , 143.198.42.182

# verify False
ch , ip = Proxy.check('143.198.42.182:31280',verify=False)


# verify True
ch , ip = Proxy.check('143.198.42.182:31280',verify=True)

Extract and check proxies

from smart_Ai_agent import Proxy
proxies = Proxy(deep=True).get_proxy()
for i in proxies:
    # print(i)
    ch,ip = Proxy.check(i)
    print(ch,ip)
    print('-'*40)

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

smart_ai_agent-0.8.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

smart_ai_agent-0.8-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file smart_ai_agent-0.8.tar.gz.

File metadata

  • Download URL: smart_ai_agent-0.8.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for smart_ai_agent-0.8.tar.gz
Algorithm Hash digest
SHA256 2412d4c5e0c221efdeb423b1a8faa4491f402137b3e7863be8ce7d1fb245c5be
MD5 33d768875c8462ae562318e237aa26c4
BLAKE2b-256 ab7d6648fb06ea0f085a56bf014585cd2514e5be10bdeb9e90d863411e303b2a

See more details on using hashes here.

File details

Details for the file smart_ai_agent-0.8-py3-none-any.whl.

File metadata

  • Download URL: smart_ai_agent-0.8-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for smart_ai_agent-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 98ca48ef18733dc53238faa2133b3c8204f8c384b15d3b2f6f6bfd9eaa0b97a3
MD5 d1aa3d71dbf5aa45064a3bb1ff4bd287
BLAKE2b-256 66d4587b6cf8c1d788dd0f04f29a9f4683384e8dc41f9d88fa9fb7cec4f7c8e2

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