Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 1 | \chapter{Internet and WWW Services} |
Guido van Rossum | 86cb092 | 1995-03-20 12:59:56 +0000 | [diff] [blame] | 2 | \nodename{Internet and WWW} |
Guido van Rossum | a8db1df | 1995-02-16 16:29:46 +0000 | [diff] [blame] | 3 | \index{WWW} |
Guido van Rossum | 470be14 | 1995-03-17 16:07:09 +0000 | [diff] [blame] | 4 | \index{Internet} |
| 5 | \index{World-Wide Web} |
Guido van Rossum | a8db1df | 1995-02-16 16:29:46 +0000 | [diff] [blame] | 6 | |
| 7 | The modules described in this chapter provide various services to |
| 8 | World-Wide Web (WWW) clients and/or services, and a few modules |
| 9 | related to news and email. They are all implemented in Python. Some |
| 10 | of these modules require the presence of the system-dependent module |
| 11 | \code{sockets}, which is currently only fully supported on Unix and |
| 12 | Windows NT. Here is an overview: |
| 13 | |
| 14 | \begin{description} |
| 15 | |
Guido van Rossum | d6304d0 | 1995-02-27 17:51:26 +0000 | [diff] [blame] | 16 | \item[cgi] |
| 17 | --- Common Gateway Interface, used to interpret forms in server-side |
| 18 | scripts. |
| 19 | |
Guido van Rossum | a8db1df | 1995-02-16 16:29:46 +0000 | [diff] [blame] | 20 | \item[urllib] |
| 21 | --- Open an arbitrary object given by URL (requires sockets). |
| 22 | |
| 23 | \item[httplib] |
| 24 | --- HTTP protocol client (requires sockets). |
| 25 | |
| 26 | \item[ftplib] |
| 27 | --- FTP protocol client (requires sockets). |
| 28 | |
| 29 | \item[gopherlib] |
| 30 | --- Gopher protocol client (requires sockets). |
| 31 | |
| 32 | \item[nntplib] |
| 33 | --- NNTP protocol client (requires sockets). |
| 34 | |
| 35 | \item[urlparse] |
| 36 | --- Parse a URL string into a tuple (addressing scheme identifier, network |
| 37 | location, path, parameters, query string, fragment identifier). |
| 38 | |
Guido van Rossum | a8db1df | 1995-02-16 16:29:46 +0000 | [diff] [blame] | 39 | \item[sgmllib] |
| 40 | --- Only as much of an SGML parser as needed to parse HTML. |
| 41 | |
Fred Drake | e1980ed | 1996-10-09 14:36:54 +0000 | [diff] [blame] | 42 | \item[htmllib] |
Guido van Rossum | 2974f0f | 1997-11-18 15:30:40 +0000 | [diff] [blame] | 43 | --- A parser for HTML documents. |
| 44 | |
| 45 | \item[xmllib] |
| 46 | --- A parser for XML documents. |
Fred Drake | e1980ed | 1996-10-09 14:36:54 +0000 | [diff] [blame] | 47 | |
Fred Drake | 08d301e | 1996-10-08 21:54:06 +0000 | [diff] [blame] | 48 | \item[formatter] |
| 49 | --- Generic output formatter and device interface. |
| 50 | |
Guido van Rossum | a8db1df | 1995-02-16 16:29:46 +0000 | [diff] [blame] | 51 | \item[rfc822] |
| 52 | --- Parse RFC-822 style mail headers. |
| 53 | |
| 54 | \item[mimetools] |
| 55 | --- Tools for parsing MIME style message bodies. |
| 56 | |
Fred Drake | 4b3f031 | 1996-12-13 22:04:31 +0000 | [diff] [blame] | 57 | \item[binhex] |
| 58 | --- Encode and decode files in binhex4 format. |
| 59 | |
| 60 | \item[uu] |
| 61 | --- Encode and decode files in uuencode format. |
| 62 | |
| 63 | \item[binascii] |
| 64 | --- Tools for converting between binary and various ascii-encoded binary |
| 65 | representation |
| 66 | |
| 67 | \item[xdrlib] |
| 68 | --- The External Data Representation Standard as described in RFC 1014, |
| 69 | written by Sun Microsystems, Inc. June 1987. |
| 70 | |
Guido van Rossum | 20af95b | 1997-03-25 22:01:35 +0000 | [diff] [blame] | 71 | \item[mailcap] |
| 72 | --- Mailcap file handling. See RFC 1524. |
| 73 | |
Guido van Rossum | e76b7a8 | 1997-04-27 21:25:52 +0000 | [diff] [blame] | 74 | \item[base64] |
| 75 | --- Encode/decode binary files using the MIME base64 encoding. |
| 76 | |
| 77 | \item[quopri] |
| 78 | --- Encode/decode binary files using the MIME quoted-printable encoding. |
| 79 | |
Guido van Rossum | b40f2a7 | 1997-06-02 17:34:40 +0000 | [diff] [blame] | 80 | \item[SocketServer] |
| 81 | --- A framework for network servers. |
| 82 | |
| 83 | \item[mailbox] |
| 84 | --- Read various mailbox formats. |
| 85 | |
Guido van Rossum | fd16ca4 | 1997-07-30 22:05:07 +0000 | [diff] [blame] | 86 | \item[mimify] |
| 87 | --- Mimification and unmimification of mail messages. |
| 88 | |
Guido van Rossum | a8db1df | 1995-02-16 16:29:46 +0000 | [diff] [blame] | 89 | \end{description} |