Browse Results

Showing 47,076 through 47,100 of 59,381 results

Python Microservices Development: Build efficient and lightweight microservices using the Python tooling ecosystem, 2nd Edition

by Simon Fraser Tarek Ziade

Use Python microservices to craft applications that are built as small standard units using proven best practices and avoiding common errorsKey FeaturesBecome well versed with the fundamentals of building, designing, testing, and deploying Python microservicesIdentify where a monolithic application can be split, how to secure it, and how to scale it once ready for deploymentUse the latest framework based on asynchronous programming to write effective microservices with PythonBook DescriptionThe small scope and self-contained nature of microservices make them faster, cleaner, and more scalable than code-heavy monolithic applications. However, building microservices architecture that is efficient as well as lightweight into your applications can be challenging due to the complexity of all the interacting pieces. Python Microservices Development, Second Edition will teach you how to overcome these issues and craft applications that are built as small standard units using proven best practices and avoiding common pitfalls. Through hands-on examples, this book will help you to build efficient microservices using Quart, SQLAlchemy, and other modern Python tools In this updated edition, you will learn how to secure connections between services and how to script Nginx using Lua to build web application firewall features such as rate limiting. Python Microservices Development, Second Edition describes how to use containers and AWS to deploy your services. By the end of the book, you'll have created a complete Python application based on microservices.What you will learnExplore what microservices are and how to design themConfigure and package your code according to modern best practicesIdentify a component of a larger service that can be turned into a microserviceHandle more incoming requests, more effectivelyProtect your application with a proxy or firewallUse Kubernetes and containers to deploy a microserviceMake changes to an API provided by a microservice safely and keep things workingIdentify the factors to look for to get started with an unfamiliar cloud providerWho this book is forThis book is for developers who want to learn how to build, test, scale, and manage Python microservices. Readers will require basic knowledge of the Python programming language, the command line, and HTTP-based application principles. No prior experience of writing microservices in Python is assumed.

Python Microservices Development

by Tarek Ziade

A practical approach to conquering the complexities of Microservices using the Python tooling ecosystem About This Book • A very useful guide for Python developers who are shifting to the new microservices-based development • A concise, up-to-date guide to building efficient and lightweight microservices in Python using Flask, Tox, and other tools • Learn to use Docker containers, CoreOS, and Amazon Web Services to deploy your services Who This Book Is For This book is for developers who have basic knowledge of Python, the command line, and HTTP-based application principles, and those who want to learn how to build, test, scale, and manage Python 3 microservices. No prior experience of writing microservices in Python is assumed. What You Will Learn • Explore what microservices are and how to design them • Use Python 3, Flask, Tox, and other tools to build your services using best practices • Learn how to use a TDD approach • Discover how to document your microservices • Configure and package your code in the best way • Interact with other services • Secure, monitor, and scale your services • Deploy your services in Docker containers, CoreOS, and Amazon Web Services In Detail We often deploy our web applications into the cloud, and our code needs to interact with many third-party services. An efficient way to build applications to do this is through microservices architecture. But, in practice, it's hard to get this right due to the complexity of all the pieces interacting with each other. This book will teach you how to overcome these issues and craft applications that are built as small standard units, using all the proven best practices and avoiding the usual traps. It's a practical book: you'll build everything using Python 3 and its amazing tooling ecosystem. You will understand the principles of TDD and apply them. You will use Flask, Tox, and other tools to build your services using best practices. You will learn how to secure connections between services, and how to script Nginx using Lua to build web application firewall features such as rate limiting. You will also familiarize yourself with Docker's role in microservices, and use Docker containers, CoreOS, and Amazon Web Services to deploy your services. This book will take you on a journey, ending with the creation of a complete Python application based on microservices. By the end of the book, you will be well versed with the fundamentals of building, designing, testing, and deploying your Python microservices. Style and approach This book is an linear, easy-to-follow guide on how to best design, write, test, and deploy your microservices. It includes real-world examples that will help Python developers create their own Python microservice using the most efficient methods.

Python Multimedia

by Ninad Sathaye

A practical guide, this book provides step-by-step instructions for developing multimedia applications, showcasing real world examples throughout. This book is for Python developers who want to dip their toes into working with images, animations, audio and video processing using Python.

Python Natural Language Processing

by Jalaj Thanaki

