Learning Python networking : a complete guide to build and deploy strong networking capabilities using Python 3.7 and Ansible /: a complete guide to build and deploy strong networking capabilities using Python 3.7 and Ansible. (2019)
- Record Type:
- Book
- Title:
- Learning Python networking : a complete guide to build and deploy strong networking capabilities using Python 3.7 and Ansible /: a complete guide to build and deploy strong networking capabilities using Python 3.7 and Ansible. (2019)
- Main Title:
- Learning Python networking : a complete guide to build and deploy strong networking capabilities using Python 3.7 and Ansible
- Further Information:
- Note: José Manuel Ortega, Dr. M.O. Faruque Sarker, Sam Washington.
- Authors:
- Manuel Ortega, José
Sarker, M. O. Faruque
Washington, Sam - Contents:
- Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Section 1: Introduction to Network and HTTP Programming; Chapter 1: Network Programming with Python; Technical requirements; An introduction to TCP/IP networking; Introduction to TCP/IP; The protocol stack, layer by layer; UDP; TCP; Protocol concepts and the problems that protocols solve; IP addresses and ports; Network interfaces; UDP versus TCP; DHCP; DNS; Addressing; NAT; IPv4; IPv6; Python network programming through libraries; An introduction to the PyPI Python repository Alternatives to pip for installing packagesConda; Virtualenv; Pipenv; An introduction to libraries for network programming with Python; Introduction to sockets; Socket module in Python; Client socket methods; Server socket methods; Working with RFC; Extracting RFC information; Downloading an RFC with urllib; Downloading an RFC with requests; Downloading an RFC with the socket module; Interacting with Wireshark with pyshark; Introduction to Wireshark; Wireshark installation; Capturing packets with Wireshark; Network traffic in Wireshark; Color coding in Wireshark Working with filters in WiresharkFiltering by protocol name; HTTP objects filter; Capture filters; Display filters; Analyzing networking traffic using the pyshark library; FileCapture and LiveCapture in pyshark; Summary; Questions; Further reading; Chapter 2: Programming for the Web with HTTP; Technical requirements; Consuming web services in PythonCover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Section 1: Introduction to Network and HTTP Programming; Chapter 1: Network Programming with Python; Technical requirements; An introduction to TCP/IP networking; Introduction to TCP/IP; The protocol stack, layer by layer; UDP; TCP; Protocol concepts and the problems that protocols solve; IP addresses and ports; Network interfaces; UDP versus TCP; DHCP; DNS; Addressing; NAT; IPv4; IPv6; Python network programming through libraries; An introduction to the PyPI Python repository Alternatives to pip for installing packagesConda; Virtualenv; Pipenv; An introduction to libraries for network programming with Python; Introduction to sockets; Socket module in Python; Client socket methods; Server socket methods; Working with RFC; Extracting RFC information; Downloading an RFC with urllib; Downloading an RFC with requests; Downloading an RFC with the socket module; Interacting with Wireshark with pyshark; Introduction to Wireshark; Wireshark installation; Capturing packets with Wireshark; Network traffic in Wireshark; Color coding in Wireshark Working with filters in WiresharkFiltering by protocol name; HTTP objects filter; Capture filters; Display filters; Analyzing networking traffic using the pyshark library; FileCapture and LiveCapture in pyshark; Summary; Questions; Further reading; Chapter 2: Programming for the Web with HTTP; Technical requirements; Consuming web services in Python with urllib; Status codes; Handling exceptions; HTTP headers; User agent; Customizing requests with urllib; Getting headers with a proxy; Content types; Extracting links from a URL with urllib; Getting images from a URL with urllib Working with URLsConsuming web services in Python with requests; Introduction to requests; Checking HTTP headers; Proxy requests; Get whois information; Working with JSON; Handling forms with urllib and requests with Python 3.7; Handling forms with urllib; Handling forms with requests; Handling cookies with urllib and requests with Python; What are cookies?; Handling cookies with urllib; Cookie handling with requests; Handling HTTP Basic and Digest Authentication with requests; Introduction to authentication mechanisms; HTTP Basic authentication; HTTP Digest authentication; Summary; Questions Further readingSection 2: Interacting with APIs, Web Scraping, and Server Scripting; Chapter 3: Application Programming Interface in Action; Technical requirements; Introduction to REST APIs; Advantages of using REST APIs; Introduction to JSON and the JSON module; Encoding and decoding with the JSON package; Using dict with JSON; Interacting with a JSON hybrid-REST API (Twitter); The Twitter API; Registering your application for the Twitter API; Authenticating requests with OAuth; Collecting information from Twitter; A Twitter client; Retrieving tweets from a timeline; Searching tweets … (more)
- Edition:
- Second edition
- Publisher Details:
- Birmingham, UK : Packt Publishing
- Publication Date:
- 2019
- Extent:
- 1 online resource, illustrations
- Subjects:
- 005.133
Python (Computer program language)
Computer networks -- Management
Client/server computing
Electronic books - Languages:
- English
- ISBNs:
- 9781789952445
1789952441 - Related ISBNs:
- 9781789958096
- Notes:
- Note: Includes bibliographical references.
Note: Description based on online resource; title from title page (Safari, viewed May 8, 2019). - Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.410132
- Ingest File:
- 02_509.xml