This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Wordlist
Build Status Coverage Status Requirements Status

Generates all possible permutations of a given charset.

Developed by Alex Pellegrini.

Code and performance optimisation by Daniele Bonadiman.

Installing:

$ pip install wordlist
Usage:

There are two ways to use wordlist (command line, python)

Command-line

Generate all the possible words with a given charset:

$ wordlist [charset]
Generate all the possible words with length within a given interval (e.g. from 2 to 5):

$ wordlist [charset] -m 2 -M 5
Generate following a given pattern:

$ wordlist [charset] @@q@@er@t@y
Save a list to file:

$ wordlist [charset] -o list.txt
or:

$ wordlist [charset] > list.txt
Python

Generate all the possible words with length within a given interval (e.g. from 2 to 5):

import wordlist
generator = wordlist.Generator('charset')
for each in generator.generate(2, 5):
print(each)
Generate following a given pattern:

import wordlist
generator = wordlist.Generator('charset')
for each in generator.generate_with_pattern('@@q@@er@t@y'):
print(each)
[charset]

There are to ways to pass the charset to the script:

A simple list of characters

$ wordlist abcxyz987

A list of ranges following the simple regex (\w-\w)

$ wordlist a-z0-9A-Z

Pattern

The pattern should be like:

@@q@@er@t@y

The script will replace every @ symbol with every letter in the charset so as to get every possible permutation. Every other symbol will be a fixed character present in every string. In this example, every generated string will contain a q at the 3rd position an e at the 6th and so on.

Contributing

$ git clone https://github.com/rexos/wordlist.git
$ cd wordlist
$ pip install -r requirements.txt
$ nosetests
And open a pull request!
Release History

Release History

1.0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wordlist-1.0.1.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source May 15, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting