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 - dougwritescode@gmail.com

### 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.

Source Distribution

xkcdpassword-0.6.6.tar.gz (163.3 kB view details)

Uploaded Source

File details

Details for the file xkcdpassword-0.6.6.tar.gz.

File metadata

  • Download URL: xkcdpassword-0.6.6.tar.gz
  • Upload date:
  • Size: 163.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xkcdpassword-0.6.6.tar.gz
Algorithm Hash digest
SHA256 49f71d1be7ec4dde4c55ce04ea3bafaacc601b0e274178a35cb2d90579f37abf
MD5 acb6a1548b3a2467a464162f69592197
BLAKE2b-256 8c7c7b1570e5aa8eec1975e56208d15918b71985598ea7cebb0fc13def4c5b03

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