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 details)

Uploaded Source

File details

Details for the file AntFake-0.1.6.tar.gz.

File metadata

  • Download URL: AntFake-0.1.6.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for AntFake-0.1.6.tar.gz
Algorithm Hash digest
SHA256 1d645ddf19e65f0e6666ab1365ded36c4a190940b8bc4fb94c7f76b147580e52
MD5 2b4e229b1d1a39c71b211996dc11c521
BLAKE2b-256 3fa66101fb947dd241805bf7a3f02c4a79794af3affdaf2574486c6c94642969

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