Skip to main content

Anole

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": "https://leesoar.com"
}
user_agent = UserAgent()
user_agent.fake(headers)

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()
user_agent.random
# or user_agent.chrome
# or other browsers

Metadata

Release files for anole 0.2.3

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

Source distribution (sdist)

Source distribution for anole 0.2.3
File Size Uploaded
anole-0.2.3.tar.gz 4.9 kB Details

Built distribution (wheel)

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

Total release size: 10.4 kB

Release files / anole-0.2.3.tar.gz

Download URL anole-0.2.3.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ddfeba110d04a2a26afaf29a7572effa5cd5a1d871e0db369c1d895e9d6c606f
BLAKE2b-256 checksum
How to use checksums
441d4a293a2dc7cd25c6497991609e20c072be14810741a160b88596190007a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.0.2rc1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6

Release files / anole-0.2.3-py3-none-any.whl

Download URL anole-0.2.3-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3eb1aa3d2f7438508cb004c280c0aaaf59651861c64919269e70df39c0c958ec
BLAKE2b-256 checksum
How to use checksums
a73de7ed1222456d3cb5a105627bb53f7857c23ac5502c6ce0c8d614115886a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.0.2rc1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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