نوشته‌ها

کتاب Data Structures and Algorithms in Python

کتاب Data Structures and Algorithms in Python

Based on the authors’ market leading data structures booksin Java and C++, this book offers a comprehensive, definitiveintroduction to data structures in Python by authoritative authors.

Data Structures and Algorithms in Python is the firstauthoritative object-oriented book available for Python datastructures. Designed to provide a comprehensive introduction todata structures and algorithms, including their design, analysis,and implementation, the text will maintain the same generalstructure as Data Structures and Algorithms in Java andData Structures and Algorithms in C++.

  • Begins by discussing Python’s conceptually simple syntax,which allows for a greater focus on concepts.
  • Employs a consistent object-oriented viewpoint throughout thetext.
  • Presents each data structure using ADTs and their respectiveimplementations and introduces important design patterns as a meansto organize those implementations into classes, methods, andobjects.
  • Provides a thorough discussion on the analysis and design offundamental data structures.
  • Includes many helpful Python code examples, with source codeprovided on the website.
  • Uses illustrations to present data structures and algorithms,as well as their analysis, in a clear, visual manner.
  • Provides hundreds of exercises that promote creativity, helpreaders learn how to think like programmers, and reinforceimportant concepts.
  • Contains many Python-code and pseudo-code fragments, andhundreds of exercises, which are divided into roughly 40%reinforcement exercises, 40% creativity exercises, and 20%programming projects.

 

دانلود رایگان کتاب

کتاب Dive into Python 3

کتاب Dive into Python 3

Mark Pilgrim‘s Dive Into Python 3 is a hands-on guide to Python 3 and its differences from Python 2. As in the original book, Dive Into Python, each chapter starts with a real, complete code sample, proceeds to pick it apart and explain the pieces, and then puts it all back together in a summary at the end.

This book includes:

  • Example programs completely rewritten to illustrate powerful new concepts now available in Python 3: sets, iterators, generators, closures, comprehensions, and much more
  • A detailed case study of porting a major library from Python 2 to Python 3
  • A comprehensive appendix of all the syntactic and semantic changes in Python 3

This is the perfect resource for you if you need to port applications to Python 3, or if you like to jump into languages fast and get going right away.

دانلود رایگان کتاب

 

MySQL Connector/Python Revealed

MySQL Connector/Python Revealed

Move data back and forth between database and application. The must-have knowledge in this book helps programmers learn how to use the official driver, MySQL Connector/Python, by which Python programs communicate with the MySQL database. 

This book takes you from the initial installation of the connector through basic query execution, then through more advanced topics, error handing, and troubleshooting. The book covers both the traditional API as well as the new X DevAPI. The X DevAPI is part of MySQL 8.0 and is an API that can be used with connectors for several programming languages and is used from the command-line interface known as MySQL Shell. You will learn to use the connector by working through code examples and following a discussion of how the API calls work. 

By the end of the book, you will be able to use MySQL as the back-end storage for your Python programs, and you’ll even have the option of choosing between SQL and NoSQL interfaces. 

What You’ll Learn

Install MySQL Connector/Python

Connect to MySQL and configure database access

Execute SQL and NoSQL queries from your Python program

Trap errors and troubleshoot problems

Store data from different languages using MySQL’s character set support

Work in the X DevAPI that underlies all of MySQL’s language connectors

Who This Book Is For

Developers familiar with Python who are looking at using MySQL as the back-end database. No prior knowledge of Connector/Python is assumed, but readers should be familiar with databases and the Python programming language. 

 

دانلود رایگان کتاب

Learn to Program with Python 3

Learn to Program with Python 3

Move from zero knowledge of programming to comfortably writing small to medium-sized programs in Python. Fully updated for Python 3, with code and examples throughout, the book explains Python coding with an accessible, step-by-step approach designed to bring you comfortably into the world of software development.

Real–world analogies make the material understandable, with a wide variety of well-documented examples to illustrate each concept.  Along the way, you’ll develop short programs through a series of coding challenges that reinforce the content of the chapters.

Learn to Program with Python 3 guides you with material developed in the author’s university computer science courses. The author’s conversational style feels like you’re working with a personal tutor. All material is thoughtfully laid out, each lesson building on previous ones. 

What You’ll Learn  

Understand programming basics with Python, based on material developed in the author’s college courses

Learn core concepts: variables, functions, conditionals, loops, lists, strings, and more

Explore example programs including simple games you can program and customize

Build modules to reuse your own code

Who This Book Is For
 
This book assumes no prior programming experience, and would be appropriate as text for a high school or college introduction to computer science.
دانلود رایگان کتاب
Gray Hat Python: Python Programming for Hackers and Reverse Engineers 1st Edition

Gray Hat Python: Python Programming for Hackers and Reverse Engineers 1st Edition

Python is fast becoming the programming language of choice for hackers, reverse engineers, and software testers because it’s easy to write quickly, and it has the low-level support and libraries that make hackers happy.

But until now, there has been no real manual on how to use Python for a variety of hacking tasks. You had to dig through forum posts and man pages, endlessly tweaking your own code to get everything working. Not anymore.

Gray Hat Python explains the concepts behind hacking tools and techniques like debuggers, trojans, fuzzers, and emulators. But author Justin Seitz goes beyond theory, showing you how to harness existing Python-based security tools – and how to build your own when the pre-built ones won’t cut it.

You’ll learn how to:

