Skip to main content

Ant is library for generation random string, float, eth address and pk, etc

Project description

Ant Fake

Github repository

PyPi

Install

pip install AntFake

Get random string

from AntFake.ant_fake import r_string
random_string = r_string(length=16, space=True)

>>> 'Sdw rrvSfreHL fs'

Random eth address

from AntFake.ant_fake import address
random_addr = address()

>>> '1a1ec25DC08e98e5E93F1104B5e5cdD298707d31'

Random float

from AntFake.ant_fake import r_digital
random_addr = r_digital(start=0, end=1000, decimals=8)

>>> 26.42244885

Random digital

from AntFake.ant_fake import r_digital
random_addr = r_digital(start=0, end=1000)

>>> 197

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

AntFake-0.1.6.tar.gz (3.5 kB view hashes)

Uploaded Source

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