blob: 2558e9475988cef610e92d143a3152835f28f20e [file] [log] [blame]
Guido van Rossumecde7811995-03-28 13:35:14 +00001\chapter{Internet and WWW Services}
Guido van Rossum86cb0921995-03-20 12:59:56 +00002\nodename{Internet and WWW}
Guido van Rossuma8db1df1995-02-16 16:29:46 +00003\index{WWW}
Guido van Rossum470be141995-03-17 16:07:09 +00004\index{Internet}
5\index{World-Wide Web}
Guido van Rossuma8db1df1995-02-16 16:29:46 +00006
7The modules described in this chapter provide various services to
8World-Wide Web (WWW) clients and/or services, and a few modules
9related to news and email. They are all implemented in Python. Some
10of these modules require the presence of the system-dependent module
11\code{sockets}, which is currently only fully supported on Unix and
12Windows NT. Here is an overview:
13
14\begin{description}
15
Guido van Rossumd6304d01995-02-27 17:51:26 +000016\item[cgi]
17--- Common Gateway Interface, used to interpret forms in server-side
18scripts.
19
Guido van Rossuma8db1df1995-02-16 16:29:46 +000020\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
37location, path, parameters, query string, fragment identifier).
38
Guido van Rossuma8db1df1995-02-16 16:29:46 +000039\item[sgmllib]
40--- Only as much of an SGML parser as needed to parse HTML.
41
Fred Drakee1980ed1996-10-09 14:36:54 +000042\item[htmllib]
43--- A (slow) parser for HTML documents.
44
Fred Drake08d301e1996-10-08 21:54:06 +000045\item[formatter]
46--- Generic output formatter and device interface.
47
Guido van Rossuma8db1df1995-02-16 16:29:46 +000048\item[rfc822]
49--- Parse RFC-822 style mail headers.
50
51\item[mimetools]
52--- Tools for parsing MIME style message bodies.
53
Fred Drake4b3f0311996-12-13 22:04:31 +000054\item[binhex]
55--- Encode and decode files in binhex4 format.
56
57\item[uu]
58--- Encode and decode files in uuencode format.
59
60\item[binascii]
61--- Tools for converting between binary and various ascii-encoded binary
62representation
63
64\item[xdrlib]
65--- The External Data Representation Standard as described in RFC 1014,
66written by Sun Microsystems, Inc. June 1987.
67
Guido van Rossum20af95b1997-03-25 22:01:35 +000068\item[mailcap]
69--- Mailcap file handling. See RFC 1524.
70
Guido van Rossume76b7a81997-04-27 21:25:52 +000071\item[base64]
72--- Encode/decode binary files using the MIME base64 encoding.
73
74\item[quopri]
75--- Encode/decode binary files using the MIME quoted-printable encoding.
76
Guido van Rossumb40f2a71997-06-02 17:34:40 +000077\item[SocketServer]
78--- A framework for network servers.
79
80\item[mailbox]
81--- Read various mailbox formats.
82
Guido van Rossumfd16ca41997-07-30 22:05:07 +000083\item[mimify]
84--- Mimification and unmimification of mail messages.
85
Guido van Rossuma8db1df1995-02-16 16:29:46 +000086\end{description}