annotate data_generation/transformations/pycaptcha/README @ 322:743907366476

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