🐍
My Docs
PYTHONNOTES
PYTHONNOTES
  • Home
  • Downloads & Misc-Assets
  • README
  • Navigation
  • Curriculum
    • Outline
      • General Content
      • Python-Data-Structures-Unit
    • wk17
      • Outline-w17
      • homework
      • D1-Module 01 - Python I
        • Configuring Ubuntu for Python Web Development
        • Install Python
      • D2- Module 02 - Python II
      • D3- Module 03 - Python III
      • D4-Module 04 - Python IV
    • wk18
      • Outline-W-18
      • D1- Module 01 - Number Bases and Character Encoding
      • D2- Module 02 - Hash Tables I
        • Hash Table / Hash Map In Python:
        • Hash Table Use Cases
        • Practice
      • D3-Module 03 - Hash Tables II
      • D4- Module 04 - Searching and Recursion
    • wk19
      • Outline-W-19
      • D1- Module 01 - Linked Lists
        • Homework
          • Helpful Resource
      • D2- Module 02 - Queues and Stacks
      • D3- Module 03 - Binary Search Trees
        • BST Definition:
      • D4- Module 04 - Tree Traversal
        • Tree Traversals (Inorder, Preorder and Postorder)
    • wk20
      • Outline-W-20
      • D1-Graphs I
      • D2-Graphs 2
      • DFS
      • D4
  • Utilities
    • Utilites
      • Python Libraries
      • YouTube
      • Code Lab Notebook Embeds From Lecture
    • Code lab Notebooks
    • Repl.IT
      • Trinket
  • Abstract Data Structures
    • Algorithms
      • Algo-Resources
        • List-Of-Solutions-To-Common-Interview-Questions
      • Dijkstra's algorithm
      • Calculate a Factorial With Python - Iterative and Recursive
      • DFS
      • BFS
        • BFS Examples
      • Palendrome
    • Data Structures Overview
      • General Data Structures Notes
        • DS-Explained-Simple
      • Untitled
      • Algorithms
      • Dictionary
    • Abstract Data Structures:
      • Array
        • Extra-Array
        • Array Practice
      • Binary Search
      • Binary Tree
        • Binary Tree Explained
        • Find the maximum path sum between two leaves of a binary tree
      • Binary Search Tree
        • BST Explained
        • BST Insert
        • BST-Largest-Sub-Tree
      • Exotic
        • Tire
        • Dynamic Programming
      • Graphs
        • Overflow Practice Problems
        • Graphs Explained
        • Earliest Ancestor
        • _Mini Graph-Projects
          • # Social Graph
          • number of 1 islands
          • Searching and Generating Graphs
        • Graph FAQ
          • Graph DFS
        • Connected Components
        • Randomness
        • Graph BFS
        • Topological Sort
      • Hash Table
        • Hashmap or Hash tables
        • Hash Table and HashMap in Python
      • Heap
        • Heap Examples
      • String
      • Map
        • Examples
      • Queue
        • Queue Continued...
        • Queue Sandbox
        • Dequeue
      • Tree
        • In Order Traversal
        • Tree Equal ?
        • Ternary-search-trees
        • Red_Black Tree
        • Tree Mirror:
        • Tree Traversal
      • Recursion
        • Recursion Explained
          • Recursion Examples
      • Linked List
        • Linked List Background
        • Double Linked List
        • List Example
        • Examples (LL) continued
        • List Operations
      • Set
        • Set
        • Set Intersection Union
        • Disjoint Set
      • Sorting
        • In JavaScript
        • Merge Sort
        • Iterative Sorting
        • Recursive Sorting
        • Graph Topological Sort
        • SelectionSort
        • Quick Sort
        • Merge Sort
        • Insertion Sort
      • Stack
        • Stack Continued
        • Stack Part 3
      • Searching
        • Binary Search
        • Searching & Sorting Computational Complexity (JS)
  • practice
    • GCA Sprint Prep:
      • Practice Problems
      • Code Signal CGA Sprint Resources
      • CGA-Sprint Prep
    • Supplemental Practice:
      • Practice
      • JavaScript Algorithms
      • Industry Standard Algorithms
        • Interview Practice Resources
        • Write a Program to Find the Maximum Depth or Height of a Tree
      • Random Examples
      • Prompts
      • JS_BASICS
  • Resources
    • Python Cheat Sheet
      • Cheatsheet-v2
      • List Of Python Cheat Sheets
    • Youtube
    • PDF Downloads
    • Intro 2 Python
    • Dictionaries
      • Dictionaries Continued
    • Python VS JavaScript
    • Misc. Resources
    • Things To Internalize:
      • Functions
    • Intro To Python w Jupyter Notebooks
    • Calculating Big O
    • Useful Links
      • Awesome Python
      • My-Links
      • Beginners Guide To Python
  • Docs
    • Docs
      • Strings
        • Strings Continued
      • Touple
      • Values Expressions & Statments
      • Dictionaries, sets, files, and modules
        • Modules
      • Built-in Types
      • Built In Functions
        • Zip Function
      • Functions
      • Classes and objects
        • Inheritance
        • Classes
          • Python Objects & Classes
          • index
      • Dictionaries
      • Conditionals and loops
      • Lists
        • Reverse A List
        • Python Data Structures
        • More On Lists
        • Examples
          • More-Examples
        • List Compehensions
      • Basic Syntax
      • String-Methods
    • Queue & Stacks
  • quick-reference
    • My Medium Articles
    • Free Python Books
    • WHY Python?
    • Debugging
    • Python Snippets
    • Python3 Regex
    • Python Module Index:
      • Requests Module
    • Creating Python Modules
    • Useful Info
    • Python Glossary
    • Python Snippets
  • MISC
    • Built-in Methods & Functions
    • Data Structures Types
    • Math
    • Unsorted Examples
    • Outline
    • About Python
      • Python VS JavaScript
      • Python Modules & Python Packages
      • Misc
      • Python's Default Argument Values and Lists
      • SCRAP
  • Interview Prep
    • Interview Resources
      • By Example
        • Algo-Prep
      • Permutation
      • How to Write an Effective Resume of Python Developer
      • Interview Checklist
      • 150 Practice Problems & Solutions
  • Installations Setup & Env
    • python-setup
    • Installing Python Modules
    • Set Up Virtual Enviornment
  • Aux-Exploration
    • Related Studies
      • Self-Organizing Maps: Theory and Implementation in Python with NumPy
      • List Directory Contents
      • Employee Manager
      • OS Module
      • server-side-scripting
      • Web Scraping
      • Reading and Writing to text files in Python
      • General Data Structures
      • Touple
      • How to round Python values to whole numbers?
      • Python Array Module
      • Data Structures In JavaScript
      • Dunder Methods
      • Python GitHub API
      • JS-Event Loop
      • JavaScript Event Loop
      • Manipulating Files & Folders
  • experiments
    • Untitled
