Ant is library for generation random string, float, eth address and pk, etc
Project description
Ant Fake
Install
pip install AntFake==0.1.1
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.5.tar.gz
(3.5 kB
view hashes)