Leverage the power of machine learning and deep learning to extract information from text data About This Book • Implement Machine Learning and Deep Learning techniques for efficient natural language processing • Get started with NLTK and implement NLP in your applications with ease • Understand and interpret human languages with the power of text analysis via Python Who This Book Is For This book is intended for Python developers who wish to start with natural language processing and want to make their applications smarter by implementing NLP in them. What You Will Learn • Focus on Python programming paradigms, which are used to develop NLP applications • Understand corpus analysis and different types of data attribute. • Learn NLP using Python libraries such as NLTK, Polyglot, SpaCy, Standford CoreNLP and so on • Learn about Features Extraction and Feature selection as part of Features Engineering. • Explore the advantages of vectorization in Deep Learning. • Get a better understanding of the architecture of a rule-based system. • Optimize and fine-tune Supervised and Unsupervised Machine Learning algorithms for NLP problems. • Identify Deep Learning techniques for Natural Language Processing and Natural Language Generation problems. In Detail This book starts off by laying the foundation for Natural Language Processing and why Python is one of the best options to build an NLP-based expert system with advantages such as Community support, availability of frameworks and so on. Later it gives you a better understanding of available free forms of corpus and different types of dataset. After this, you will know how to choose a dataset for natural language processing applications and find the right NLP techniques to process sentences in datasets and understand their structure. You will also learn how to tokenize different parts of sentences and ways to analyze them. During the course of the book, you will explore the semantic as well as syntactic analysis of text. You will understand how to solve various ambiguities in processing human language and will come across various scenarios while performing text analysis. You will learn the very basics of getting the environment ready for natural language processing, move on to the initial setup, and then quickly understand sentences and language parts. You will learn the power of Machine Learning and Deep Learning to extract information from text data. By the end of the book, you will have a clear understanding of natural language processing and will have worked on multiple examples that implement NLP in the real world. Style and approach This book teaches the readers various aspects of natural language Processing using NLTK. It takes the reader from the basic to advance level in a smooth way.

Python Natural Language Processing Cookbook: Over 50 recipes to understand, analyze, and generate text for implementing language processing tasks

by Zhenya Antic

Get to grips with solving real-world NLP problems, such as dependency parsing, information extraction, topic modeling, and text data visualizationKey FeaturesAnalyze varying complexities of text using popular Python packages such as NLTK, spaCy, sklearn, and gensimImplement common and not-so-common linguistic processing tasks using Python librariesOvercome the common challenges faced while implementing NLP pipelinesBook DescriptionPython is the most widely used language for natural language processing (NLP) thanks to its extensive tools and libraries for analyzing text and extracting computer-usable data. This book will take you through a range of techniques for text processing, from basics such as parsing the parts of speech to complex topics such as topic modeling, text classification, and visualization. Starting with an overview of NLP, the book presents recipes for dividing text into sentences, stemming and lemmatization, removing stopwords, and parts of speech tagging to help you to prepare your data. You'll then learn ways of extracting and representing grammatical information, such as dependency parsing and anaphora resolution, discover different ways of representing the semantics using bag-of-words, TF-IDF, word embeddings, and BERT, and develop skills for text classification using keywords, SVMs, LSTMs, and other techniques. As you advance, you'll also see how to extract information from text, implement unsupervised and supervised techniques for topic modeling, and perform topic modeling of short texts, such as tweets. Additionally, the book shows you how to develop chatbots using NLTK and Rasa and visualize text data. By the end of this NLP book, you'll have developed the skills to use a powerful set of tools for text processing.What you will learnBecome well-versed with basic and advanced NLP techniques in PythonRepresent grammatical information in text using spaCy, and semantic information using bag-of-words, TF-IDF, and word embeddingsPerform text classification using different methods, including SVMs and LSTMsExplore different techniques for topic modeling such as K-means, LDA, NMF, and BERTWork with visualization techniques such as NER and word clouds for different NLP toolsBuild a basic chatbot using NLTK and RasaExtract information from text using regular expression techniques and statistical and deep learning toolsWho this book is forThis book is for data scientists and professionals who want to learn how to work with text. Intermediate knowledge of Python will help you to make the most out of this book. If you are an NLP practitioner, this book will serve as a code reference when working on your projects.

Python Network Programming: Conquer all your networking challenges with the powerful Python language

by Dr M. Sarker Pradeeban Kathiravelu Eric Chou Abhishek Ratan