Powered by GitBook
On this page
  • Installing Python Modules
  • Key terms
  • Basic usage
  • How do I …?
  • Common installation issues
  • The Python Standard LibraryΒΆ
  1. Installations Setup & Env

Installing Python Modules

Previouspython-setupNextSet Up Virtual Enviornment

Last updated 3 years ago

Installing Python Modules

Email

As a popular open source development project, Python has an active supporting community of contributors and users that also make their software available for other Python developers to use under open source license terms.

This allows Python users to share and collaborate effectively, benefiting from the solutions others have already created to common (and sometimes even rare!) problems, as well as potentially contributing their own solutions to the common pool.

This guide covers the installation part of the process. For a guide to creating and sharing your own Python projects, refer to the .

Note

For corporate and other institutional users, be aware that many organisations have their own policies around using and contributing to open source software. Please take such policies into account when making use of the distribution and installation tools provided with Python.

Key terms

  • pip is the preferred installer program. Starting with Python 3.4, it is included by default with the Python binary installers.

  • A virtual environment is a semi-isolated Python environment that allows packages to be installed for use by a particular application, rather than being installed system wide.

  • venv is the standard tool for creating virtual environments, and has been part of Python since Python 3.3. Starting with Python 3.4, it defaults to installing pip into all created virtual environments.

  • virtualenv is a third party alternative (and predecessor) to venv. It allows virtual environments to be used on versions of Python prior to 3.4, which either don’t provide venv at all, or aren’t able to automatically install pip into created environments.

  • The is a public repository of open source licensed packages made available for use by other Python users.

  • the is the group of developers and documentation authors responsible for the maintenance and evolution of the standard packaging tools and the associated metadata and file format standards. They maintain a variety of tools, documentation, and issue trackers on both and .

  • distutils is the original build and distribution system first added to the Python standard library in 1998. While direct use of distutils is being phased out, it still laid the foundation for the current packaging and distribution infrastructure, and it not only remains part of the standard library, but its name lives on in other ways (such as the name of the mailing list used to coordinate Python packaging standards development).