Automate tedious reversing and security tasks

Design and program your own debugger

Learn how to fuzz Windows drivers and create powerful fuzzers from scratch

Have fun with code and library injection, soft and hard hooking techniques, and other software trickery

Sniff secure traffic out of an encrypted web browser session

Use PyDBG, Immunity Debugger, Sulley, IDAPython, PyEMU, and more

 

دانلود رایگان کتاب

Computational Thinking: First Algorithms, Then Code

Computational Thinking: First Algorithms, Then Code

This book offers a gentle motivation and introduction to computational thinking, in particular to algorithms and how they can be coded to solve significant, topical problems from domains such as finance, cryptography, Web search, and data compression.

The book is suitable for undergraduate students in computer science, engineering, and applied mathematics, university students in other fields, high-school students with an interest in STEM subjects, and professionals who want an insight into algorithmic solutions and the related mindset.

While the authors assume only basic mathematical knowledge, they uphold the scientific rigor that is indispensable for transforming general ideas into executable algorithms.

A supporting website contains examples and Python code for implementing the algorithms in the book.

 

دانلود رایگان کتاب

The Python Journeyman

The Python Journeyman

The Python Journeyman is the second book in our trilogy covering the core Python language. The material in these books is derived from Sixty North’s popular and battle-tested training courses which have led thousands of programmers on a journey to being productive with Python.

Our books, which use Python 3, follow a spiral curriculum: We introduce topics gently and then revisit them on multiple occasions to add the depth required to support your progression as a Python developer. We’ve worked hard to structure the syllabus to avoid forward references. On only a few occasions do we require you to accept techniques on trust, before explaining them later; where we do, it’s to deliberately establish good habits.

دانلود رایگان کتاب

 

Web Scraping with Python Collecting More Data from the Modern Web

Web Scraping with Python Collecting More Data from the Modern Web

If programming is magic then web scraping is surely a form of wizardry. By writing a simple automated program, you can query web servers, request data, and parse it to extract the information you need.

The expanded edition of this practical book not only introduces you web scraping, but also serves as a comprehensive guide to scraping almost every type of data from the modern web.

Part I focuses on web scraping mechanics: using Python to request information from a web server, performing basic handling of the server’s response, and interacting with sites in an automated fashion. Part II explores a variety of more specific tools and applications to fit any web scraping scenario you’re likely to encounter.

  • Parse complicated HTML pages
  • Develop crawlers with the Scrapy framework
  • Learn methods to store data you scrape
  • Read and extract data from documents
  • Clean and normalize badly formatted data
  • Read and write natural languages
  • Crawl through forms and logins
  • Scrape JavaScript and crawl through APIs
  • Use and write image-to-text software
  • Avoid scraping traps and bot blockers
  • Use scrapers to test your website

دانلود رایگان کتاب

Flask By Example

Flask By Example

Flask By Example کتابی است که شما را به یک سفر یادگیری پیرامون توسعه ی وب با استفاده از Flask برای ساخت برنامه های کاربردی وب خواهد برد. Flask یکی از فریمورک های زبان برنامه نویسی پایتون می باشد که با استفاده از آن می توانید برنامه های وب بنویسید.

سرفصل ها:

Chapter 1: Hello, World

Chapter 2: Getting Started with Our Headlines Project

Chapter 3: Using Templates in Our Headlines Project

Chapter 4: User Input for Our Headlines Project

Chapter 5: Improving the User Experience of Our Headlines Project

Chapter 6: Building an Interactive Crime Map

Chapter 7: Adding Google Maps to Our Crime Map Project

Chapter 8: Validating User Input in Our Crime Map Project

Chapter 9: Building a Waiter Caller App

Chapter 10: Template Inheritance and WTForms in Waiter Caller Project

Chapter 11: Using MongoDB with Our Waiter Caller Project

 

مشخصات:

نویسنده: Gareth Dwyer

ناشر: Packt Publishing

سال نشر: ۲۰۱۶

تعداد صفحات: ۲۷۷

دانلود رایگان کتاب

Black Hat Python: Python Programming for Hackers and Pentesters

Black Hat Python: Python Programming for Hackers and Pentesters

هنگامی که بحث یک ابزار قدرتمند و موثر هک می شود، پایتون زبان انتخابی بسیاری از تحلیلگران امنیتی می شود. اما دلیل این انتخاب جادویی چیست؟

در Black Hat Python که آخرین کتاب Justin Seitz می باشد، شما سمت تیره تر قابلیت های پایتون را مرور خواهید نمود مانند نوشتن network sniffer، دستکاری packetها، آلوده کردن ماشین مجازی، ایجاد تروجان های پنهانی و…

سرفصل ها:

Chapter 1: Setting Up Your Python Environment
Chapter 2: The Network: Basics
Chapter 3: The Network: Raw Sockets and Sniffing
Chapter 4: Owning the Network with Scapy
Chapter 5: Web Hackery
Chapter 6: Extending Burp Proxy
Chapter 7: GitHub Command and Control
Chapter 8: Common Trojaning Tasks on Windows
Chapter 9: Fun With Internet Explorer
Chapter 10: Windows Privilege Escalation
Chapter 11: Automating Offensive Forensics

مشخصات:

نویسنده: Justin Seitz

ناشر: No Starch Press

سال نشر: ۲۰۱۴

تعداد صفحات: ۱۹۲

دانلود رایگان کتاب