87
|
1 ======================
|
|
2 Python CAPTCHA package
|
|
3 ======================
|
|
4
|
|
5 About
|
|
6 -----
|
|
7
|
|
8 This is the PyCAPTCHA package, a collection of Python modules
|
|
9 implementing CAPTCHAs: automated tests that humans should pass,
|
|
10 but current computer programs can't. These tests are often
|
|
11 used for security.
|
|
12
|
|
13 See http://www.captcha.net for more information and examples.
|
|
14
|
|
15 This project was started because the CIA project, written in
|
|
16 Python, needed a CAPTCHA to automate its user creation process
|
|
17 safely. All existing implementations the author could find were
|
|
18 written in Java or for the .NET framework, so a simple Python
|
|
19 alternative was needed.
|
|
20
|
|
21 Examples
|
|
22 --------
|
|
23
|
|
24 Included are several example programs:
|
|
25
|
|
26 - simple_example.py is a bare-bones example that just generates
|
|
27 and displays an image.
|
|
28
|
|
29 - http_example.py is a longer example that uses BaseHTTPServer
|
|
30 to simulate a CAPTCHA's use in a web environment. Running this
|
|
31 example and connecting to it from your web browser is a quick
|
|
32 and easy way to see PyCAPTCHA in action
|
|
33
|
|
34 - modpython_example.py is a version of http_example that runs
|
|
35 from an Apache server equipped with a properly configured
|
|
36 mod_python.
|
|
37
|
|
38
|
|
39 Dependencies
|
|
40 ------------
|
|
41
|
|
42 - Python 2.2.1 or later
|
|
43 - the Python Imaging Library, required for visual CAPTCHAs
|
|
44
|
|
45
|
|
46 Contacts
|
|
47 --------
|
|
48
|
|
49 Micah Dowty <micah@navi.cx>
|
|
50
|
|
51 'scanline' on irc.freenode.net
|