This wiki is in the process of being archived due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies. Edits are discouraged.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.

Mastering Cybersecurity using Python (Volume 1)

Abhishek Singh

ISBN: 979-8282743012 247 pages (May 6, 2025)

Book Overview:

Mastering Cybersecurity using Python (Volume 1): A Comprehensive Guide! This book will taken you on a journey through the foundational aspects of cybersecurity, from understanding threats and frameworks to hands-on Python scripting for network scanning, cryptography, web security, and cybercrime analysis. You will explored tools like Scapy, BeautifulSoup, and Selenium, and delved into legal frameworks like the IT Act, 2000, and the MITRE ATT&CK framework. Structured into 11 chapters, the book progresses from fundamentals to advanced techniques, with real-world examples, legal insights, and ethical considerations.

Key Themes 1. Foundations of Cybersecurity

2. Offensive Security with Python

3. Defensive Techniques

4. Legal & Ethical Dimensions

5. Tools & Methods

Pedagogical Features

Target Audience

What Sets It Apart

Publisher's Page


Mastering PostgreSQL using Python Vol 1: A Comprehensive Guide

Abhishek Singh

ISBN: 979-8850565985 318 pages (July 1, 2023)

Book Overview:

"Mastering PostgreSQL with Python: A Comprehensive Guide" is a comprehensive book that provides a deep understanding of PostgreSQL and its integration with Python for building robust and scalable data-driven applications. This book covers a wide range of topics, from the basics of PostgreSQL and Python to advanced features, performance tuning, and security.

The book begins with an introduction to relational databases, highlighting the importance of PostgreSQL and Python in modern data-driven applications. It guides readers through the installation and setup process of PostgreSQL and Python, ensuring a smooth development environment.

Readers will learn the fundamental PostgreSQL commands for data manipulation, such as SELECT, INSERT, UPDATE, and DELETE. They will explore various data retrieval techniques, including joining tables, filtering data, sorting, and aggregating results.

The book delves into advanced PostgreSQL features, such as working with JSON and JSONB data types, performing full-text search, and utilizing arrays and other advanced data structures.

Throughout the book, readers will find practical examples, code snippets, and real-world scenarios to reinforce their understanding. The interview questions provided at the end of each chapter serve as valuable resources for job interviews and self-assessment.

By the end of "Mastering PostgreSQL with Python," readers will have gained the knowledge and skills necessary to leverage the power of PostgreSQL and Python to build robust and scalable data-driven applications while ensuring high performance, data integrity, and security.

Publisher's Page


Python Coding – One Year Later: A Treasure Trove of Practical and Simple Examples

Cathy Young

ISBN: 9798707217357 M & C Publishing 356 Pages (December 2020)

Book Overview:

Learn the simple basics of debugging a Python script so your code runs as expected. Chapter 3 presents "Python Basics" because a big part of debugging is knowing the correct syntax for a particular object and task. Dozens of diagrams explain concepts such as indexing, slicing, scope, or recursive functions. The syntax relevant to each type of object is also shown. To add to a "list," you could use 'append,' 'join' or 'extend' methods. While adding a new key:value pair to a dictionary is straightforward, adding to an existing dictionary requires you to know the "type" of object in the key:value pair to determine which methods to use to add, update, or delete objects.

Copy and paste over 50 real-world self-contained examples into your IDE and run the code snippets. Between the detailed Table of Contents and extensive Index, you can quickly find answers. The Index includes common phrases for those times when you don't know the technical term. For example, to find a string in Python, you could use the "in" comparison operator. Whether you look for "find" or "search," the Index refers you to the "in" comparison operator. The examples are varied so you can work with different types of data, such as: XML, HTML, matplotlib (plots/charts/graphs), OS (files/directories), *.txt, *.csv, user input, or dates.

Publisher's Page


Publishing Python Packages

Dane Hillard

ISBN 13: 9781617299919 Manning Publications 275 Pages (March 2022)

Book Overview:

Python packages are a great way to share your code and give a productivity boost to your colleagues and community. Whether you’re reusing your code internally or contributing to open source, a properly automated system of packaging will save you from time-consuming manual maintenance.

Publishing Python Packages teaches you how to easily share your Python code with your team and the outside world. Learn a repeatable and highly automated process for package maintenance that’s based on the best practices, tools, and standards of Python packaging. Whether you’re entirely new to Python packaging or looking for optimal ways to maintain and scale your packages, this fast-paced and engaging guide is for you.

Publisher's Page


