blob: dc35b09dff66e92a0edbac91773d9b7e8394c613 [file] [log] [blame]
Georg Brandl116aa622007-08-15 14:28:22 +00001.. _library-index:
2
3###############################
4 The Python Standard Library
5###############################
6
7:Release: |version|
8:Date: |today|
9
Benjamin Petersond7b03282008-09-13 15:58:53 +000010While :ref:`reference-index` describes the exact syntax and
Georg Brandl116aa622007-08-15 14:28:22 +000011semantics of the Python language, this library reference manual
12describes the standard library that is distributed with Python. It also
13describes some of the optional components that are commonly included
14in Python distributions.
15
16Python's standard library is very extensive, offering a wide range of
17facilities as indicated by the long table of contents listed below. The
18library contains built-in modules (written in C) that provide access to
19system functionality such as file I/O that would otherwise be
20inaccessible to Python programmers, as well as modules written in Python
21that provide standardized solutions for many problems that occur in
22everyday programming. Some of these modules are explicitly designed to
23encourage and enhance the portability of Python programs by abstracting
24away platform-specifics into platform-neutral APIs.
25
Georg Brandlc575c902008-09-13 17:46:05 +000026The Python installers for the Windows platform usually includes
Georg Brandl116aa622007-08-15 14:28:22 +000027the entire standard library and often also include many additional
28components. For Unix-like operating systems Python is normally provided
29as a collection of packages, so it may be necessary to use the packaging
30tools provided with the operating system to obtain some or all of the
31optional components.
32
33In addition to the standard library, there is a growing collection of
Christian Heimes5e696852008-04-09 08:37:03 +000034several thousand components (from individual programs and modules to
35packages and entire application development frameworks), available from
36the `Python Package Index <http://pypi.python.org/pypi>`_.
Georg Brandl116aa622007-08-15 14:28:22 +000037
38
39.. toctree::
40 :maxdepth: 2
Benjamin Peterson5879d412009-03-30 14:51:56 +000041 :numbered:
Georg Brandl116aa622007-08-15 14:28:22 +000042
43 intro.rst
44 functions.rst
45 constants.rst
Georg Brandl116aa622007-08-15 14:28:22 +000046 stdtypes.rst
47 exceptions.rst
48
Nick Coghlan273069c2012-08-20 17:14:07 +100049 text.rst
50 binary.rst
Georg Brandl116aa622007-08-15 14:28:22 +000051 datatypes.rst
52 numeric.rst
Georg Brandl77041b22011-01-06 09:23:19 +000053 functional.rst
Georg Brandl116aa622007-08-15 14:28:22 +000054 filesys.rst
55 persistence.rst
56 archiving.rst
57 fileformats.rst
58 crypto.rst
59 allos.rst
60 someos.rst
61 ipc.rst
62 netdata.rst
63 markup.rst
64 internet.rst
65 mm.rst
66 i18n.rst
67 frameworks.rst
68 tk.rst
69 development.rst
Georg Brandl546e2d62007-09-12 18:04:37 +000070 debug.rst
Georg Brandl116aa622007-08-15 14:28:22 +000071 python.rst
72 custominterp.rst
73 modules.rst
74 language.rst
75 misc.rst
76 windows.rst
77 unix.rst
Georg Brandl116aa622007-08-15 14:28:22 +000078 undoc.rst