Skip to main content

Generate random email addresses

Project description

Emgen 📧

Versioning: CalVer Code style: black License: MIT PyPI

Emgen generates random email addresses.

asciicast

Installation

Emgen is available on PyPI and is installable with pip:

$ pip3 install --user emgen

Usage

$ emgen --help
usage: emgen [-h] [-c] [-d DOMAIN] [-l LENGTH] [-v]

Generate random email addresses.

optional arguments:
  -h, --help            show this help message and exit
  -c, --clipboard       copy addr to clipboard (default: False)
  -d DOMAIN, --domain DOMAIN
                        set the addr domain portion (default: example.com)
  -l LENGTH, --length LENGTH
                        length of the local-part (from 1 to 64) (default: 8)
  -v, --version         show program's version number and exit

Generate an email address for your domain corgi.example:

$ emgen --domain corgi.example
aiemil8u@corgi.example

Generate a long email address for your domain dane.example:

$ emgen --domain dane.example --length 16
vqjo0h8y4z2dgetd@dane.example

Make an alias to generate an address and copy it to your clipboard:

$ alias em="emgen -d greyhound.example -l12 --clipboard"
$ em
yx4su4olx2uq@greyhound.example
$ # display the contents of your clipboard:
$ xclip -sel clip -o
yx4su4olx2uq@greyhound.example

License

Emgen is released under the MIT License.

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

emgen-2020.1.3.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

emgen-2020.1.3-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

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