Power up your network applications with Python programming Key Features Master Python skills to develop powerful network applications Grasp the fundamentals and functionalities of SDN Design multi-threaded, event-driven architectures for echo and chat servers Book Description This Learning Path highlights major aspects of Python network programming such as writing simple networking clients, creating and deploying SDN and NFV systems, and extending your network with Mininet. You'll also learn how to automate legacy and the latest network devices. As you progress through the chapters, you'll use Python for DevOps and open source tools to test, secure, and analyze your network. Toward the end, you'll develop client-side applications, such as web API clients, email clients, SSH, and FTP, using socket programming. By the end of this Learning Path, you will have learned how to analyze a network's security vulnerabilities using advanced network packet capture and analysis techniques. This Learning Path includes content from the following Packt products: Practical Network Automation by Abhishek Ratan Mastering Python Networking by Eric Chou Python Network Programming Cookbook, Second Edition by Pradeeban Kathiravelu, Dr. M. O. Faruque Sarker What you will learn Create socket-based networks with asynchronous models Develop client apps for web APIs, including S3 Amazon and Twitter Talk to email and remote network servers with different protocols Integrate Python with Cisco, Juniper, and Arista eAPI for automation Use Telnet and SSH connections for remote system monitoring Interact with websites via XML-RPC, SOAP, and REST APIs Build networks with Ryu, OpenDaylight, Floodlight, ONOS, and POX Configure virtual networks in different deployment environments Who this book is for If you are a Python developer or a system administrator who wants to start network programming, this Learning Path gets you a step closer to your goal. IT professionals and DevOps engineers who are new to managing network devices or those with minimal experience looking to expand their knowledge and skills in Python will also find this Learning Path useful. Although prior knowledge of networking is not required, some experience in Python programming will be helpful for a better understanding of the concepts in the Learning Path.

Python Network Programming Cookbook

by Dr M. Sarker

An easy-to-follow guide full of hands-on examples on real-world networking tasks. It covers the advanced topics of network programming in Python using a set of selected recipes. If you are a network programmer, system/network administrator, or a web application developer, this book is ideal for you. You should have a basic familiarity with the Python programming language and TCP/IP networking concepts. However if you are a novice, you will develop an understanding of the concepts as you progress with this book. This book will serve as a supplementary material for developing hands-on skills in any academic course on network programming.

Python Network Programming Cookbook - Second Edition

by Dr M. Sarker Pradeeban Kathiravelu

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 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 approach This 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.

Python Network Programming Techniques: 50 real-world recipes to automate infrastructure networks and overcome networking challenges with Python

by Marcel Neidinger

Become well-versed with network programmability by solving the most commonly encountered problems using Python 3 and open-source packagesKey FeaturesExplore different Python packages to automate your infrastructureLeverage AWS APIs and the Python library Boto3 to administer your public cloud network efficientlyGet started with infrastructure automation by enhancing your network programming knowledgeBook DescriptionNetwork automation offers a powerful new way of changing your infrastructure network. Gone are the days of manually logging on to different devices to type the same configuration commands over and over again. With this book, you'll find out how you can automate your network infrastructure using Python. You'll get started on your network automation journey with a hands-on introduction to the network programming basics to complement your infrastructure knowledge. You'll learn how to tackle different aspects of network automation using Python programming and a variety of open source libraries. In the book, you'll learn everything from templating, testing, and deploying your configuration on a device-by-device basis to using high-level REST APIs to manage your cloud-based infrastructure. Finally, you'll see how to automate network security with Cisco's Firepower APIs. By the end of this Python network programming book, you'll have not only gained a holistic overview of the different methods to automate the configuration and maintenance of network devices, but also learned how to automate simple to complex networking tasks and overcome common network programming challenges.What you will learnProgrammatically connect to network devices using SSH (secure shell) to execute commandsCreate complex configuration templates using PythonManage multi-vendor or multi-device environments using network controller APIs or unified interfacesUse model-driven programmability to retrieve and change device configurationsDiscover how to automate post modification network infrastructure testsAutomate your network security using Python and Firepower APIsWho this book is forThis book is for network engineers who want to make the most of Python to automate their infrastructure. A basic understanding of Python programming and common networking principles is necessary.

Python Object-Oriented Programming: Build robust and maintainable object-oriented Python applications and libraries, 4th Edition

by Steven F. Lott Dusty Phillips