Intuitive Python: Productive Development for Projects that Last

David Muller

ISBN 13: 9781680508239 The Pragmatic Bookshelf 130 Pages (June 2021)

Book Overview:

Developers power their projects with Python because it emphasizes readability, ease of use, and access to a meticulously maintained set of packages and tools. The language itself continues to improve with every release: writing in Python is full of possibility. But to maintain a successful Python project, you need to know more than just the language. You need tooling and instincts to help you make the most out of what’s available to you. Use this book as your guide to help you hone your skills and sculpt a Python project that can stand the test of time.

Publisher's Page


Practices of the Python Pro

Dane Hillard

ISBN 13: 9781617296086 Manning Publications 248 Pages (14 Jan 2020)

Book Overview:

Professional developers know the many benefits of writing application code that’s clean, well-organized, and easy to maintain. By learning and following established patterns and best practices, you can take your code and your career to a new level.

With Practices of the Python Pro, you’ll learn to design professional-level, clean, easily maintainable software at scale using the incredibly popular programming language, Python. You’ll find easy-to-grok examples that use pseudocode and Python to introduce software development best practices, along with dozens of instantly useful techniques that will help you code like a pro.

Publisher's page


Network Science with Python and NetworkX Quick Start Guide

Edward Platt

ISBN 13: 9781789955316 Packt 190 Pages (25 Apr 2019)

Book Overview:

Manipulate and analyze network data with the power of Python and NetworkX

NetworkX is a leading free and open source package used for network science with the Python programming language. NetworkX can track properties of individuals and relationships, find communities, analyze resilience, detect key network locations, and perform a wide range of important tasks. With the recent release of version 2, NetworkX has been updated to be more powerful and easy to use.

With this book, you’ll be able to choose appropriate network representations, use NetworkX to build and characterize networks, and uncover insights while working with real-world systems.

Publisher's page


Data Science Projects with Python

Steve Klosterman

ISBN 13: 9781838551025 Packt 374 Pages (29 Apr 2019)

Book Overview:

A case study approach to successful data science projects using Python, pandas, and scikit-learn

Data Science Projects with Python is designed to give you practical guidance on industry-standard data analysis and machine learning tools in Python, with the help of realistic data. The book will help you understand how you can use pandas and Matplotlib to critically examine a dataset with summary statistics and graphs, and extract the insights you seek to derive.

With this book, you will have the skills you need to confidently use various machine learning algorithms to perform detailed data analysis and extract meaningful insights from unstructured data.

Publisher's page


Applied Supervised Learning with Python

Benjamin Johnston and Ishita Mathur

ISBN 13: 9781789954920 Packt 404 Pages (26 Apr 2019)

Book Overview:

Explore the exciting world of machine learning with the fastest growing technology in the world

Machine learning—the ability of a machine to give right answers based on input data—has revolutionized the way we do business. Applied Supervised Learning with Python provides a rich understanding of how you can apply machine learning techniques in your data science projects using Python. You'll explore Jupyter Notebooks, the technology used commonly in academic and commercial circles with in-line code running support.

With this book, you'll be equipped to not only work with machine learning algorithms, but also be able to create some of your own!

Publisher's page


Hands-On Unsupervised Learning with Python

Giuseppe Bonaccorso

ISBN 13: 9781789348279 Packt 386 Pages (28 Feb 2019)

Book Overview:

Discover the skill-sets required to implement various approaches to Machine Learning with Python

Unsupervised learning is about making use of raw, untagged data and applying learning algorithms to it to help a machine predict its outcome. With this book, you will explore the concept of unsupervised learning to cluster large sets of data and analyze them repeatedly until the desired outcome is found using Python.

With this book, you will have learned the art of unsupervised learning for different real-world challenges.

Publisher's page


Mastering Python for Finance - Second Edition

James Ma Weiming

ISBN 13: 9781789346466 Packt 426 Pages(29 Apr 2019)

Book Overview:

Take your financial skills to the next level by mastering cutting-edge mathematical and statistical financial applications

The second edition of Mastering Python for Finance will guide you through carrying out complex financial calculations practiced in the industry of finance by using next-generation methodologies. You will master the Python ecosystem by leveraging publicly available tools to successfully perform research studies and modeling, and learn to manage risks with the help of advanced examples.

With this book, you will also be able to apply Python to different paradigms in the financial industry and perform efficient data analysis.

Publisher's page


Python Parallel Programming Cookbook - Second Edition

Giancarlo Zaccone

