brian wickman - @wickman
[TOC]
Pants makes the manipulation and distribution of hermetically sealed Python environments
| """ | |
| Fabric tunneling utilities | |
| by shn@glucose.jp | |
| class ForwardServer and relates things are refere Robey Pointer's paramiko example. | |
| (http://bazaar.launchpad.net/~robey/paramiko/trunk/annotate/head%3A/demos/forward.py) | |
| usage:: | |
| with make_tunnel('[email protected]:10022') as t: |
| import logging | |
| import random | |
| import time | |
| from google.appengine.api.memcache import Client as mcClient | |
| mc = mcClient() | |
| NS = "mtx" | |
| class Mutex: |
| import re | |
| # http://atomboy.isa-geek.com/plone/Members/acoil/programing/double-metaphone | |
| from metaphone import dm as double_metaphone | |
| # get the Redis connection | |
| from jellybean.core import redis | |
| import models | |
| # Words which should not be indexed |