Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/r/e/reddit-HEAD/r2/r2/lib/captcha.py   reddit(Download)
    def getLayers(self, solution="blah"):
        self.addSolution(solution)
        return ((Backgrounds.Grid(size=8, foreground="white"),
                 Distortions.SineWarp(amplitudeRange=(5,9))),
                (Text.TextLayer(solution,

src/l/e/lesswrong-HEAD/r2/r2/lib/captcha.py   lesswrong(Download)
    def getLayers(self, solution="blah"):
        self.addSolution(solution)
        return ((Backgrounds.Grid(size=8, foreground="white"),
                 Distortions.SineWarp(amplitudeRange=(5,9))),
                (Text.TextLayer(solution,

src/p/y/PyCAPTCHA-HEAD/Captcha/Visual/Tests.py   PyCAPTCHA(Download)
    def getLayers(self):
        word = Words.defaultWordList.pick()
        self.addSolution(word)
        return [
            random.choice([
    def getLayers(self):
        word = Words.defaultWordList.pick()
        self.addSolution(word)
        return [
            Backgrounds.TiledImage(),
    def getLayers(self, solution="murray@example.com"):
        self.addSolution(solution)
 
        textLayer = Text.TextLayer(solution,
                                   borderSize = 2,