ISBN 13: 9781789533736 Packt 370 Pages (6 Sep 2019)

Book:

Implement effective programming techniques in Python to build scalable software that saves time and memory

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.

With this book, you will be confident in building concurrent and high-performing applications in Python.

Publisher's page


Hands-On Neuroevolution with Python

Iaroslav Omelianenko

ISBN 13 :9781838824914 Packt 368 pages (December 24, 2019)

Book Overview:

Neuroevolution is a form of artificial intelligence learning that uses evolutionary algorithms to simplify the process of solving complex tasks in domains such as games, robotics, and the simulation of natural processes. This book will give you comprehensive insights into essential neuroevolution concepts and equip you with the skills you need to apply neuroevolution-based algorithms to solve practical, real-world problems.

You'll start with learning the key neuroevolution concepts and methods by writing code with Python. You'll also get hands-on experience with popular Python libraries and cover examples of classical reinforcement learning, path planning for autonomous agents, and developing agents to autonomously play Atari games. Next, you'll learn to solve common and not-so-common challenges in natural computing using neuroevolution-based algorithms. Later, you'll understand how to apply neuroevolution strategies to existing neural network designs to improve training and inference performance. Finally, you'll gain clear insights into the topology of neural networks and how neuroevolution allows you to develop complex networks, starting with simple ones.

By the end of this book, you will not only have explored existing neuroevolution-based algorithms, but also have the skills you need to apply them in your research and work assignments.

Publisher's page


Mastering pandas - Second Edition

Ashish Kumar

ISBN 13: 9781789343236 Packt Course Length: 20 hours 13 minutes (25 Oct 2019)

Video Overview:

Perform advanced data manipulation tasks using pandas and become an expert data analyst.

pandas is a popular Python library used by data scientists and analysts worldwide to manipulate and analyze their data. This book presents useful data manipulation techniques in pandas to perform complex data analysis in various domains.

With this book, you will learn how to perform efficient data analysis using pandas on complex data, and become an expert data analyst or data scientist in the process.

Publisher's page


Python API Development Fundamentals

Jack Huang, Ray Chung, Et al

ISBN 13 :9781838983994 Packt 372 Pages (22 Nov 2019)

Book Overview:

Learn all that’s needed to build a fully functional web application from scratch.

Python is a flexible language that can be used for much more than just script development. By knowing the Python RESTful APIs work, you can build a powerful backend for web applications and mobile applications using Python.

You'll take your first steps by building a simple API and learning how the frontend web interface can communicate with the backend. You'll also learn how to serialize and deserialize objects using the marshmallow library. Then, you'll learn how to authenticate and authorize users using Flask-JWT. You'll also learn how to enhance your APIs by adding useful features, such as email, image upload, searching, and pagination. You'll wrap up the whole book by deploying your APIs to the cloud.

By the end of this book, you'll have the confidence and skill to leverage the power of RESTful APIs and Python to build efficient web applications.

Publisher's page


Full-Stack React, Python, and GraphQL [Video]

Reed Barger

ISBN 13: 9781839215698 Packt Course Length: 6 hours 35 minutes (24 Oct 2019)

Video Overview:

Develop impressive, rich full-stack apps with the latest and greatest features of Python, React, and GraphQL

This course is for developers keen to build complete, full-stack applications with cutting-edge React user interfaces, powered by a robust Python backend and using GraphQL on the server and client. This course was designed for developers keen to get ahead of the curve in the latest web technologies, and focuses on how to use GraphQL from front to back, the most current techniques and tools in React (including React Hooks, Apollo Boost, and Material UI), and how to combine it all with Python, Django, and Graphene for an amazing stack.

You'll be building a full-stack app from scratch with a GraphQL API made with Python (Django and Graphene); a React client app with React Hooks and Apollo Boost; state management React Context (with useContext) and Apollo Client State, media file uploads with Cloudinary; and tons more.

This app will be a social music-sharing app called ReactTracks where users can upload and share any music they like, interact with various tracks by liking them and adding them to their profile, searching for tracks, adding information about their music, and editing/deleting their tracks.

Publisher's page


Learn Python and Ethical Hacking from Scratch [Video]

Zaid Sabih

ISBN 13:9781839214561 Packt course Length: 23 hours 29 minutes (11 Oct 2019)

Video Overview:

Start from scratch and learn both topics simultaneously by writing 20+ hacking programs

This course is highly practical but doesn't neglect the theory, so we start by covering some basics for ethical hacking and Python programming, installing the required software, and then starting to program straightaway.

