Python/ django
59K subscribers
2.08K photos
62 videos
47 files
2.8K links
по всем вопросам @haarrp

@itchannels_telegram - 🔥 все ит-каналы

@ai_machinelearning_big_data -ML

@ArtificialIntelligencedl -AI

@datascienceiot - 📚

@pythonlbooks

РКН: clck.ru/3FmxmM
加入频道
😲 Awesome useful Python scripts

Полезные готовые скрипты Python.

1. JSON ↔️ CSV (рис. 1)
2. Password generator (рис. 2)
3. Строковый поиск из нескольких файлов (рис. 3)
4. Получение всех ссылок с заданной веб-страницы (рис. 4)
5. Добавляем водяной знак (рис. 5)
6.Парсер и загрузчик изображений с WEB-страницы (рис. 6)
7. Сортировка папки загрузки (рис. 7)
8. Массовая рассылка электронных писем из CSV-файла (рис. 8)
9. Получение IP-адреса и имени хоста веб-сайта (рис. 9)
10. Прогресс-бар терминала (рис. 10)

Scripts

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
💼 Briefcase

Briefcase is a tool for converting a Python project into a standalone native application.

Briefcase - это инструмент для преобразования Python-проекта в самостоятельное нативное приложение.

Github
Tutorial

@pythonl
Легкий способ получать свежие обновлении и следить за трендами в разработке на вашем языке. Находите свой стек и подписывайтесь:

Data Science: t.me/data_analysis_ml
Java: t.me/javatg
Базы данных: t.me/sqlhub
Машинное обучение: t.me/ai_machinelearning_big_data
Go: t.me/Golang_google
C/C++/ t.me/cpluspluc
C#: t.me/csharp_ci
Хакинг: t.me/linuxkalii
Мобильная разработка: t.me/mobdevelop
Docker: t.me/+0WdB4uvOwCY0Mjdi
Python: t.me/python_job_interview
Rust: t.me/rust_code
Javascript: t.me/javascriptv
React: t.me/react_tg
PHP: t.me/phpshka
Android: t.me/android_its
Linux: t.me/+A8jY79rcyKJlYWY6
Big Data: t.me/bigdatai
Devops: t.me/devOPSitsec
Тестирование:https://yangx.top/+F9jPLmMFqq1kNTMy
Собеседования: https://yangx.top/machinelearning_interview

💼 Папка с вакансиями: t.me/addlist/_zyy_jQ_QUsyM2Vi
Папка Go разработчика: t.me/addlist/MUtJEeJSxeY2YTFi
Папка Python разработчика: t.me/addlist/eEPya-HF6mkxMGIy
Папка ML: https://yangx.top/addlist/2Ls-snqEeytkMDgy

😆ИТ-Мемы: t.me/memes_prog

🇬🇧Английский: t.me/english_forprogrammers

ИИ: t.me/vistehno

📕Ит-книги бесплатно: https://yangx.top/addlist/BkskQciUW_FhNjEy
🖥 KOT database

The KOT database is a Flexible, secure and scalable database and your python cloud that supports multiple data formats.

База данных KOT - это гибкая, безопасная и масштабируемая база данных облачная база python, поддерживающая множество форматов данных. Она имеет встроенные функции сжатия и шифрования данных и совместима со всеми операционными системами.

pip3 install kot

Github
Docs

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Building a GraphQL API with FastAPI

Построение GraphQL API с помощью FastAPI. GraphQL приобрел огромную популярность благодаря своей гибкости и эффективности при разработке API.

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
🕵️ Eyes is an OSINT tool to get existing accounts from an email

Eyes is able to find not only if an account is existing on different sites but also to find the account in question.

Eyes умеет не только находить существующие на разных сайтах аккаунты, но и находить сам аккаунт (с помощью определенных модулей), даже если профиль не имеет ничего общего с электронной почтой!

$ git clone https://github.com/N0rz3/Eyes.git
$ cd ./Eyes
$ pip3 install -r requirements.txt


Github

@pythonl
🔎Alfred: Advanced OSINT Info Gathering Tool

Alfred - это продвинутая утилита для сбора OSINT-информации, умеющая идентифицировать аккаунты в социальных сетях по предоставленным данным.

git clone https://github.com/alfredredbird/alfred
cd alfred && sudo pip install -r requirements.txt
python3 brib.py

@pythonl
🖥 Elevating Code Flexibility with the Decorator Design Pattern in Python

from abc import ABC, abstractmethod

class TextPrinter(ABC):
@abstractmethod
def print_text(self):
pass

class PlainTextPrinter(TextPrinter):
def __init__(self, text):
self.text = text

def print_text(self):
print(self.text)

class TextDecorator(TextPrinter):
def __init__(self, text_printer):
self.text_printer = text_printer

def print_text(self):
self.text_printer.print_text()

class BoldTextDecorator(TextDecorator):
def print_text(self):
print(f"<b>{self.text_printer.print_text()}</b>")

class ItalicTextDecorator(TextDecorator):
def print_text(self):
print(f"<i>{self.text_printer.print_text()}</i>")

# Client code
if __name__ == "__main__":
plain_printer = PlainTextPrinter("Hello, world!")
bold_printer = BoldTextDecorator(plain_printer)
italic_bold_printer = ItalicTextDecorator(bold_printer)

plain_printer.print_text()
bold_printer.print_text()
italic_bold_printer.print_text()


@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Get domain name information using Python

Получение информации о домене. с помощью Python.

$pip install whois

$pip install whois

>>> import whois
>>> domain = whois.query('google.com')

>>> print(domain.__dict__)
{
'expiration_date': datetime.datetime(2020, 9, 14, 0, 0),
'last_updated': datetime.datetime(2011, 7, 20, 0, 0),
'registrar': 'MARKMONITOR INC.',
'name': 'google.com',
'creation_date': datetime.datetime(1997, 9, 15, 0, 0)
}

>>> print(domain.name)
google.com

>>> print(domain.expiration_date)
2024-09-14 00:00:00

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
⚽️ Building a Fantasy Premier League Selection Dashboard

Создаем дашборд для фэнтези-премьер-лиги.

— pip install streamlit requests matplotlib pandas

🖥 Code

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥11 Best Python Testing Frameworks To Look For In 2023

11 лучших фреймворков для тестирования на Python, на которые стоит обратить внимание в 2023 году.

1. Pytest

2. Locust

3. Robot

4. Behave

5. Lettuce

6. Nose2

7. TestProject

8. PyUnit or Unittest

9. Splinter

10. Testify

11. Doctest

@pythonl