Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 1 | .. _library-index: |
| 2 | |
| 3 | ############################### |
| 4 | The Python Standard Library |
| 5 | ############################### |
| 6 | |
Andrew M. Kuchling | bf64c04 | 2008-09-13 02:09:15 +0000 | [diff] [blame] | 7 | While :ref:`reference-index` describes the exact syntax and |
Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 8 | semantics of the Python language, this library reference manual |
| 9 | describes the standard library that is distributed with Python. It also |
| 10 | describes some of the optional components that are commonly included |
| 11 | in Python distributions. |
| 12 | |
| 13 | Python's standard library is very extensive, offering a wide range of |
| 14 | facilities as indicated by the long table of contents listed below. The |
| 15 | library contains built-in modules (written in C) that provide access to |
| 16 | system functionality such as file I/O that would otherwise be |
| 17 | inaccessible to Python programmers, as well as modules written in Python |
| 18 | that provide standardized solutions for many problems that occur in |
| 19 | everyday programming. Some of these modules are explicitly designed to |
| 20 | encourage and enhance the portability of Python programs by abstracting |
| 21 | away platform-specifics into platform-neutral APIs. |
| 22 | |
Georg Brandl | 9af9498 | 2008-09-13 17:41:16 +0000 | [diff] [blame] | 23 | The Python installers for the Windows platform usually includes |
Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 24 | the entire standard library and often also include many additional |
| 25 | components. For Unix-like operating systems Python is normally provided |
| 26 | as a collection of packages, so it may be necessary to use the packaging |
| 27 | tools provided with the operating system to obtain some or all of the |
| 28 | optional components. |
| 29 | |
| 30 | In addition to the standard library, there is a growing collection of |
Mark Summerfield | 5285760 | 2008-04-07 07:39:23 +0000 | [diff] [blame] | 31 | several thousand components (from individual programs and modules to |
| 32 | packages and entire application development frameworks), available from |
Georg Brandl | 06f3b3b | 2014-10-29 08:36:35 +0100 | [diff] [blame] | 33 | the `Python Package Index <https://pypi.python.org/pypi>`_. |
Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 34 | |
| 35 | |
| 36 | .. toctree:: |
| 37 | :maxdepth: 2 |
Georg Brandl | a0eea59 | 2009-03-28 19:57:36 +0000 | [diff] [blame] | 38 | :numbered: |
Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 39 | |
| 40 | intro.rst |
| 41 | functions.rst |
| 42 | constants.rst |
Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 43 | stdtypes.rst |
| 44 | exceptions.rst |
| 45 | |
| 46 | strings.rst |
| 47 | datatypes.rst |
| 48 | numeric.rst |
| 49 | filesys.rst |
| 50 | persistence.rst |
| 51 | archiving.rst |
| 52 | fileformats.rst |
| 53 | crypto.rst |
| 54 | allos.rst |
| 55 | someos.rst |
| 56 | ipc.rst |
| 57 | netdata.rst |
| 58 | markup.rst |
| 59 | internet.rst |
| 60 | mm.rst |
| 61 | i18n.rst |
| 62 | frameworks.rst |
| 63 | tk.rst |
| 64 | development.rst |
Georg Brandl | 0001422 | 2007-09-12 18:03:51 +0000 | [diff] [blame] | 65 | debug.rst |
Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 66 | python.rst |
| 67 | custominterp.rst |
| 68 | restricted.rst |
| 69 | modules.rst |
| 70 | language.rst |
| 71 | compiler.rst |
| 72 | misc.rst |
| 73 | windows.rst |
| 74 | unix.rst |
| 75 | mac.rst |
| 76 | macosa.rst |
| 77 | sgi.rst |
| 78 | sun.rst |
| 79 | undoc.rst |