Skip to main content

Like a anole, fake everything.

Project description


Like a anole, fake everything.

Currently support user agent and name fake, other will be coming soon.

Thanks for use.

How to use

from anole import UserAgent

# Suppose this is the request headers
headers = {
    "referer": ""
user_agent = UserAgent()

It will check if there is "user-agent" in headers. If not, "user-agent" will update with random.

from anole import Name

name = Name()
name.fake()   # Whole name's length is between 2 and 3.
name.fake(length=2)   # You can specify the length of the name.
name.fake(surname="李")   # And you can specify the surname.

Use as fake_useragent

from anole import UserAgent

user_agent = UserAgent()
# or
# or other browsers

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

anole-0.2.3.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

anole-0.2.3-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

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