blob: 146ba7fcd9f0ea6b0cd5e82b813d31129575b0d7 [file] [log] [blame]
Fred Drake88fa9622000-09-11 05:23:25 +00001\chapter{Undocumented Modules \label{undoc}}
Guido van Rossum612316f1997-03-14 04:12:52 +00002
3Here's a quick listing of modules that are currently undocumented, but
4that should be documented. Feel free to contribute documentation for
Fred Drake9d843082003-07-30 02:55:28 +00005them! (Send via email to \email{docs@python.org}.)
Fred Drake88fa9622000-09-11 05:23:25 +00006
7The idea and original contents for this chapter were taken
8from a posting by Fredrik Lundh; the specific contents of this chapter
9have been substantially revised.
Guido van Rossum612316f1997-03-14 04:12:52 +000010
11
Fred Drake16e81f41999-02-24 19:57:14 +000012\section{Frameworks}
13
14Frameworks tend to be harder to document, but are well worth the
15effort spent.
Guido van Rossum612316f1997-03-14 04:12:52 +000016
Fred Drake272fb3a1998-04-07 14:15:28 +000017\begin{description}
Andrew M. Kuchling32dbdda2004-08-07 19:21:59 +000018\item None at this time.
Fred Drake272fb3a1998-04-07 14:15:28 +000019\end{description}
Guido van Rossum612316f1997-03-14 04:12:52 +000020
Guido van Rossum612316f1997-03-14 04:12:52 +000021
Guido van Rossum612316f1997-03-14 04:12:52 +000022\section{Miscellaneous useful utilities}
23
Fred Drakeae4d5c21999-06-23 14:56:13 +000024Some of these are very old and/or not very robust; marked with ``hmm.''
Guido van Rossum612316f1997-03-14 04:12:52 +000025
Fred Drake272fb3a1998-04-07 14:15:28 +000026\begin{description}
Fred Drakee4694eb1999-07-01 20:42:57 +000027\item[\module{bdb}]
Fred Drake88fa9622000-09-11 05:23:25 +000028--- A generic Python debugger base class (used by pdb).
Guido van Rossum612316f1997-03-14 04:12:52 +000029
Fred Drakee4694eb1999-07-01 20:42:57 +000030\item[\module{ihooks}]
Fred Drake88fa9622000-09-11 05:23:25 +000031--- Import hook support (for \refmodule{rexec}; may become obsolete).
Fred Drake272fb3a1998-04-07 14:15:28 +000032\end{description}
Guido van Rossum612316f1997-03-14 04:12:52 +000033
Guido van Rossum90858221997-08-15 02:52:46 +000034
Andrew M. Kuchling32dbdda2004-08-07 19:21:59 +000035
Guido van Rossum612316f1997-03-14 04:12:52 +000036\section{Platform specific modules}
37
Fred Drake6f49e0a1999-06-18 19:58:59 +000038These modules are used to implement the \refmodule{os.path} module,
39and are not documented beyond this mention. There's little need to
40document these.
Fred Drake560bcae1999-02-02 18:59:58 +000041
42\begin{description}
Fred Drakee4694eb1999-07-01 20:42:57 +000043\item[\module{ntpath}]
Fred Drake8b6ed262003-05-09 15:04:56 +000044--- Implementation of \module{os.path} on Win32, Win64, WinCE, and
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000045 OS/2 platforms.
Fred Drake560bcae1999-02-02 18:59:58 +000046
Fred Drakee4694eb1999-07-01 20:42:57 +000047\item[\module{posixpath}]
Fred Drake8b6ed262003-05-09 15:04:56 +000048--- Implementation of \module{os.path} on \POSIX.
Skip Montanaro6d9f45b2003-05-06 20:40:17 +000049\end{description}
50
Guido van Rossum612316f1997-03-14 04:12:52 +000051
Guido van Rossum612316f1997-03-14 04:12:52 +000052\section{Multimedia}
53
Fred Drake272fb3a1998-04-07 14:15:28 +000054\begin{description}
Fred Drakee4694eb1999-07-01 20:42:57 +000055\item[\module{audiodev}]
Fred Drake88fa9622000-09-11 05:23:25 +000056--- Platform-independent API for playing audio data.
Guido van Rossum612316f1997-03-14 04:12:52 +000057
Fred Drake326c72a2003-01-08 07:21:53 +000058\item[\module{linuxaudiodev}]
59--- Play audio data on the Linux audio device. Replaced in Python 2.3
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000060 by the \module{ossaudiodev} module.
Fred Drake326c72a2003-01-08 07:21:53 +000061
Fred Drakee4694eb1999-07-01 20:42:57 +000062\item[\module{sunaudio}]
Fred Drake88fa9622000-09-11 05:23:25 +000063--- Interpret Sun audio headers (may become obsolete or a tool/demo).
Guido van Rossum612316f1997-03-14 04:12:52 +000064
Fred Drakee4694eb1999-07-01 20:42:57 +000065\item[\module{toaiff}]
Fred Drake6f49e0a1999-06-18 19:58:59 +000066--- Convert "arbitrary" sound files to AIFF files; should probably
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000067 become a tool or demo. Requires the external program \program{sox}.
Johannes Gijsbersf654c1c2004-12-21 21:14:42 +000068\end{description}
Fred Drake326c72a2003-01-08 07:21:53 +000069
Guido van Rossum612316f1997-03-14 04:12:52 +000070
Fred Drake38e5d272000-04-03 20:13:55 +000071\section{Obsolete \label{obsolete-modules}}
Guido van Rossum612316f1997-03-14 04:12:52 +000072
Fred Drake38e5d272000-04-03 20:13:55 +000073These modules are not normally available for import; additional work
74must be done to make them available.
75
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000076%%% lib-old is empty as of Python 2.5
77% Those which are written in Python will be installed into the directory
78% \file{lib-old/} installed as part of the standard library. To use
79% these, the directory must be added to \code{sys.path}, possibly using
80% \envvar{PYTHONPATH}.
Fred Drake38e5d272000-04-03 20:13:55 +000081
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000082These extension modules written in C are not built by default.
Fred Drake38e5d272000-04-03 20:13:55 +000083Under \UNIX, these must be enabled by uncommenting the appropriate
84lines in \file{Modules/Setup} in the build tree and either rebuilding
85Python if the modules are statically linked, or building and
86installing the shared object if using dynamically-loaded extensions.
87
88% XXX need Windows instructions!
Guido van Rossumcfaf1431997-07-16 15:48:20 +000089
Fred Drake272fb3a1998-04-07 14:15:28 +000090\begin{description}
Guido van Rossume7ba4952007-06-06 23:52:48 +000091\item
92--- This section should be empty for Python 3.0.
Fred Drake272fb3a1998-04-07 14:15:28 +000093\end{description}