Changed in version 3.5: The use of venv is now recommended for creating virtual environments.

See also

Basic usage

The standard packaging tools are all designed to be used from the command line.

The following command will install the latest version of a module and its dependencies from the Python Packaging Index:

python -m pip install SomePackage

Note

For Windows users, the examples in this guide assume that the option to adjust the system PATH environment variable was selected when installing Python.

It’s also possible to specify an exact or minimum version directly on the command line. When using comparator operators such as >, < or some other special character which get interpreted by shell, the package name and the version should be enclosed within double quotes:

python -m pip install SomePackage==1.0.4    # specific version
python -m pip install "SomePackage>=1.0.4"  # minimum version

Normally, if a suitable module is already installed, attempting to install it again will have no effect. Upgrading existing modules must be requested explicitly:

python -m pip install --upgrade SomePackage

See also

How do I …?

These are quick answers or links for some common tasks.

… install pip in versions of Python prior to Python 3.4?

Python only started bundling pip with Python 3.4. For earlier versions, pip needs to be β€œbootstrapped” as described in the Python Packaging User Guide.

See also

… install packages just for the current user?

Passing the --user option to python -m pip install will install a package just for the current user, rather than for all users of the system.

… install scientific Python packages?

See also

… work with multiple versions of Python installed in parallel?

On Linux, Mac OS X, and other POSIX systems, use the versioned Python commands in combination with the -m switch to run the appropriate copy of pip:

python2   -m pip install SomePackage  # default Python 2
python2.7 -m pip install SomePackage  # specifically Python 2.7
python3   -m pip install SomePackage  # default Python 3
python3.4 -m pip install SomePackage  # specifically Python 3.4

Appropriately versioned pip commands may also be available.

On Windows, use the py Python launcher in combination with the -m switch:

py -2   -m pip install SomePackage  # default Python 2
py -2.7 -m pip install SomePackage  # specifically Python 2.7
py -3   -m pip install SomePackage  # default Python 3
py -3.4 -m pip install SomePackage  # specifically Python 3.4

Common installation issues

Installing into the system Python on Linux

On Linux systems, a Python installation will typically be included as part of the distribution. Installing into this Python installation requires root access to the system, and may interfere with the operation of the system package manager and other components of the system if a component is unexpectedly upgraded using pip.

On such systems, it is often better to use a virtual environment or a per-user installation when installing packages with pip.

Pip not installed

It is possible that pip does not get installed by default. One potential fix is:

python -m ensurepip --default-pip

Installing binary extensions

Python has typically relied heavily on source based distribution, with end users being expected to compile extension modules from source as part of the installation process.

With the introduction of support for the binary wheel format, and the ability to publish wheels for at least Windows and Mac OS X through the Python Packaging Index, this problem is expected to diminish over time, as users are more regularly able to install pre-built extensions rather than needing to build them themselves.

Python’s standard library is very extensive, offering a wide range of facilities as indicated by the long table of contents listed below. The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as modules written in Python that provide standardized solutions for many problems that occur in everyday programming. Some of these modules are explicitly designed to encourage and enhance the portability of Python programs by abstracting away platform-specifics into platform-neutral APIs.

The Python installers for the Windows platform usually include the entire standard library and often also include many additional components. For Unix-like operating systems Python is normally provided as a collection of packages, so it may be necessary to use the packaging tools provided with the operating system to obtain some or all of the optional components.

For POSIX users (including Mac OS X and Linux users), the examples in this guide assume the use of a .

More information and resources regarding pip and its capabilities can be found in the .

Creation of virtual environments is done through the module. Installing packages into an active virtual environment uses the commands shown above.

A number of scientific Python packages have complex binary dependencies, and aren’t currently easy to install using pip directly. At this point in time, it will often be easier for users to install these packages by rather than attempting to install them with pip.

There are also additional resources for

Some of the solutions for installing that are not yet available as pre-built wheel files may also help with obtaining other binary extensions without needing to build them locally.

The Python Standard Library

While describes the exact syntax and semantics of the Python language, this library reference manual describes the standard library that is distributed with Python. It also describes some of the optional components that are commonly included in Python distributions.

