Skip to main content

A generator of xkcd-style passwords

Project description

xkcdpassword =

A simple, pure Python, Xkcd-style password generator.

e.g: “correct horse battery staple”

When invoked, this package will generate a short list of unique words, perhaps to a specified number, and then return them on sys.std.out. The user can also specify to remove spaces so the output can be easily copy-pasted or piped. The word list is customizable (words.txt), and already curated for length.

### Prerequisites

Python 2.7 Pyperclip

### Installing

sudo pip install xkcdpassword

### Using

$ xkcdpassword -> correct horse battery staple

$ xkcdpassword -ns -> correcthorsebatterystaple

$ xkcdpassword 3 -> correct horse battery

$ xkcdpassword -ns 6 -> correcthorsebatterystaplethingexplainer

$ xkcdpassword -h -> Syntax help

### Authors

  • Doug Walter -

### License

This project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details

## Acknowledgments

  • Randall Patrick Munroe, the ruler of the geek pantheon.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for xkcdpassword, version 0.6.6
Filename, size File type Python version Upload date Hashes
Filename, size xkcdpassword-0.6.6.tar.gz (163.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page