GithubHelp home page GithubHelp logo

rickmer / flask-captcha Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agoravoting/flask-captcha

0.0 1.0 0.0 222 KB

Python Simple Captcha is an extremely simple, yet highly customizable captcha system provided as a flask extension

License: MIT License

Python 94.21% HTML 5.79%

flask-captcha's Introduction

Flask-Captcha

Python Simple Captcha is an extremely simple, yet highly customizable flask extension to use

Features

  • Very simple to setup and deploy, yet very configurable
  • Can use custom challenges (e.g. random chars, simple maths, dictionary word, ...)
  • Custom generators, noise and filter functions alter the look of the generated image
  • Supports text-to-speech audio output of the challenge text, for improved accessibility

Requirements

  • Python 3.3+
  • Flask
  • A recent version of the Python Imaging Library (Pillow 2.2+) compiled with FreeType support
  • Flite is required for text-to-speech (audio) output, but not mandatory

Troubleshooting

  • If the captcha does not render, try opening the img url link directly. If you get this error

"Python: The _imagingft C module is not installed"

You need to recompile Pillow with libfreetype6 support. To do this

$ sudo apt-get install libfreetype6-dev

$ pip uninstall pillow

$ pip install pillow

Development and releases

Developers with release credentials can upload a new version to Pypi using the following two commands:

$ python setup.py sdist upload
$ python setup.py bdist_egg upload

To create a new release, you need to:

  • update the VERSION variable in flask_captcha/init.py
  • updated the version in the setup.py script
  • create a git tag for the release

flask-captcha's People

Contributors

mbi avatar amrhassan avatar drmeers avatar viaregio avatar vstoykov avatar mikek avatar rickmer avatar ruescasd avatar nossila avatar shchemelevev avatar tomyam1-personal avatar szborows avatar artofhuman avatar sebastianw avatar digi604 avatar mingchen avatar gkmngrgn avatar daxtens avatar beniwohli avatar uruz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.