Books & Videos

Table of Contents

  1. Chapter 1 Introduction

    1. Why Python?

    2. Motivation

    3. The Basics

    4. Executing Statements in Python

    5. Using Functions in Python

    6. Reusing Code with the Import Statement

  2. Chapter 2 IPython

    1. Installing IPython

    2. Basic Concepts

    3. Help with Magic Functions

    4. Unix Shell

    5. Information Gathering

    6. Automation and Shortcuts

    7. Summary

  3. Chapter 3 Text

    1. Python Built-ins and Modules

    2. Log Parsing

    3. ElementTree

    4. Summary

  4. Chapter 4 Documentation and Reporting

    1. Automated Information Gathering

    2. Manual Information Gathering

    3. Information Formatting

    4. Information Distribution

    5. Summary

  5. Chapter 5 Networking

    1. Network Clients

    2. Remote Procedure Call Facilities

    3. SSH

    4. Twisted

    5. Scapy

    6. Creating Scripts with Scapy

  6. Chapter 6 Data

    1. Introduction

    2. Using the OS Module to Interact with Data

    3. Copying, Moving, Renaming, and Deleting Data

    4. Working with Paths, Directories, and Files

    5. Comparing Data

    6. Merging Data

    7. Pattern Matching Files and Directories

    8. Wrapping Up rsync

    9. Metadata: Data About Data

    10. Archiving, Compressing, Imaging, and Restoring

    11. Using tarfile Module to Create TAR Archives

    12. Using a tarfile Module to Examine the Contents of TAR Files

  7. Chapter 7 SNMP

    1. Introduction

    2. Brief Introduction to SNMP

    3. IPython and Net-SNMP

    4. Discovering a Data Center

    5. Retrieving Multiple-Values with Net-SNMP

    6. Creating Hybrid SNMP Tools

    7. Extending Net-SNMP

    8. SNMP Device Control

    9. Enterprise SNMP Integration with Zenoss

  8. Chapter 8 OS Soup

    1. Introduction

    2. Cross-Platform Unix Programming in Python

    3. PyInotify

    4. OS X

    5. Red Hat Linux Systems Administration

    6. Ubuntu Administration

    7. Solaris Systems Administration

    8. Virtualization

    9. Cloud Computing

    10. Using Zenoss to Manage Windows Servers from Linux

  9. Chapter 9 Package Management

    1. Introduction

    2. Setuptools and Python Eggs

    3. Using easy_install

    4. easy_install Advanced Features

    5. Creating Eggs

    6. Entry Points and Console Scripts

    7. Registering a Package with the Python Package Index

    8. Distutils

    9. Buildout

    10. Using Buildout

    11. Developing with Buildout

    12. virtualenv

    13. EPM Package Manager

  10. Chapter 10 Processes and Concurrency

    1. Introduction

    2. Subprocess

    3. Using Supervisor to Manage Processes

    4. Using Screen to Manage Processes

    5. Threads in Python

    6. Processes

    7. Processing Module

    8. Scheduling Python Processes

    9. daemonizer

    10. Summary

  11. Chapter 11 Building GUIs

    1. GUI Building Theory

    2. Building a Simple PyGTK App

    3. Building an Apache Log Viewer Using PyGTK

    4. Building an Apache Log Viewer Using Curses

    5. Web Applications

    6. Django

    7. Conclusion

  12. Chapter 12 Data Persistence

    1. Simple Serialization

    2. Relational Serialization

    3. Summary

  13. Chapter 13 Command Line

    1. Introduction

    2. Basic Standard Input Usage

    3. Introduction to Optparse

    4. Simple Optparse Usage Patterns

    5. Unix Mashups: Integrating Shell Commands into Python Command-Line Tools

    6. Integrating Configuration Files

    7. Summary

  14. Chapter 14 Pragmatic Examples

    1. Managing DNS with Python

    2. Using LDAP with OpenLDAP, Active Directory, and More with Python

    3. Apache Log Reporting

    4. FTP Mirror

  1. Appendix Callbacks

  2. Colophon