A comprehensive guide to exploring modern Python through data structures, design patterns, and effective object-oriented techniquesKey FeaturesBuild an intuitive understanding of object-oriented design, from introductory to mature programsLearn the ins and outs of Python syntax, libraries, and best practicesExamine a machine-learning case study at the end of each chapterBook DescriptionPython Object-Oriented Programming, Fourth Edition dives deep into the various aspects of OOP, Python as an OOP language, common and advanced design patterns, and hands-on data manipulation and testing of more complex OOP systems. These concepts are consolidated by open-ended exercises, as well as a real-world case study at the end of every chapter, newly written for this edition. All example code is now compatible with Python 3.9+ syntax and has been updated with type hints for ease of learning. Steven and Dusty provide a friendly, comprehensive tour of important OOP concepts, such as inheritance, composition, and polymorphism, and explain how they work together with Python's classes and data structures to facilitate good design. UML class diagrams are generously used throughout the text for you to understand class relationships. Beyond the book's focus on OOP, it features an in-depth look at Python's exception handling and how functional programming intersects with OOP. Not one, but two very powerful automated testing systems, unittest and pytest, are introduced in this book. The final chapter provides a detailed discussion of Python's concurrent programming ecosystem. By the end of the book, you will have a thorough understanding of how to think about and apply object-oriented principles using Python syntax and be able to confidently create robust and reliable programs.What you will learnImplement objects in Python by creating classes and defining methodsExtend class functionality using inheritanceUse exceptions to handle unusual situations cleanlyUnderstand when to use object-oriented features, and more importantly, when not to use themDiscover several widely used design patterns and how they are implemented in PythonUncover the simplicity of unit and integration testing and understand why they are so importantLearn to statically type check your dynamic codeUnderstand concurrency with asyncio and how it speeds up programsWho this book is forIf you are new to object-oriented programming techniques, or if you have basic Python skills and wish to learn how and when to correctly apply OOP principles in Python, this is the book for you. Moreover, if you are an object-oriented programmer coming from other languages or seeking a leg up in the new world of Python, you will find this book a useful introduction to Python. Minimal previous experience with Python is necessary.

Python One-Liners: Write Concise, Eloquent Python Like a Professional

by Christian Mayer

Python programmers will improve their computer science skills with these useful one-liners.Python One-Liners will teach you how to read and write "one-liners": concise statements of useful functionality packed into a single line of code. You'll learn how to systematically unpack and understand any line of Python code, and write eloquent, powerfully compressed Python like an expert.The book's five chapters cover tips and tricks, regular expressions, machine learning, core data science topics, and useful algorithms. Detailed explanations of one-liners introduce key computer science concepts and boost your coding and analytical skills. You'll learn about advanced Python features such as list comprehension, slicing, lambda functions, regular expressions, map and reduce functions, and slice assignments. You'll also learn how to: • Leverage data structures to solve real-world problems, like using Boolean indexing to find cities with above-average pollution • Use NumPy basics such as array, shape, axis, type, broadcasting, advanced indexing, slicing, sorting, searching, aggregating, and statistics • Calculate basic statistics of multidimensional data arrays and the K-Means algorithms for unsupervised learning • Create more advanced regular expressions using grouping and named groups, negative lookaheads, escaped characters, whitespaces, character sets (and negative characters sets), and greedy/nongreedy operators • Understand a wide range of computer science topics, including anagrams, palindromes, supersets, permutations, factorials, prime numbers, Fibonacci numbers, obfuscation, searching, and algorithmic sortingBy the end of the book, you'll know how to write Python at its most refined, and create concise, beautiful pieces of "Python art" in merely a single line.

Python Packages (Chapman & Hall/CRC The Python Series)

by Tomas Beuzen Tiffany Timbers

Python Packages introduces Python packaging at an introductory and practical level that’s suitable for those with no previous packaging experience. Despite this, the text builds up to advanced topics such as automated testing, creating documentation, versioning and updating a package, and implementing continuous integration and deployment. Covering the entire Python packaging life cycle, this essential guide takes readers from package creation all the way to effective maintenance and updating. Python Packages focuses on the use of current and best-practice packaging tools and services like poetry, cookiecutter, pytest, sphinx, GitHub, and GitHub Actions. Features: The book’s source code is available online as a GitHub repository where it is collaborated on, automatically tested, and built in real time as changes are made; demonstrating the use of good reproducible and clear project workflows. Covers not just the process of creating a package, but also how to document it, test it, publish it to the Python Package Index (PyPI), and how to properly version and update it. All concepts in the book are demonstrated using examples. Readers can follow along, creating their own Python packages using the reproducible code provided in the text. Focuses on a modern approach to Python packaging with emphasis on automating and streamlining the packaging process using new and emerging tools such as poetry and GitHub Actions.

