This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Drawsomething word guess helper.

Project Description

Help you guess drawsomething words by brute force all permutations.

Depends

  • pyenchant
  • google-translate

Install Guide

Take OS X for example.

Drawsomething depends on enchant to do spell checking.

As pyenchant is only a python binding for enchant, we need to install enchant first. And we also need to install aspell with en dict because enchant use aspell as backend.

$ brew install aspell --lang=en
$ brew install enchant
$ pip install pyenchant google-translate

Usage

One line script to generate all possible words:

>>> import drawsomething
>>> drawsomething.get_words('esttxyz', 4)
['ttys', 'sexy', 'yest', 'text', 'sett', 'zest', 'stet', 'test']

To list words with translations:

>>> import drawsomething
>>> words = drawsomething.get_words('esttxyz', 4)
>>> for w in words:
>>>     trans = drawsomething.translate(w, 'zh_cn').lower()
>>>     print w, trans

The drawsth is a cli script to list all possible words:

$ drawsth -l 4 -c esttxyz
ttys
sexy
yest
text
sett
zest
stet
test
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
drawsomething-0.1.0.tar.gz (2.4 kB) Copy SHA256 Checksum SHA256 Source Aug 29, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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