So, by the end of the course, you'll have the programming skills to write any program even if it has nothing to do with hacking, but you'll learn to program by programming hacking tools!

All the code files are placed at https://github.com/PacktPublishing/Learn-Python-and-Ethical-Hacking-From-Scratch

Publisher's page


Reinforcement Learning Algorithms with Python

Andrea Lonza

ISBN 13:9781789131116 Packt 366 Pages (18 Oct 2019)

Book Overview:

Develop self-learning algorithms and agents using TensorFlow and other Python tools, frameworks, and libraries

Reinforcement Learning (RL) is a popular and promising branch of AI that involves making smarter models and agents that can automatically determine ideal behaviour based on changing requirements. This book will help you master RL algorithms and understand their implementation as you build self-learning agents.

By the end of the book, you'll have worked with key RL algorithms to overcome challenges in real-world applications and be part of the RL research community.

Publisher's page


Python A-Z - Learn Python Programming By Building 5 Projects [Video]

Shubham Sarda

ISBN 13: 9781839212956 Packt Course Length: 12 hours 21 minutes 11 Oct 2019 (MONTH YEAR)

Video Overview:

Python programming masterclass for beginners – learn all about Python 3 with object-oriented concepts, five projects and more!

Welcome to “Python Programming A-Z – Learn Python Programming by Building Five Projects,” a course that takes you through your Python journey from beginner to advanced step by step. This course touches on every important concept of the latest version of Python, Python 3. Throughout the course, we will explore the most essential Python features:

After completing this course, you will be ready to work as an intern, fresher, or freelancer, and you will also be able to implement everything yourself! Most importantly, you will be ready to use the huge scope offered by Python programming.

All the codes and supporting files for this course are available at -https://github.com/PacktPublishing/Python-A-Z---Learn-Python-Programming-By-Building-5-Projects

Publisher's page


Python Parallel Programming Cookbook - Second Edition

Giancarlo Zaccone

ISBN 13: 9781789533736 Packt 370 pages Pages: 11 hours 6 minutes (6 Sep 2019)

Book Overview:

Implement effective programming techniques in Python to build scalable software that saves time and memory

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.

With this book, you will be confident in building concurrent and high-performing applications in Python.

Publisher's page


Python GUI Programming Cookbook - Third Edition

Burkhard Meier

ISBN 13: 9781838827540 Packt 486 Pages (11 Oct 2019)

Book Overview:

Over 90 recipes to help you develop widgets, forms, layouts, charts, and much more using the latest features of Python 3

Python is a multi-domain, interpreted programming language that is easy to learn and implement. With its wide support for frameworks to develop GUIs, you can build interactive and beautiful GUI-based applications easily using Python. This third edition of Python GUI Programming Cookbook follows a task-based approach to help you create effective GUIs with the smallest amount of code. Every recipe in this book builds upon the last to create an entire, real-life GUI application. These recipes also help you solve problems that you might encounter while developing GUIs. This book mainly focuses on using Python’s built-in tkinter GUI framework. You'll learn how to create GUIs in Python using simple programming styles and object-oriented programming (OOP). As you add more widgets and expand your GUI, you will learn how to connect to networks, databases, and graphical libraries that greatly enhance the functionality of your GUI. You’ll also learn how to use threading to ensure that your GUI doesn't become unresponsive. Toward the end, you’ll learn about the versatile PyQt GUI framework, which comes along with its own visual editor that allows you to design GUIs using drag and drop features. By the end of the book, you’ll be an expert in designing Python GUIs and be able to develop a variety of GUI applications with ease.

Publisher's page


Python GUI Programming - A Complete Reference Guide

Alan D. Moore and B.M. Harwani

ISBN 13: 9781838988470 Packt 746 Pages (24 Jun 2019)

Book Overview:

Explore Python’s GUI frameworks and create visually stunning and feature-rich applications

This Learning Path begins by introducing you to Tkinter and PyQt, before guiding you through the application development process. As you expand your GUI by adding more widgets, you'll work with networks, databases, and graphical libraries that enhance its functionality. You'll also learn how to connect to external databases and network resources, test your code, and maximize performance using asynchronous programming. In later chapters, you'll understand how to use the cross-platform features of Tkinter and Qt5 to maintain compatibility across platforms. You’ll be able to mimic the platform-native look and feel, and build executables for deployment across popular computing platforms.

With this book you'll have the skills and confidence to design and build high-end GUI applications that can solve real-world problems.

Publisher's page