Python para principiantes: Aprenda Python en 5 días con orientación paso a paso y ejercicios prácticos

by Python para principiantes por James Tudor

Si desea aprender la programación de Python en tan solo 5 días, incluso si no tiene habilidades técnicas de ningún tipo, siga leyendo ... ¿Cuántas veces has pensado en aprender a codificar pero te desanimaste porque no tenías antecedentes técnicos, no tenías tiempo para aprender o simplemente no creías que eras lo suficientemente inteligente? Bueno, tenemos buenas noticias para ti. ¡No necesitas un costoso título en informática, un libro de texto de 500 páginas o una mente genial para aprender los conceptos básicos de la programación en Python! El autor más vendido de Amazon, James Tudor, proporciona una guía concisa y paso a paso para la programación de Python para principiantes. Se proporcionan muchos ejemplos, ilustraciones, resumen de final de capítulo y ejercicios de práctica (con soluciones) para ayudar al lector a aprender más rápido, recordar más tiempo y desarrollar una comprensión profunda de los conceptos clave. En este libro, descubrirás: Un conciso. Sencillo. Nuevo estilo de enseñanza amigable que se presta bien a los principiantes Capítulos que se han cortado en trozos pequeños para darle la información que necesita (en ese momento) para que no se sienta abrumado. Se utilizan muchos ejemplos e ilustraciones simples paso a paso para enfatizar conceptos clave y ayudar a mejorar su comprensión Cada ejercicio de práctica se basa en conceptos discutidos en capítulos anteriores para que su aprendizaje se refuerce a medida que avanza. Los temas se seleccionan cuidadosamente para brindarle una amplia exposición a Python, sin abrumarlo con demasiada información (potencialmente innecesaria). Se presenta un resumen del final del capítulo para darle puntos clave que lo ayudarán a solidificar su comprensión. MÁS, MATERIALES ADICIONALES: Las primeras páginas de este libro le mostrarán cómo descargar un folleto de respuestas que resume toda la solución a los ejercicios de

Python Parallel Programming Cookbook

by Giancarlo Zaccone

Master efficient parallel programming to build powerful applications using Python About This Book * Design and implement efficient parallel software * Master new programming techniques to address and solve complex programming problems * Explore the world of parallel programming with this book, which is a go-to resource for different kinds of parallel computing tasks in Python, using examples and topics covered in great depth Who This Book Is For Python Parallel Programming Cookbook is intended for software developers who are well versed with Python and want to use parallel programming techniques to write powerful and efficient code. This book will help you master the basics and the advanced of parallel computing. What You Will Learn * Synchronize multiple threads and processes to manage parallel tasks * Implement message passing communication between processes to build parallel applications * Program your own GPU cards to address complex problems * Manage computing entities to execute distributed computational tasks * Write efficient programs by adopting the event-driven programming model * Explore the cloud technology with DJango and Google App Engine * Apply parallel programming techniques that can lead to performance improvements In Detail Parallel programming techniques are required for a developer to get the best use of all the computational resources available today and to build efficient software systems. From multi-core to GPU systems up to the distributed architectures, the high computation of programs throughout requires the use of programming tools and software libraries. Because of this, it is becoming increasingly important to know what the parallel programming techniques are. Python is commonly used as even non-experts can easily deal with its concepts. This book will teach you parallel programming techniques using examples in Python and will help you explore the many ways in which you can write code that allows more than one process to happen at once. Starting with introducing you to the world of parallel computing, it moves on to cover the fundamentals in Python. This is followed by exploring the thread-based parallelism model using the Python threading module by synchronizing threads and using locks, mutex, semaphores queues, GIL, and the thread pool. Next you will be taught about process-based parallelism where you will synchronize processes using message passing along with learning about the performance of MPI Python Modules. You will then go on to learn the asynchronous parallel programming model using the Python asyncio module along with handling exceptions. Moving on, you will discover distributed computing with Python, and learn how to install a broker, use Celery Python Module, and create a worker. You will also understand the StarCluster framework, Pycsp, Scoop, and Disco modules in Python. Further on, you will learn GPU programming with Python using the PyCUDA module along with evaluating performance limitations. Next you will get acquainted with the cloud computing concepts in Python, using Google App Engine (GAE), and building your first application with GAE. Lastly, you will learn about grid computing concepts in Python and using PyGlobus toolkit, GFTP and GASS COPY to transfer files, and service monitoring in PyGlobus. Style and approach A step-by-step guide to parallel programming using Python, with recipes accompanied by one or more programming examples. It is a practically oriented book and has all the necessary underlying parallel computing concepts.

