内置

  • os: Miscellaneous operating system interfaces
  • sys: System-specific parameters and functions
  • ConfigParser: Configuration file parser
  • argparse: Parser for command-line options, arguments and sub-commands
  • logging: Logging facility for Python
  • platform: Access to underlying platform’s identifying data
  • uuid: UUID objects according to RFC 4122
  • collections: High-performance container datatypes
  • threading: Higher-level threading interface
  • json: JSON encoder and decoder
  • traceback: Print or retrieve a stack traceback
  • SimpleHTTPServer: Simple HTTP request handler
  • shlex: Simple lexical analysis
  • urllib2: Extensible library for opening URLs
  • urllib: Open arbitrary resources by URL
  • hashlib: Secure hashes and message digests
  • zlib: Compression compatible with gzip
  • tarfile: Read and write tar archive files
  • random: Generate pseudo-random numbers
  • base64: RFC 3548: Base16, Base32, Base64 Data Encodings
  • unittest: Unit testing framework
  • multiprocessing: Process-based “threading” interface
  • subprocess: Subprocess management
  • hmac: Keyed-Hashing for Message Authentication
  • functools: Higher-order functions and operations on callable objects
  • socker: Low-level networking interface
  • SocketServer: A framework for network servers
  • csv: CSV File Reading and Writing
  • commands: Utilities for running commands
  • time: Time access and conversions
  • datetime: Basic date and time types
  • email: An email and MIME handling package
  • smtplib: SMTP protocol client
  • pycronic: A crontab script wrapper written by python

非内置

  • docker-py: An API client for docker written in Python
  • pymongo: Tools for working with MongoDB
  • Celery: Distributed Task Queue
  • requests: HTTP for Humans
  • PyYAML: YAML parser and emitter for Python
  • jinja2: a template engine written in pure Python
  • pip: pip supports installing from PyPI, version control, local projects, and directly from distribution files.
  • virtualenv: A tool to keep the dependencies required by different projects in separate places, by creating virtual Python environments for them.
    • virtualenvwrapper: a set of commands which makes working with virtual environments much more pleasant. It also places all your virtual environments in one place.
    • virtualenv-burrito: you can have a working virtualenv + virtualenvwrapper environment in a single command
    • autoenv: When you cd into a directory containing a .env, autoenv automagically activates the environment
  • flask: A lightweight Python web framework based on Werkzeug and Jinja 2
  • setuptools: Fully-featured, actively-maintained, and stable library designed to facilitate packaging Python projects。
  • pypiserver: Minimal PyPI server for uploading & downloading packages with pip/easy_install
  • gunicore: a Python WSGI HTTP Server for UNIX
  • sphinx: Python Documentation Generator
  • etetoolkit: A Python framework to work with trees
  • Beautiful Soup
  • nose: extends unittest to make testing easier
  • pytz: World Timezone Definitions for Python
  • markdown: Python-Markdown

扩展阅读