MediaWiki REL1_33
captcha-old.py File Reference

Go to the source code of this file.

Namespaces

namespace  captcha-old
 

Functions

 captcha-old.gen_captcha (text, fontname, fontsize, file_name)
 
 captcha-old.gen_subdir (basedir, md5hash, levels)
 
 captcha-old.pick_word (words, blacklist, verbose, nwords, min_length, max_length)
 
 captcha-old.read_wordlist (filename)
 
 captcha-old.run_in_thread (object)
 
 captcha-old.try_pick_word (words, blacklist, verbose, nwords, min_length, max_length)
 
 captcha-old.wobbly_copy (src, wob, col, scale, ang)
 

Variables

 captcha-old.action
 
 captcha-old.args
 
 captcha-old.blacklist = read_wordlist(opts.blacklist)
 
int captcha-old.chunks = 1
 
 captcha-old.count = opts.count
 
list captcha-old.data = []
 
 captcha-old.default
 
 captcha-old.dirs = opts.dirs
 
 captcha-old.fill = opts.fill
 
 captcha-old.font = opts.font
 
 captcha-old.fontsize = opts.font_size
 
 captcha-old.help
 
 captcha-old.key = opts.key
 
 captcha-old.metavar
 
 captcha-old.nonalpha = re.compile('[^a-z]')
 
 captcha-old.opts
 
 captcha-old.output = opts.output
 
 captcha-old.p = multiprocessing.Pool(threads);
 
 captcha-old.parser = OptionParser()
 
 captcha-old.script_dir = os.path.dirname(os.path.realpath(__file__))
 
 captcha-old.threads = opts.threads
 
 captcha-old.type
 
 captcha-old.verbose = opts.verbose
 
 captcha-old.wordlist = opts.wordlist
 
 captcha-old.words = None