Python Parallel Programming Cookbook: Over 70 recipes to solve challenges in multithreading and distributed system with Python 3, 2nd Edition

by Giancarlo Zaccone

Implement effective programming techniques in Python to build scalable software that saves time and memory Key Features Design distributed computing systems and massive computational tasks coherently Learn practical recipes with concise explanations that address development pain points encountered while coding parallel programs Understand how to host your parallelized applications on the cloud Book Description Nowadays, it has become extremely important for programmers to understand the link between the software and the parallel nature of their hardware so that their programs run efficiently on computer architectures. Applications based on parallel programming are fast, robust, and easily scalable. This updated edition features cutting-edge techniques for building effective concurrent applications in Python 3.7. The book introduces parallel programming architectures and covers the fundamental recipes for thread-based and process-based parallelism. You'll learn about mutex, semaphores, locks, queues exploiting the threading, and multiprocessing modules, all of which are basic tools to build parallel applications. Recipes on MPI programming will help you to synchronize processes using the fundamental message passing techniques with mpi4py. Furthermore, you'll get to grips with asynchronous programming and how to use the power of the GPU with PyCUDA and PyOpenCL frameworks. Finally, you'll explore how to design distributed computing systems with Celery and architect Python apps on the cloud using PythonAnywhere, Docker, and serverless applications. By the end of this book, you will be confident in building concurrent and high-performing applications in Python. What you will learn Synchronize multiple threads and processes to manage parallel tasks Use message passing techniques to establish communication between processes to build parallel applications Program your own GPU cards to address complex problems Manage computing entities to execute distributed computational task Write efficient programs by adopting the event-driven programming model Explore cloud technology with Django and Google App Engine Apply parallel programming techniques that can lead to performance improvements Who this book is for The Python Parallel Programming Cookbook is for software developers who are well-versed with Python and want to use parallel programming techniques to write powerful and efficient code. This book will help you master the basics and the advanced of parallel computing.

Python Penetration Testing Essentials

by Mohit

If you are a Python programmer or a security researcher who has basic knowledge of Python programming and want to learn about penetration testing with the help of Python, this book is ideal for you. Even if you are new to the field of ethical hacking, this book can help you find the vulnerabilities in your system so that you are ready to tackle any kind of attack or intrusion.

Python Penetration Testing Essentials: Techniques for ethical hacking with Python, 2nd Edition

by Mohit Raj

This book gives you the skills you need to use Python for penetration testing, with the help of detailed code examples. This book has been updated for Python 3.6.3 and Kali Linux 2018.1.Key FeaturesDetect and avoid various attack types that put the privacy of a system at riskLeverage Python to build efficient code and eventually build a robust environmentLearn about securing wireless applications and information gathering on a web serverBook DescriptionThis book gives you the skills you need to use Python for penetration testing (pentesting), with the help of detailed code examples. We start by exploring the basics of networking with Python and then proceed to network hacking. Then, you will delve into exploring Python libraries to perform various types of pentesting and ethical hacking techniques. Next, we delve into hacking the application layer, where we start by gathering information from a website. We then move on to concepts related to website hacking—such as parameter tampering, DDoS, XSS, and SQL injection.By reading this book, you will learn different techniques and methodologies that will familiarize you with Python pentesting techniques, how to protect yourself, and how to create automated programs to find the admin console, SQL injection, and XSS attacks.What you will learnThe basics of network pentesting including network scanning and sniffingWireless, wired attacks, and building traps for attack and torrent detectionWeb server footprinting and web application attacks, including the XSS and SQL injection attackWireless frames and how to obtain information such as SSID, BSSID, and the channel number from a wireless frame using a Python scriptThe importance of web server signatures, email gathering, and why knowing the server signature is the first step in hackingWho this book is forIf you are a Python programmer, a security researcher, or an ethical hacker and are interested in penetration testing with the help of Python, then this book is for you. Even if you are new to the field of ethical hacking, this book can help you find the vulnerabilities in your system so that you are ready to tackle any kind of attack or intrusion.

