Skip to main content

Python module for generating random emails

Project description

Python module for generating random emails and names and surnames


Initially import:

from genemails import GET_EMAIL
To generate one random email:
email=GET_EMAIL.generate_email()
To generate many emails use:
manyemails=GET_EMAIL.generate_emails(15) #It will return string separated by comma
To get random 1st or surname name:
fisrtname=GET_EMAIL.get_firstname()
surname=GET_EMAIL.get_sndname()
To Generate random address and telephone number:
data['address'],data['tel']=gml.generate_address()
for example: 'address': 'UnitedKingdom city.Bangor str.Bell Inn Yard h.63 ft.182' To generate specific email based on real name pass parameters:
email=gml.generate_email(firstname=data['firstname'],secondname=data['sndname'])

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

getemails-0.1.7.tar.gz (100.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