In addition to the standard library, there is a growing collection of several thousand components (from individual programs and modules to packages and entire application development frameworks), available from the .

distutils-sig@python.org
distribution guide
Python Packaging Index
Python Packaging Authority
GitHub
Bitbucket
Python Packaging User Guide: Creating and using virtual environments
virtual environment
Python Packaging User Guide
venv
Python Packaging User Guide: Installing Python Distribution Packages
Python Packaging User Guide: Requirements for Installing Packages
other means
Python Packaging User Guide: Installing Scientific Packages
installing pip.
scientific software
ΒΆ
The Python Language Reference
Python Package Index
Introduction
Notes on availability
Built-in Functions
Built-in Constants
Constants added by the site module
Built-in Types
Truth Value Testing
Boolean Operations β€” and, or, not
Comparisons
Numeric Types β€” int, float, complex
Iterator Types
Sequence Types β€” list, tuple, range
Text Sequence Type β€” str
Binary Sequence Types β€” bytes, bytearray, memoryview
Set Types β€” set, frozenset
Mapping Types β€” dict
Context Manager Types
Type Annotation Types β€” Generic Alias, Union
Other Built-in Types
Special Attributes
Built-in Exceptions
Base classes
Concrete exceptions
Warnings
Exception hierarchy
Text Processing Services
string β€” Common string operations
re β€” Regular expression operations
difflib β€” Helpers for computing deltas
textwrap β€” Text wrapping and filling
unicodedata β€” Unicode Database
stringprep β€” Internet String Preparation
readline β€” GNU readline interface
rlcompleter β€” Completion function for GNU readline
Binary Data Services
struct β€” Interpret bytes as packed binary data
codecs β€” Codec registry and base classes
Data Types
datetime β€” Basic date and time types
zoneinfo β€” IANA time zone support
calendar β€” General calendar-related functions
collections β€” Container datatypes
collections.abc β€” Abstract Base Classes for Containers
heapq β€” Heap queue algorithm
bisect β€” Array bisection algorithm
array β€” Efficient arrays of numeric values
weakref β€” Weak references
types β€” Dynamic type creation and names for built-in types
copy β€” Shallow and deep copy operations
pprint β€” Data pretty printer
reprlib β€” Alternate repr() implementation
enum β€” Support for enumerations
graphlib β€” Functionality to operate with graph-like structures
Numeric and Mathematical Modules
numbers β€” Numeric abstract base classes
math β€” Mathematical functions
cmath β€” Mathematical functions for complex numbers
decimal β€” Decimal fixed point and floating point arithmetic
fractions β€” Rational numbers
random β€” Generate pseudo-random numbers
statistics β€” Mathematical statistics functions
Functional Programming Modules
itertools β€” Functions creating iterators for efficient looping
functools β€” Higher-order functions and operations on callable objects
operator β€” Standard operators as functions
File and Directory Access
pathlib β€” Object-oriented filesystem paths
os.path β€” Common pathname manipulations
fileinput β€” Iterate over lines from multiple input streams
stat β€” Interpreting stat() results
filecmp β€” File and Directory Comparisons
tempfile β€” Generate temporary files and directories
glob β€” Unix style pathname pattern expansion
fnmatch β€” Unix filename pattern matching
linecache β€” Random access to text lines
shutil β€” High-level file operations
Data Persistence
pickle β€” Python object serialization
copyreg β€” Register pickle support functions
shelve β€” Python object persistence
marshal β€” Internal Python object serialization
dbm β€” Interfaces to Unix β€œdatabases”
sqlite3 β€” DB-API 2.0 interface for SQLite databases
Data Compression and Archiving
zlib β€” Compression compatible with gzip
gzip β€” Support for gzip files
bz2 β€” Support for bzip2 compression
lzma β€” Compression using the LZMA algorithm
zipfile β€” Work with ZIP archives
tarfile β€” Read and write tar archive files
File Formats
csv β€” CSV File Reading and Writing
configparser β€” Configuration file parser
netrc β€” netrc file processing
xdrlib β€” Encode and decode XDR data
plistlib β€” Generate and parse Apple .plist files
Cryptographic Services
hashlib β€” Secure hashes and message digests
hmac β€” Keyed-Hashing for Message Authentication
secrets β€” Generate secure random numbers for managing secrets
Generic Operating System Services
os β€” Miscellaneous operating system interfaces
io β€” Core tools for working with streams
time β€” Time access and conversions
argparse β€” Parser for command-line options, arguments and sub-commands
getopt β€” C-style parser for command line options
logging β€” Logging facility for Python
logging.config β€” Logging configuration
logging.handlers β€” Logging handlers
getpass β€” Portable password input
curses β€” Terminal handling for character-cell displays
curses.textpad β€” Text input widget for curses programs
curses.ascii β€” Utilities for ASCII characters
curses.panel β€” A panel stack extension for curses
platform β€” Access to underlying platform’s identifying data
errno β€” Standard errno system symbols
ctypes β€” A foreign function library for Python
Concurrent Execution
threading β€” Thread-based parallelism
multiprocessing β€” Process-based parallelism
multiprocessing.shared_memory β€” Provides shared memory for direct access across processes
The concurrent package
concurrent.futures β€” Launching parallel tasks
subprocess β€” Subprocess management
sched β€” Event scheduler
queue β€” A synchronized queue class
contextvars β€” Context Variables
_thread β€” Low-level threading API
Networking and Interprocess Communication
asyncio β€” Asynchronous I/O
socket β€” Low-level networking interface
ssl β€” TLS/SSL wrapper for socket objects
select β€” Waiting for I/O completion
selectors β€” High-level I/O multiplexing
asyncore β€” Asynchronous socket handler
asynchat β€” Asynchronous socket command/response handler
signal β€” Set handlers for asynchronous events
mmap β€” Memory-mapped file support
Internet Data Handling
email β€” An email and MIME handling package
json β€” JSON encoder and decoder
mailcap β€” Mailcap file handling
mailbox β€” Manipulate mailboxes in various formats
mimetypes β€” Map filenames to MIME types
base64 β€” Base16, Base32, Base64, Base85 Data Encodings
binhex β€” Encode and decode binhex4 files
binascii β€” Convert between binary and ASCII
quopri β€” Encode and decode MIME quoted-printable data
uu β€” Encode and decode uuencode files
Structured Markup Processing Tools
html β€” HyperText Markup Language support
html.parser β€” Simple HTML and XHTML parser
html.entities β€” Definitions of HTML general entities
XML Processing Modules
xml.etree.ElementTree β€” The ElementTree XML API
xml.dom β€” The Document Object Model API
xml.dom.minidom β€” Minimal DOM implementation
xml.dom.pulldom β€” Support for building partial DOM trees
xml.sax β€” Support for SAX2 parsers
xml.sax.handler β€” Base classes for SAX handlers
xml.sax.saxutils β€” SAX Utilities
xml.sax.xmlreader β€” Interface for XML parsers
xml.parsers.expat β€” Fast XML parsing using Expat
Internet Protocols and Support
webbrowser β€” Convenient web-browser controller
cgi β€” Common Gateway Interface support
cgitb β€” Traceback manager for CGI scripts
wsgiref β€” WSGI Utilities and Reference Implementation
urllib β€” URL handling modules
urllib.request β€” Extensible library for opening URLs
urllib.response β€” Response classes used by urllib
urllib.parse β€” Parse URLs into components
urllib.error β€” Exception classes raised by urllib.request
urllib.robotparser β€” Parser for robots.txt
http β€” HTTP modules
http.client β€” HTTP protocol client
ftplib β€” FTP protocol client
poplib β€” POP3 protocol client
imaplib β€” IMAP4 protocol client
nntplib β€” NNTP protocol client
smtplib β€” SMTP protocol client
smtpd β€” SMTP Server
telnetlib β€” Telnet client
uuid β€” UUID objects according to RFC 4122
socketserver β€” A framework for network servers
http.server β€” HTTP servers
http.cookies β€” HTTP state management
http.cookiejar β€” Cookie handling for HTTP clients
xmlrpc β€” XMLRPC server and client modules
xmlrpc.client β€” XML-RPC client access
xmlrpc.server β€” Basic XML-RPC servers
ipaddress β€” IPv4/IPv6 manipulation library
Multimedia Services
audioop β€” Manipulate raw audio data
aifc β€” Read and write AIFF and AIFC files
sunau β€” Read and write Sun AU files
wave β€” Read and write WAV files
chunk β€” Read IFF chunked data
colorsys β€” Conversions between color systems
imghdr β€” Determine the type of an image
sndhdr β€” Determine type of sound file
ossaudiodev β€” Access to OSS-compatible audio devices
Internationalization
gettext β€” Multilingual internationalization services
locale β€” Internationalization services
Program Frameworks
turtle β€” Turtle graphics
cmd β€” Support for line-oriented command interpreters
shlex β€” Simple lexical analysis
Graphical User Interfaces with Tk
tkinter β€” Python interface to Tcl/Tk
tkinter.colorchooser β€” Color choosing dialog
tkinter.font β€” Tkinter font wrapper
Tkinter Dialogs
tkinter.messagebox β€” Tkinter message prompts
tkinter.scrolledtext β€” Scrolled Text Widget
tkinter.dnd β€” Drag and drop support
tkinter.ttk β€” Tk themed widgets
tkinter.tix β€” Extension widgets for Tk
IDLE
Development Tools
typing β€” Support for type hints
pydoc β€” Documentation generator and online help system
Python Development Mode
Effects of the Python Development Mode
ResourceWarning Example
Bad file descriptor error example
doctest β€” Test interactive Python examples
unittest β€” Unit testing framework
unittest.mock β€” mock object library
unittest.mock β€” getting started
2to3 - Automated Python 2 to 3 code translation
test β€” Regression tests package for Python
test.support β€” Utilities for the Python test suite
test.support.socket_helper β€” Utilities for socket tests
test.support.script_helper β€” Utilities for the Python execution tests
test.support.bytecode_helper β€” Support tools for testing correct bytecode generation
test.support.threading_helper β€” Utilities for threading tests
test.support.os_helper β€” Utilities for os tests
test.support.import_helper β€” Utilities for import tests
test.support.warnings_helper β€” Utilities for warnings tests
Debugging and Profiling
Audit events table
bdb β€” Debugger framework
faulthandler β€” Dump the Python traceback
pdb β€” The Python Debugger
The Python Profilers
timeit β€” Measure execution time of small code snippets
trace β€” Trace or track Python statement execution
tracemalloc β€” Trace memory allocations
Software Packaging and Distribution
distutils β€” Building and installing Python modules
ensurepip β€” Bootstrapping the pip installer
venv β€” Creation of virtual environments
zipapp β€” Manage executable Python zip archives
Python Runtime Services
sys β€” System-specific parameters and functions
sysconfig β€” Provide access to Python’s configuration information
builtins β€” Built-in objects
__main__ β€” Top-level code environment
warnings β€” Warning control
dataclasses β€” Data Classes
contextlib β€” Utilities for with-statement contexts
abc β€” Abstract Base Classes
atexit β€” Exit handlers
traceback β€” Print or retrieve a stack traceback
__future__ β€” Future statement definitions
gc β€” Garbage Collector interface
inspect β€” Inspect live objects
site β€” Site-specific configuration hook
Custom Python Interpreters
code β€” Interpreter base classes
codeop β€” Compile Python code
Importing Modules
zipimport β€” Import modules from Zip archives
pkgutil β€” Package extension utility
modulefinder β€” Find modules used by a script
runpy β€” Locating and executing Python modules
importlib β€” The implementation of import
Using importlib.metadata
Python Language Services
ast β€” Abstract Syntax Trees
symtable β€” Access to the compiler’s symbol tables
token β€” Constants used with Python parse trees
keyword β€” Testing for Python keywords
tokenize β€” Tokenizer for Python source
tabnanny β€” Detection of ambiguous indentation
pyclbr β€” Python module browser support
py_compile β€” Compile Python source files
compileall β€” Byte-compile Python libraries
dis β€” Disassembler for Python bytecode
pickletools β€” Tools for pickle developers
MS Windows Specific Services
msilib β€” Read and write Microsoft Installer files
msvcrt β€” Useful routines from the MS VC++ runtime
winreg β€” Windows registry access
winsound β€” Sound-playing interface for Windows
Unix Specific Services
posix β€” The most common POSIX system calls
pwd β€” The password database
spwd β€” The shadow password database
grp β€” The group database
crypt β€” Function to check Unix passwords
termios β€” POSIX style tty control
tty β€” Terminal control functions
pty β€” Pseudo-terminal utilities
fcntl β€” The fcntl and ioctl system calls
pipes β€” Interface to shell pipelines
resource β€” Resource usage information
nis β€” Interface to Sun’s NIS (Yellow Pages)
syslog β€” Unix syslog library routines
Superseded Modules
optparse β€” Parser for command line options
imp β€” Access the import internals
Undocumented Modules
Platform specific modules
Security Considerations