Mastering Python Scripting for System Administrators

0
(0)

Mastering Python Scripting for System Administrators
 

  • Author:Ganesh Sanjiv Naik
  • Length: 318 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2019-01-30
  • ISBN-10: 178913322X
  • ISBN-13: 9781789133226
  • Sales Rank: #1830553 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Leverage the features and libraries of Python to administrate your environment efficiently.

    Key Features

    • Learn how to solve problems of system administrators and automate routine activities
    • Learn to handle regular expressions, network administration
    • Building GUI, web-scraping and database administration including data analytics

    Book Description

    Python has evolved over time and extended its features in relation to every possible IT operation. Python is simple to learn, yet has powerful libraries that can be used to build powerful Python scripts for solving real-world problems and automating administrators’ routine activities. The objective of this book is to walk through a series of projects that will teach readers Python scripting with each project.

    This book will initially cover Python installation and quickly revise basic to advanced programming fundamentals. The book will then focus on the development process as a whole, from setup to planning to building different tools. It will include IT administrators’ routine activities (text processing, regular expressions, file archiving, and encryption), network administration (socket programming, email handling, the remote controlling of devices using telnet/ssh, and protocols such as SNMP/DHCP), building graphical user interface, working with websites (Apache log file processing, SOAP and REST APIs communication, and web scraping), and database administration (MySQL and similar database data administration, data analytics, and reporting).

    By the end of this book, you will be able to use the latest features of Python and be able to build powerful tools that will solve challenging, real-world tasks

    What you will learn

    • Understand how to install Python and debug Python scripts
    • Understand and write scripts for automating testing and routine administrative activities
    • Understand how to write scripts for text processing, encryption, decryption, and archiving
    • Handle files, such as pdf, excel, csv, and txt files, and generate reports
    • Write scripts for remote network administration, including handling emails
    • Build interactive tools using a graphical user interface
    • Handle Apache log files, SOAP and REST APIs communication
    • Automate database administration and perform statistical analysis

    Who this book is for

    This book would be ideal for users with some basic understanding of Python programming and who are interested in scaling their programming skills to command line scripting and system administration.

    Prior knowledge of Python would be necessary.

    Table of Contents

    1. Python Scripting Overview
    2. Debugging and Profiling Python Scripts
    3. Unit Testing – Introduction to the Unit Testing Framework
    4. Automating Regular Administrative Activities
    5. Handling Files, Directories, and Data
    6. File Archiving, Encrypting, and Decrypting
    7. Text Processing and Regular Expressions
    8. Documentation and Reporting
    9. Working with Various Files
    10. Basic Networking – Socket Programming
    11. Handling Emails Using Python Scripting
    12. Remote Monitoring of Hosts Over Telnet and SSH
    13. Building Graphical User Interfaces
    14. Working with Apache and Other Log Files
    15. SOAP and REST API Communication
    16. Web Scraping – Extracting Useful Data from Websites
    17. Statistics Gathering and Reporting
    18. MySQL and SQLite Database Administrations
    19. Assessments

    中文:

    书名:Mastering Python Scripting for System Administrators

    利用Python的功能和库高效地管理您的环境。

    Key Features

    • 了解如何解决系统管理员的问题并使日常活动自动化
    • Learn to handle regular expressions, network administration
    • 构建图形用户界面、Web抓取和数据库管理,包括数据分析

    Book Description

    随着时间的推移,Python不断演变,并将其功能扩展到与每个可能的IT操作相关的方面。Python简单易学,但具有强大的库,可用于构建强大的Python脚本来解决现实世界的问题并自动执行管理员的日常活动。这本书的目标是介绍一系列项目,这些项目将教读者使用每个项目编写Python脚本。

    本书将首先介绍Python安装,然后快速修改基本到高级编程基础知识。然后,本书将把开发过程作为一个整体来关注,从设置到规划再到构建不同的工具。它将包括IT管理员;日常活动(文本处理、正则表达式、文件归档和加密)、网络管理(套接字编程、电子邮件处理、使用telnet/ssh和诸如SNMP/DHCP等协议对设备的远程控制)、构建图形用户界面、处理网站(Apache日志文件处理、SOAP和REST API通信以及Web抓取)以及数据库管理(MySQL和类似的数据库数据管理、数据分析和报告)。

    在本书结束时,您将能够使用Python的最新功能,并能够构建功能强大的工具来解决具有挑战性的实际任务

    What you will learn

    • Understand how to install Python and debug Python scripts
    • 理解并编写用于自动化测试和日常管理活动的脚本
    • 了解如何编写用于文本处理、加密、解密和归档的脚本
    • Handle files, such as pdf, excel, csv, and txt files, and generate reports
    • 编写远程网络管理脚本,包括处理电子邮件
    • Build interactive tools using a graphical user interface
    • Handle Apache log files, SOAP and REST APIs communication
    • Automate database administration and perform statistical analysis

    Who this book is for

    这本书非常适合对Python编程有一些基本了解,并且对将编程技能扩展到命令行脚本和系统管理感兴趣的用户。

    必须具备Python的先验知识。

    Table of Contents

    1. Python脚本编写概述
    2. 调试和评测Python脚本
    3. Unit Testing – Introduction to the Unit Testing Framework
    4. 自动化常规管理活动
    5. 处理文件、目录和数据
    6. 文件存档、加密和解密
    7. 文本处理和正则表达式
    8. 文件和报告
    9. 使用各种文件
    10. 基本网络&套接字编程
    11. 使用Python脚本处理电子邮件
    12. 通过Telnet和SSH远程监控主机
    13. 构建图形用户界面
    14. 使用阿帕奇和其他日志文件
    15. SOAP和REST API通信
    16. Web Scraping – Extracting Useful Data from Websites
    17. Statistics Gathering and Reporting
    18. MySQL and SQLite Database Administrations
    19. Assessments
  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册