Forwarded from Типичный программист
Протокол Диффи-Хеллмана
Чтобы передать зашифрованное сообщение, надо сначала как-то передать ключ для его расшифровки. Специально для этого был создан криптографический протокол Диффи-Хеллмана. Этот тот самый, который используют в SSH, GPG и не только.
В статье рассказываем про этот протокол и показываем, как реализовать его на Python:
https://tprg.ru/Aq3D
#безопасность #python
Чтобы передать зашифрованное сообщение, надо сначала как-то передать ключ для его расшифровки. Специально для этого был создан криптографический протокол Диффи-Хеллмана. Этот тот самый, который используют в SSH, GPG и не только.
В статье рассказываем про этот протокол и показываем, как реализовать его на Python:
https://tprg.ru/Aq3D
#безопасность #python
Forwarded from Типичный программист
Регулярные выражения в Python
Рано или поздно любому программисту приходится знакомиться с регулярными выражениями. Но для одних это приятное знакомство, а для других — психологическая травма на всю жизнь.
Дабы увеличить количество первых, на примере библиотеки re в Python рассказываем, что такое регулярки и как их использовать. Всё на реальных задачах и с кучей примеров:
https://tprg.ru/YJ6n
#python #начинающим
Рано или поздно любому программисту приходится знакомиться с регулярными выражениями. Но для одних это приятное знакомство, а для других — психологическая травма на всю жизнь.
Дабы увеличить количество первых, на примере библиотеки re в Python рассказываем, что такое регулярки и как их использовать. Всё на реальных задачах и с кучей примеров:
https://tprg.ru/YJ6n
#python #начинающим
Forwarded from NOP::Nuances of Programming
📃 Команда разработчиков создала инструмент, который автоматически находит уязвимости в коде. Во время теста они нашли 35 критических угроз безопасности. Как им это удалось? Подробности в статье
https://nuancesprog.ru/p/3563
@nuancesprog #статьи #Python
https://nuancesprog.ru/p/3563
@nuancesprog #статьи #Python
https://nuancesprog.ru
Инструмент, который автоматически находит уязвимости в Python-коде
В январе 2019 года мы запустили инструмент, который эффективно находит уязвимости в Python-коде.
Forwarded from Типичный программист
Как насчёт забрать себе в копилку Python-библиотеки, которые здорово облегчат вам разработку?
В этой статье мы спросили у экспертов, какие полезные Python-библиотеки они используют сами и рекомендуют их другим разработчикам. Получилось чуть больше 20 штук:
https://tprg.ru/KEe1
#python #инструменты
В этой статье мы спросили у экспертов, какие полезные Python-библиотеки они используют сами и рекомендуют их другим разработчикам. Получилось чуть больше 20 штук:
https://tprg.ru/KEe1
#python #инструменты
Forwarded from CodeMode | Программирование
📔 Python. Книга рецептов.
• Книга, которую вы держите в руках, даст четкое понимание, как именно стоит писать приложения на Python, чтобы не пришлось раз за разом их переделывать и они были удобны для работы. Это наиболее полное и систематичное руководство по Python, в нем разобраны самые популярные подходы для создания легкочитаемого, оптимизированного и поддерживаемого кода. Также приведены примеры применения полученных знаний в прикладных областях, все главы сопровождаются конкретными заданиями.
🧷 Скачать бесплатно.
💰 Цена и описание в онлайн магазине.
🧩 Бесплатный софт для чтения книг.
2019 #Python #RU
• Книга, которую вы держите в руках, даст четкое понимание, как именно стоит писать приложения на Python, чтобы не пришлось раз за разом их переделывать и они были удобны для работы. Это наиболее полное и систематичное руководство по Python, в нем разобраны самые популярные подходы для создания легкочитаемого, оптимизированного и поддерживаемого кода. Также приведены примеры применения полученных знаний в прикладных областях, все главы сопровождаются конкретными заданиями.
🧷 Скачать бесплатно.
💰 Цена и описание в онлайн магазине.
🧩 Бесплатный софт для чтения книг.
2019 #Python #RU
Forwarded from CodeMode | Программирование
👨🏻💻 Python for Automating Information Security [Video].
• The process of finding and eradicating an attacker is time-consuming and costs a lot, which hurts your organization. You need to write tools that will help you automate your defensive and offensive security. As a penetration tester, you need to evolve quickly. When off-the-shelf tools and exploits fall short, writing your own tool will help you safeguard your data.
• In this course, learn how to leverage Python to perform routine tasks quickly and efficiently. You will automate log analysis and packet analysis with file operations, regular expressions, and analysis modules; interact with websites to collect intelligence; and develop TCP client and server applications for use in penetration testing. You will learn how to build automation tools for information security, and will hopefully find that these examples will help inspire you to design and build your own!
💸 Price: $124.99
📌 Free download.
#Python #Video #Eng
• The process of finding and eradicating an attacker is time-consuming and costs a lot, which hurts your organization. You need to write tools that will help you automate your defensive and offensive security. As a penetration tester, you need to evolve quickly. When off-the-shelf tools and exploits fall short, writing your own tool will help you safeguard your data.
• In this course, learn how to leverage Python to perform routine tasks quickly and efficiently. You will automate log analysis and packet analysis with file operations, regular expressions, and analysis modules; interact with websites to collect intelligence; and develop TCP client and server applications for use in penetration testing. You will learn how to build automation tools for information security, and will hopefully find that these examples will help inspire you to design and build your own!
💸 Price: $124.99
📌 Free download.
#Python #Video #Eng
Forwarded from CodeMode | Программирование
📓 Python for DevOps: Learn Ruthlessly Effective Automation.
• Learning how to interact and automate with Linux is essential for millions of professionals. Python makes it much easier. With this book, you’ll learn how to develop software and solve problems using containers, as well as how to monitor, instrument, load-test, and operationalize your software. Looking for effective ways to "get stuff done" in Python? This is your guide.
💸 Price: $36.79
📌 Free download.
#Python #book #Eng
• Learning how to interact and automate with Linux is essential for millions of professionals. Python makes it much easier. With this book, you’ll learn how to develop software and solve problems using containers, as well as how to monitor, instrument, load-test, and operationalize your software. Looking for effective ways to "get stuff done" in Python? This is your guide.
• Python foundations, including a brief introduction to the language;• How to automate text, write command-line tools, and automate the filesystem;• Linux utilities, package management, build systems, monitoring and instrumentation, and automated testing;• Cloud computing, infrastructure as code, Kubernetes, and serverless;• Machine learning operations and data engineering from a DevOps perspective;• Building, deploying, and operationalizing a machine learning project;💸 Price: $36.79
📌 Free download.
#Python #book #Eng
Forwarded from CodeMode | Программирование
📓 Python Flash Cards: Syntax, Concepts, and Examples.
• These colorful programming study cards help new Python coders drill and reinforce the concepts, syntax, and terminology they'll need to become successful professional programmers.
• Keep your coding skills sharp on the go! Python Flash Cards take a tried-and-tested method and give it a programming makeover. Eric Matthes, author of the best-selling Python Crash Course, distills essential Python programming knowledge into this 101-card deck you can use anywhere.
• Work through the deck in order or shuffle it up for a new study session every time. You can brush up foundational programming principles and vocabulary like data structures, logical control, and program flow, quiz yourself on Python syntax, and test your skills against exercises and challenges designed to keep you on your toes -- all in one sitting.
💸 Price: $24.73
📌 Free download.
#Python #book #Eng
• These colorful programming study cards help new Python coders drill and reinforce the concepts, syntax, and terminology they'll need to become successful professional programmers.
• Keep your coding skills sharp on the go! Python Flash Cards take a tried-and-tested method and give it a programming makeover. Eric Matthes, author of the best-selling Python Crash Course, distills essential Python programming knowledge into this 101-card deck you can use anywhere.
• Work through the deck in order or shuffle it up for a new study session every time. You can brush up foundational programming principles and vocabulary like data structures, logical control, and program flow, quiz yourself on Python syntax, and test your skills against exercises and challenges designed to keep you on your toes -- all in one sitting.
💸 Price: $24.73
📌 Free download.
#Python #book #Eng
Forwarded from CodeMode | Программирование
📓 Bug Bounty Automation With Python: The secrets of bug hunting.
• This book demonstrates the hands-on automation using python for each topic mentioned in the table of contents. This book gives you a basic idea of how to automate something to reduce the repetitive tasks and perform automated ways of OSINT and Reconnaissance.This book also gives you the overview of the python programming in the python crash course section, And explains how author made more than $25000 in bug bounty using automation. This book is the first part of bug bounty automation series.
💸 Price: $21.00
📌 Free download.
#Python #book #Eng
• This book demonstrates the hands-on automation using python for each topic mentioned in the table of contents. This book gives you a basic idea of how to automate something to reduce the repetitive tasks and perform automated ways of OSINT and Reconnaissance.This book also gives you the overview of the python programming in the python crash course section, And explains how author made more than $25000 in bug bounty using automation. This book is the first part of bug bounty automation series.
💸 Price: $21.00
📌 Free download.
#Python #book #Eng
Forwarded from CodeMode | Программирование
📓 Python Object-Oriented Programming: Build robust and maintainable object-oriented Python applications and libraries, 4th Edition.
• Python 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.
What you will learn:
💸 Price: $39.99
📌 Free download.
#Python #book
• Python 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.
What you will learn:
• Implement objects in Python by creating classes and defining methods;• Use exceptions to handle unusual situations cleanly;• Understand when to use object-oriented features, and more importantly, when not to use them;• Discover several widely used design patterns and how they are implemented in Python;💸 Price: $39.99
📌 Free download.
#Python #book
Forwarded from CodeMode | Программирование
📓 Object-Oriented Python: Master OOP by Building Games and GUIs.
• Object-Oriented Python is an intuitive and thorough guide to mastering object-oriented programming from the ground up. You’ll cover the basics of building classes and creating objects, and put theory into practice using the pygame package with clear examples that help visualize the object-oriented style. You’ll explore the key concepts of object-oriented programming — encapsulation, polymorphism, and inheritance — and learn not just how to code with objects, but the absolute best practices for doing so. Finally, you’ll bring it all together by building a complex video game, complete with full animations and sounds. The book covers two fully functional Python code packages that will speed up development of graphical user interface (GUI) programs in Python.
🧷 Скачать бесплатно.
💰 Цена и описание в онлайн магазине.
🧩 Бесплатный софт для чтения книг.
2022 #Python #Eng
• Object-Oriented Python is an intuitive and thorough guide to mastering object-oriented programming from the ground up. You’ll cover the basics of building classes and creating objects, and put theory into practice using the pygame package with clear examples that help visualize the object-oriented style. You’ll explore the key concepts of object-oriented programming — encapsulation, polymorphism, and inheritance — and learn not just how to code with objects, but the absolute best practices for doing so. Finally, you’ll bring it all together by building a complex video game, complete with full animations and sounds. The book covers two fully functional Python code packages that will speed up development of graphical user interface (GUI) programs in Python.
🧷 Скачать бесплатно.
💰 Цена и описание в онлайн магазине.
🧩 Бесплатный софт для чтения книг.
2022 #Python #Eng
Efficient Python Tricks and Tools for Data Scientists
The goal of this book is to spread the awareness of efficient ways to do Python. They include:
- efficient methods and libraries to work with iterator, dictionary, function, and class
- efficient methods to work with popular data science libraries such as pandas and NumPy
- efficient tools to incorporate in a data science project
- efficient tools to incorporate in any project
- efficient tools to work with Jupyter Notebook.
#book #python #datascience
https://khuyentran1401.github.io/Efficient_Python_tricks_and_tools_for_data_scientists/README.html
The goal of this book is to spread the awareness of efficient ways to do Python. They include:
- efficient methods and libraries to work with iterator, dictionary, function, and class
- efficient methods to work with popular data science libraries such as pandas and NumPy
- efficient tools to incorporate in a data science project
- efficient tools to incorporate in any project
- efficient tools to work with Jupyter Notebook.
#book #python #datascience
https://khuyentran1401.github.io/Efficient_Python_tricks_and_tools_for_data_scientists/README.html
Humanities Data Analysis: Case Studies with Python is a practical guide to data-intensive humanities research using the Python programming language.
The book, written by Folgert Karsdorp, Mike Kestemont and Allen Riddell, was originally published with Princeton University Press in 2021 (for a printed version of the book, see the publisher’s website), and is now available as an Open Access interactive Juptyer Book.
#book #python #datascience
https://www.humanitiesdataanalysis.org/index.html
The book, written by Folgert Karsdorp, Mike Kestemont and Allen Riddell, was originally published with Princeton University Press in 2021 (for a printed version of the book, see the publisher’s website), and is now available as an Open Access interactive Juptyer Book.
#book #python #datascience
https://www.humanitiesdataanalysis.org/index.html
Create a Maintainable Data Pipeline with Prefect and DVC
Make Your Pipelines Easier to Support and Maintain
#python #pipelline
https://towardsdatascience.com/create-a-maintainable-data-pipeline-with-prefect-and-dvc-1d691ea5bcea
Make Your Pipelines Easier to Support and Maintain
#python #pipelline
https://towardsdatascience.com/create-a-maintainable-data-pipeline-with-prefect-and-dvc-1d691ea5bcea
Medium
Create a Maintainable Data Pipeline with Prefect and DVC
Make Your Pipelines Easier to Support and Maintain
Goodbye os.path
15 Pathlib Tricks to Quickly Master The File System in Python
Pathlib came out in Python 3.4 as a replacement for the nightmare that was os.path. It also marked an important milestone for Python language on the whole: they finally turned every single thing into an object (even nothing).
#python #tricks
https://towardsdatascience.com/goodbye-os-path-15-pathlib-tricks-to-quickly-master-the-file-system-in-python-881213ca7c21
15 Pathlib Tricks to Quickly Master The File System in Python
Pathlib came out in Python 3.4 as a replacement for the nightmare that was os.path. It also marked an important milestone for Python language on the whole: they finally turned every single thing into an object (even nothing).
#python #tricks
https://towardsdatascience.com/goodbye-os-path-15-pathlib-tricks-to-quickly-master-the-file-system-in-python-881213ca7c21
Wolverine Gives Your Python Scripts The Ability To Self-Heal | Hackaday
Wolverine is a wrapper that runs the buggy script, captures any error messages, then sends those errors to GPT-4 to ask it what it thinks went wrong with the code.
#python #ai #gpt
https://hackaday.com/2023/04/09/wolverine-gives-your-python-scripts-the-ability-to-self-heal/
Wolverine is a wrapper that runs the buggy script, captures any error messages, then sends those errors to GPT-4 to ask it what it thinks went wrong with the code.
#python #ai #gpt
https://hackaday.com/2023/04/09/wolverine-gives-your-python-scripts-the-ability-to-self-heal/
Hackaday
Wolverine Gives Your Python Scripts The Ability To Self-Heal
[BioBootloader] combined Python and a hefty dose of of AI for a fascinating proof of concept: self-healing Python scripts. He shows things working in a video, embedded below the break, but we’…
A Python implementation of Larry's famous PageRank algorithm.
From late 90-s.
#python
https://github.com/ashkonf/PageRank
From late 90-s.
#python
https://github.com/ashkonf/PageRank
GitHub
GitHub - ashkonf/PageRank: A Python implementation of Larry's famous PageRank algorithm.
A Python implementation of Larry's famous PageRank algorithm. - ashkonf/PageRank
What is a property?
A property is an attribute that is computed dynamically. That's it. And you will understand what this means in a jiffy!
#python #oop
https://mathspp.com/blog/pydonts/properties
#python #oop
https://mathspp.com/blog/pydonts/properties
Mathspp
Properties | Pydon't 🐍
Learn how to use properties to add dynamic behaviour to your attributes.
Building Command Line Interfaces With argparse
In this video course, you’ll learn:
• What the Python
• How to use the Python
• What the advanced usage of the Python
#python #shell
https://realpython.com/courses/python-argparse-command-line-interfaces/
In this video course, you’ll learn:
• What the Python
argparse library is, and why it’s important to use it if you need to write command line scripts in Python• How to use the Python
argparse library to quickly create a simple CLI in Python• What the advanced usage of the Python
argparse library is#python #shell
https://realpython.com/courses/python-argparse-command-line-interfaces/
Realpython
Building Command Line Interfaces With argparse – Real Python
In this step-by-step Python video course, you'll learn how to take your command line Python scripts to the next level by adding a convenient command line interface that you can write with argparse.