وبلاگ بلیان

Hands-On MQTT Programming with Python : Work with the Lightweight IoT Protocol in Python

معرفی کتاب «Hands-On MQTT Programming with Python : Work with the Lightweight IoT Protocol in Python» نوشتهٔ Gaston C. Hillar، منتشرشده توسط نشر Packt Publishing Limited در سال 2018. این کتاب در 5 صفحه، فرمت epub، زبان انگلیسی ارائه شده است. «Hands-On MQTT Programming with Python : Work with the Lightweight IoT Protocol in Python» در دستهٔ بدون دسته‌بندی قرار دارد.

Explore the features included in the latest versions of MQTT for IoT and M2M communications and use them with modern Python 3. About This Book Make your connected devices less prone to attackers by understanding security mechanisms Take advantage of MQTT features for IoT and Machine-to-Machine communications The only book that covers MQTT with a single language, Python Who This Book Is For This book is for developers who want to learn about the MQTT protocol for their IoT projects. Prior knowledge of working with IoT and Python will be helpful. What You Will Learn Learn how MQTT and its lightweight messaging system work Understand the MQTT puzzle: clients, servers (formerly known as brokers), and connections Explore the features included in the latest versions of MQTT for IoT and M2M communications Publish and receive MQTT messages with Python Learn the difference between blocking and threaded network loops Take advantage of the last will and testament feature Work with cloud-based MQTT interfaces in Python In Detail MQTT is a lightweight messaging protocol for small sensors and mobile devices. This book explores the features of the latest versions of MQTT for IoT and M2M communications, how to use them with Python 3, and allow you to interact with sensors and actuators using Python. The book begins with the specific vocabulary of MQTT and its working modes, followed by installing a Mosquitto MQTT broker. You will use different utilities and diagrams to understand the most important concepts related to MQTT. You will learn to make all the necessary configuration to work with digital certificates for encrypting all data sent between the MQTT clients and the server. You will also work with the different Quality of Service levels and later analyze and compare their overheads. You will write Python 3.x code to control a vehicle with MQTT messages delivered through encrypted connections (TLS 1.2), and learn how leverage your knowledge of the MQTT protocol to build a solution based on requirements. Towards the end, you will write Python code to use the PubNub cloud-based real-time MQTT provider to monitor a surfing competition. In the end, you will have a solution that was built from scratch by analyzing the requirements and then write Python code that will run on water-proof IoT boards connected to multiple sensors in surfboards. Style and approach This book shows you what MQTT is, and how to install and secure an MQTT server. You will write Python ... Read more... Abstract: Explore the features included in the latest versions of MQTT for IoT and M2M communications and use them with modern Python 3. About This Book Make your connected devices less prone to attackers by understanding security mechanisms Take advantage of MQTT features for IoT and Machine-to-Machine communications The only book that covers MQTT with a single language, Python Who This Book Is For This book is for developers who want to learn about the MQTT protocol for their IoT projects. Prior knowledge of working with IoT and Python will be helpful. What You Will Learn Learn how MQTT and its lightweight messaging system work Understand the MQTT puzzle: clients, servers (formerly known as brokers), and connections Explore the features included in the latest versions of MQTT for IoT and M2M communications Publish and receive MQTT messages with Python Learn the difference between blocking and threaded network loops Take advantage of the last will and testament feature Work with cloud-based MQTT interfaces in Python In Detail MQTT is a lightweight messaging protocol for small sensors and mobile devices. This book explores the features of the latest versions of MQTT for IoT and M2M communications, how to use them with Python 3, and allow you to interact with sensors and actuators using Python. The book begins with the specific vocabulary of MQTT and its working modes, followed by installing a Mosquitto MQTT broker. You will use different utilities and diagrams to understand the most important concepts related to MQTT. You will learn to make all the necessary configuration to work with digital certificates for encrypting all data sent between the MQTT clients and the server. You will also work with the different Quality of Service levels and later analyze and compare their overheads. You will write Python 3.x code to control a vehicle with MQTT messages delivered through encrypted connections (TLS 1.2), and learn how leverage your knowledge of the MQTT protocol to build a solution based on requirements. Towards the end, you will write Python code to use the PubNub cloud-based real-time MQTT provider to monitor a surfing competition. In the end, you will have a solution that was built from scratch by analyzing the requirements and then write Python code that will run on water-proof IoT boards connected to multiple sensors in surfboards. Style and approach This book shows you what MQTT is, and how to install and secure an MQTT server. You will write Python Discover practical solutions for a wide range of real-world network programming tasksAbout This BookSolve real-world tasks in the area of network programming, system/networking administration, network monitoring, and more.Familiarize yourself with the fundamentals and functionalities of SDNImprove your skills to become the next-gen network engineer by learning the various facets of Python programmingWho This Book Is ForThis book is for network engineers, system/network administrators, network programmers, and even web application developers who want to solve everyday network-related problems. If you are a novice, you will develop an understanding of the concepts as you progress with this book.What You Will LearnDevelop TCP/IP networking client/server applicationsAdminister local machines'IPv4/IPv6 network interfacesWrite multi-purpose efficient web clients for HTTP and HTTPS protocolsPerform remote system administration tasks over Telnet and SSH connectionsInteract with popular websites via web services such as XML-RPC, SOAP, and REST APIsMonitor and analyze major common network security vulnerabilitiesDevelop Software-Defined Networks with Ryu, OpenDaylight, Floodlight, ONOS, and POX ControllersEmulate simple and complex networks with Mininet and its extensions for network and systems emulationsLearn to configure and build network systems and Virtual Network Functions (VNF) in heterogeneous deployment environmentsExplore various Python modules to program the InternetIn DetailPython Network Programming Cookbook - Second Edition highlights the major aspects of network programming in Python, starting from writing simple networking clients to developing and deploying complex Software-Defined Networking (SDN) and Network Functions Virtualization (NFV) systems. It creates the building blocks for many practical web and networking applications that rely on various networking protocols. It presents the power and beauty of Python to solve numerous real-world tasks in the area of network programming, network and system administration, network monitoring, and web-application development.In this edition, you will also be introduced to network modelling to build your own cloud network. You will learn about the concepts and fundamentals of SDN and then extend your network with Mininet. Next, you'll find recipes on Authentication, Authorization, and Accounting (AAA) and open and proprietary SDN approaches and frameworks. You will also learn to configure the Linux Foundation networking ecosystem and deploy and automate your networks with Python in the cloud and the Internet scale.By the end of this book, you will be able to analyze your network security vulnerabilities using advanced network packet capture and analysis techniques.Style and approachThis book follows a practical approach and covers major aspects of network programming in Python. It provides hands-on recipes combined with short and concise explanations on code snippets. This book will serve as a supplementary material to develop hands-on skills in any academic course on network programming. This book further elaborates network softwarization, including Software-Defined Networking (SDN), Network Functions Virtualization (NFV), and orchestration. We learn to configure and deploy enterprise network platforms, develop applications on top of them with Python. Become An Expert In Implementing Advanced, Network-related Tasks With Python.about This Book* Build The Skills To Perform All Networking Tasks Using Python With Ease* Use Python For Network Device Automation, Devops, And Software-defined Networking* Get Practical Guidance To Networking With Pythonwho This Book Is Forif You Are A Network Engineer Or A Programmer Who Wants To Use Python For Networking, Then This Book Is For You. A Basic Familiarity With Networking-related Concepts Such As Tcp/ip And A Familiarity With Python Programming Will Be Useful.what You Will Learn* Review All The Fundamentals Of Python And The Tcp/ip Suite* Use Python To Execute Commands When The Device Does Not Support The Api Or Programmatic Interaction With The Device* Implement Automation Techniques By Integrating Python With Cisco, Juniper, And Arista Eapi* Integrate Ansible Using Python To Control Cisco, Juniper, And Arista Networks* Achieve Network Security With Python* Build Flask-based Web-service Apis With Python* Construct A Python-based Migration Plan From A Legacy To Scalable Sdn-based Network.in Detailthis Book Begins With A Review Of The Tcp/ Ip Protocol Suite And A Refresher Of The Core Elements Of The Python Language. Next, You Will Start Using Python And Supported Libraries To Automate Network Tasks From The Current Major Network Vendors. We Will Look At Automating Traditional Network Devices Based On The Command-line Interface, As Well As Newer Devices With Api Support, With Hands-on Labs. We Will Then Learn The Concepts And Practical Use Cases Of The Ansible Framework In Order To Achieve Your Network Goals.we Will Then Move On To Using Python For Devops, Starting With Using Open Source Tools To Test, Secure, And Analyze Your Network. Then, We Will Focus On Network Monitoring And Visualization. We Will Learn How To Retrieve Network Information Using A Polling Mechanism, ?ow-based Monitoring, And Visualizing The Data Programmatically. Next, We Will Learn How To Use The Python Framework To Build Your Own Customized Network Web Services.in The Last Module, You Will Use Python For Sdn, Where You Will Use A Python-based Controller With Openflow In A Hands-on Lab To Learn Its Concepts And Applications. We Will Compare And Contrast Openflow, Openstack, Opendaylight, And Nfv. Finally, You Will Use Everything You've Learned In The Book To Construct A Migration Plan To Go From A Legacy To A Scalable Sdn-based Network.style And Approachan Easy-to-follow Guide Packed With Hands-on Examples Of Using Python For Network Device Automation, Devops, And Sdn. Become an expert in implementing advanced, network-related tasks with Python. About This Book Build the skills to perform all networking tasks using Python with ease Use Python for network device automation, DevOps, and software-defined networking Get practical guidance to networking with Python Who This Book Is For If you are a network engineer or a programmer who wants to use Python for networking, then this book is for you. A basic familiarity with networking-related concepts such as TCP/IP and a familiarity with Python programming will be useful. What You Will Learn Review all the fundamentals of Python and the TCP/IP suite Use Python to execute commands when the device does not support the API or programmatic interaction with the device Implement automation techniques by integrating Python with Cisco, Juniper, and Arista eAPI Integrate Ansible using Python to control Cisco, Juniper, and Arista networks Achieve network security with Python Build Flask-based web-service APIs with Python Construct a Python-based migration plan from a legacy to scalable SDN-based network. In Detail This book begins with a review of the TCP/ IP protocol suite and a refresher of the core elements of the Python language. Next, you will start using Python and supported libraries to automate network tasks from the current major network vendors. We will look at automating traditional network devices based on the command-line interface, as well as newer devices with API support, with hands-on labs. We will then learn the concepts and practical use cases of the Ansible framework in order to achieve your network goals. We will then move on to using Python for DevOps, starting with using open source tools to test, secure, and analyze your network. Then, we will focus on network monitoring and visualization. We will learn how to retrieve network information using a polling mechanism, flow-based monitoring, and visualizing the data programmatically. Next, we will learn how to use the Python framework to build your own customized network web services. In the last module, you will use Python for SDN, where you will use a Python-based controller with OpenFlow in a hands-on lab to learn its concepts and applications. We will compare and contrast OpenFlow, OpenStack, OpenDaylight, and NFV. Finally, you will use everything you've learned in the book to construct a migration plan to go from a legacy to a scalable SDN-based network. Style and approach An easy-to-follow guide pack.. Discover practical solutions for a wide range of real-world network programming tasks About This Book Solve real-world tasks in the area of network programming, system/networking administration, network monitoring, and more. Familiarize yourself with the fundamentals and functionalities of SDN Improve your skills to become the next-gen network engineer by learning the various facets of Python programming Who This Book Is For This book is for network engineers, system/network administrators, network programmers, and even web application developers who want to solve everyday network-related problems. If you are a novice, you will develop an understanding of the concepts as you progress with this book. What You Will Learn Develop TCP/IP networking client/server applications Administer local machines' IPv4/IPv6 network interfaces Write multi-purpose efficient web clients for HTTP and HTTPS protocols Perform remote system administration tasks over Telnet and SSH connections Interact with popular websites via web services such as XML-RPC, SOAP, and REST APIs Monitor and analyze major common network security vulnerabilities Develop Software-Defined Networks with Ryu, OpenDaylight, Floodlight, ONOS, and POX Controllers Emulate simple and complex networks with Mininet and its extensions for network and systems emulations Learn to configure and build network systems and Virtual Network Functions (VNF) in heterogeneous deployment environments Explore various Python modules to program the Internet In Detail Python Network Programming Cookbook - Second Edition highlights the major aspects of network programming in Python, starting from writing simple networking clients to developing and deploying complex Software-Defined Networking (SDN) and Network Functions Virtualization (NFV) systems. It creates the building blocks for many practical web and networking applications that rely on various networking protocols. It presents the power and beauty of Python to solve numerous real-world tasks in the area of network programming, network and system administration, network monitoring, and web-application development. In this edition, you will also be introduced to network modelling to build your own cloud network. You will learn about the concepts and fundamentals of SDN and then extend your network with Mininet. Next, you'll find recipes on Authentication, Authorization, and Accounting (AAA) and open and proprietary SDN approaches and frameworks. You will also le.. Annotation Explore the features included in the latest versions of MQTT for IoT and M2M communications and use them with modern Python 3. Key FeaturesMake your connected devices less prone to attackers by understanding security mechanismsTake advantage of MQTT features for IoT and Machine-to-Machine communicationsThe only book that covers MQTT with a single language, PythonBook DescriptionMQTT is a lightweight messaging protocol for small sensors and mobile devices. This book explores the features of the latest versions of MQTT for IoT and M2M communications, how to use them with Python 3, and allow you to interact with sensors and actuators using Python. The book begins with the specific vocabulary of MQTT and its working modes, followed by installing a Mosquitto MQTT broker. You will use different utilities and diagrams to understand the most important concepts related to MQTT. You will learn tomake all the necessary configuration to work with digital certificates for encrypting all data sent between the MQTT clients and the server. You will also work with the different Quality of Service levels and later analyze and compare their overheads. You will write Python 3.x code to control a vehicle with MQTT messages delivered through encrypted connections (TLS 1.2), and learn how leverage your knowledge of the MQTT protocol to build a solution based on requirements. Towards the end, you will write Python code to use the PubNub cloud-based real-time MQTT provider to monitor a surfing competition. In the end, you will have a solution that was built from scratch by analyzing the requirements and then write Python code that will run on water-proof IoT boards connected to multiple sensors in surfboards. What you will learnLearn how MQTT and its lightweight messaging system workUnderstand the MQTT puzzle: clients, servers (formerly known as brokers), and connectionsExplore the features included in the latest versions of MQTT for IoT and M2M communicationsPublish and receive MQTT messages with PythonLearn the difference between blocking and threaded network loopsTake advantage of the last will and testament featureWork with cloud-based MQTT interfaces in PythonWho this book is forThis book is for developers who want to learn about the MQTT protocol for their IoT projects. Prior knowledge of working with IoT and Python will be helpful Explore the features included in the latest versions of MQTT for IoT and M2M communications and use them with modern Python 3. Key FeaturesMake your connected devices less prone to attackers by understanding security mechanismsTake advantage of MQTT features for IoT and Machine-to-Machine communicationsThe only book that covers MQTT with a single language, PythonBook DescriptionMQTT is a lightweight messaging protocol for small sensors and mobile devices. This book explores the features of the latest versions of MQTT for IoT and M2M communications, how to use them with Python 3, and allow you to interact with sensors and actuators using Python. The book begins with the specific vocabulary of MQTT and its working modes, followed by installing a Mosquitto MQTT broker. You will use different utilities and diagrams to understand the most important concepts related to MQTT. You will learn to make all the necessary configuration to work with digital certificates for encrypting all data sent between the MQTT clients and the server. You will also work with the different Quality of Service levels and later analyze and compare their overheads. You will write Python 3.x code to control a vehicle with MQTT messages delivered through encrypted connections (TLS 1.2), and learn how leverage your knowledge of the MQTT protocol to build a solution based on requirements. Towards the end, you will write Python code to use the PubNub cloud-based real-time MQTT provider to monitor a surfing competition. In the end, you will have a solution that was built from scratch by analyzing the requirements and then write Python code that will run on water-proof IoT boards connected to multiple sensors in surfboards.What you will learnLearn how MQTT and its lightweight messaging system workUnderstand the MQTT puzzle: clients, servers (formerly known as brokers), and connectionsExplore the features included in the latest versions of MQTT for IoT and M2M communicationsPublish and receive MQTT messages with PythonLearn the difference between blocking and threaded network loopsTake advantage of the last will and testament featureWork with cloud-based MQTT interfaces in PythonWho this book is forThis book is for developers who want to learn about the MQTT protocol for their IoT projects. Prior knowledge of working with IoT and Python will be helpful.
دانلود کتاب Hands-On MQTT Programming with Python : Work with the Lightweight IoT Protocol in Python