Python Playground: Geeky Projects for the Curious Programmer

by Mahesh Venkitachalam

Python is a powerful programming language that’s easy to learn and fun to play with. But once you’ve gotten a handle on the basics, what do you do next?Python Playground is a collection of imaginative programming projects that will inspire you to use Python to make art and music, build simulations of real-world phenomena, and interact with hardware like the Arduino and Raspberry Pi. You’ll learn to use common Python tools and libraries like numpy, matplotlib, and pygame to do things like:–Generate Spirograph-like patterns using parametric equations and the turtle module–Create music on your computer by simulating frequency overtones–Translate graphical images into ASCII art–Write an autostereogram program that produces 3D images hidden beneath random patterns–Make realistic animations with OpenGL shaders by exploring particle systems, transparency, and billboarding techniques–Construct 3D visualizations using data from CT and MRI scans–Build a laser show that responds to music by hooking up your computer to an ArduinoProgramming shouldn’t be a chore. Have some solid, geeky fun with Python Playground.The projects in this book are compatible with both Python 2 and 3.

Python Playground, 2nd Edition: Geeky Projects for the Curious Programmer

by Mahesh Venkitachalam

Put the fun back in Python programming and build your skills as you create 3D simulations and graphics, speech-recognition machine-learning systems, IoT devices, and more.The fully updated 2nd edition is here, now with 5 brand-new projects!Harness the power of Python as you turn code into tangible creations with Python Playground, a collection of 15 inventive projects that will expand your programming horizons, spark your curiosity, and elevate your coding skills.Go beyond the basics as you write programs to generate art and music, simulate real-world phenomena, and interact with hardware, all through the use of Python and common libraries such as numpy, matplotlib, and Pillow.As you work through the book&’s projects, you will:Craft intricate Spirograph-like designs with parametric equations and the turtle moduleGenerate music by synthesizing plucked string soundsTransform everyday images into ASCII art, photomosaics, and eye-popping autostereogramsDesign engaging cellular automata and flocking simulationsExplore the realm of 3D graphics, from basic shape rendering to visualizing MRI scan dataBuild a Raspberry Pi–powered laser show that dances along with musicNew to this edition: We&’ve expanded your playground with five new projects: you&’ll draw fractals, bring Conway&’s Game of Life into 3D space, and use a Raspberry Pi and Python to create a musical instrument, an IoT garden monitor, and even a machine learning–driven speech recognition system.Whether you&’re a seasoned professional or just getting started, you&’ll find Python Playground to be a great way to learn, experiment with, and master this versatile programming language.Covers Python 3.x

Python Pocket Reference: Python In Your Pocket (Pocket Reference (o'reilly) Ser.)

by Mark Lutz

Updated for both Python 3.4 and 2.7, this convenient pocket guide is the perfect on-the-job quick reference. Youâ??ll find concise, need-to-know information on Python types and statements, special method names, built-in functions and exceptions, commonly used standard library modules, and other prominent Python tools. The handy index lets you pinpoint exactly what you need.Written by Mark Lutzâ??widely recognized as the worldâ??s leading Python trainerâ??Python Pocket Reference is an ideal companion to Oâ??Reillyâ??s classic Python tutorials, Learning Python and Programming Python, also written by Mark.This fifth edition covers:Built-in object types, including numbers, lists, dictionaries, and moreStatements and syntax for creating and processing objectsFunctions and modules for structuring and reusing codePythonâ??s object-oriented programming toolsBuilt-in functions, exceptions, and attributesSpecial operator overloading methodsWidely used standard library modules and extensionsCommand-line options and development toolsPython idioms and hintsThe Python SQL Database API

Python Pocket Reference, 2nd Edition

by Mark Lutz

This pocket reference covers the latest Python release 2.2. It is a short, concise reference for the Python programming language, and its most commonly used libraries and tools. Designed to be a quick and easy to use resource for developers, this book serves as a natural companion to O'Reilly's Learning Python and Programming Python, 2nd Edition . This edition includes new summary material for Python's GUI, Internet, and database programming tools.

Python Polars: The Definitive Guide

by Jeroen Janssens Thijs Nieuwdorp

Want to speed up your data analysis and work with larger-than-memory datasets? Python Polars offers a blazingly fast, multithreaded, and elegant API for data loading, manipulation, and processing. With this hands-on guide, you'll walk through every aspect of Polars and learn how to tackle practical use cases using real-world datasets.Jeroen Janssens and Thijs Nieuwdorp from Xomnia in Amsterdam show you how this superfast DataFrame library is perfect for efficient data wrangling, ETL pipelines, and so much more. This book helps you quickly learn the syntax and understand Polars' underlying concepts. You don't need to have experience with pandas or Spark, but if you do, this book will help you make a smooth transition.With this definitive guide at your side, you'll be able to:Process larger-than-memory datasets at record speedApply the eager, lazy, and streaming APIs of Polars and decide when to use themTransition smoothly from pandas or Spark to PolarsIntegrate Polars into your existing code baseWork with Arrow and Parquet to efficiently read and write dataTranslate complex ETL tasks into efficient and elegant queries

Python programmieren lernen für Dummies (Für Dummies)

by John Paul Mueller

Der Einstieg in die Programmierung kann ganz leicht sein, das beweist Ihnen dieses Buch! Schritt für Schritt führt Sie John Paul Mueller in die Grundlagen der beliebten Programmiersprache Python ein und zeigt Ihnen, wie Sie Ihren Computer dazu bringen, das zu tun, was Sie wollen. Downloaden und installieren Sie die Python-Distribution Anaconda, lernen Sie die Programmiersprache Python kennen und schreiben Sie Ihre ersten eigenen Programme. Erfahren Sie außerdem, wie Sie Informationen managen und modifizieren, Schleifen durchlaufen, Fehler beheben und mit Listen und Strings arbeiten. Erhalten Sie zusätzlich einen Einblick in fortgeschrittene Techniken. Mit den vielen Beispielen zum Herunterladen und Herumexperimentieren können Sie das Gelernte direkt ausprobieren, sodass Sie sich schnell in der Welt der Programmierer zuhause fühlen.

Python Programming: A Step-by-Step Guide to Learning the Language

by C. K. Dhaliwal Poonam Rana T. P. Brar

This book explores Python's rich history, dynamic features, and its wide-ranging applications in web development, data science, and machine learning. From its installation process to interactive help, readers embark on a journey through Python's unique characteristics and its distinctions from other programming languages. It lays a solid foundation for beginners and seasoned programmers alike.Print edition not for sale in South Asia (India, Sri Lanka, Nepal, Bangladesh, Pakistan or Bhutan)

Python Programming: A Practical Approach

by Vijay Kumar Sharma Vimal Kumar Swati Sharma Shashwat Pathak

Maintaining a practical perspective, Python Programming: A Practical Approach acquaints you with the wonderful world of programming. The book is a starting point for those who want to learn Python programming. The backbone of any programming, which is the data structure and components such as strings, lists, etc., have been illustrated with many examples and enough practice problems to instill a level of self-confidence in the reader. Drawing on knowledge gained directly from teaching Computer Science as a subject and working on a wide range of projects related to ML, AI, deep learning, and blockchain, the authors have tried their best to present the necessary skills for a Python programmer. Once the foundation of Python programming is built and the readers are aware of the exact structure, dimensions, processing, building blocks, and representation of data, they can readily take up their specific problems from the area of interest and solve them with the help of Python. These include, but are not limited to, operators, control flow, strings, functions, module processing, object-oriented programming, exception and file handling, multithreading, synchronization, regular expressions, and Python database programming. This book on Python programming is specially designed to keep readers busy with learning fundamentals and generates a sense of confidence by attempting the assignment problems. We firmly believe that explaining any particular technology deviates from learning the fundamentals of a programming language. This book is focused on helping readers attempt implementation in their areas of interest through the skills imparted through this book. We have attempted to present the real essence of Python programming, which you can confidently apply in real life by using Python as a tool. Salient Features Based on real-world requirements and solution. Simple presentation without avoiding necessary details of the topic. Executable programs on almost every topic. Plenty of exercise questions, designed to test readers’ skills and understanding. Purposefully designed to be instantly applicable, Python Programming: A Practical Approach provides implementation examples so that the described subject matter can be immediately implemented due to the well-known versatility of Python in handling different data types with ease.

Refine Search

Showing 47,076 through 47,100 of 59,381 results