Python/ django
58.8K subscribers
2.09K photos
64 videos
47 files
2.8K links
по всем вопросам @haarrp

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

@ai_machinelearning_big_data -ML

@ArtificialIntelligencedl -AI

@datascienceiot - 📚

@pythonlbooks

РКН: clck.ru/3FmxmM
加入频道
Please open Telegram to view this post
VIEW IN TELEGRAM
PySnooperинструмент для дебаггинга проектов на Python без использования print

Never use print for debugging again.

Вы просто добавляете декоратор к интересующей вас функции и вы получите целый журнал «воспроизведения» вашей функции, включая то, какие строки выполнялись и когда, и когда именно были изменены локальные переменные

GitHub

https://yangx.top/pythonl?boost
🖥 Downloading a YouTube video using Python 🐍

Загрузка видео с YouTube с помощью Python.

python -m pip install pytube

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Асинхронный парсер Хабра на Python

Видео
Код парсера

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
🖥 BoxMOT: pluggable SOTA tracking modules for segmentation, object detection and pose estimation models

Коллекция подключаемых современных трекеров на Python для моделей сегментации, обнаружения объектов и оценки позы людей.


pip install boxmot

Github
Colab

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 How about creating a barcode using Python?

You can use python-barcode to generate different types of objects.

Как создать штрих-код с помощью Python?

Вы можете использовать python-barcode для генерации различных типов объектов.
Сначала установите модуль barcode с помощью pip:

pip install python-barcode

Мы создадим штрихкод ISBN-13. Этот модуль поддерживает множество других типов штрихкодов.
Мы сгенерируем PNG-изображение штрихкода. Для просмотра изображения мы будем использовать модуль pillow. Установить pillow можно, выполнив команду:

pip install pillow

Мы передаем 12-значное число в виде строки.

Githib

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 drf-yasg - Yet another Swagger generator

Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.

Автоматическая генерация документации API Django REST Framework.

pip install -U drf-yasg

Github
Project

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 🖥SQLiDetector

Script that helps you to detect SQL injection "Error based" by sending multiple requests with 14 payloads and checking for 152 regex patterns for different databases.

Python-скрипт, позволяющий обнаружить
SQL-инъекции путем отправки нескольких запросов и проверки regex-шаблонами для различных баз данных.

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Googlesearch 🖥

A Python library for scraping the Google search engine.

googlesearch - это библиотека на Python для удобного поиска в Google. googlesearch использует запросы и BeautifulSoup4 для crhtqgbyuf Google.

Github
Docs

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Python: File Organisation Automated!

Простой скрипт по управлению файлами на пк с помощью Python 🦸‍♂

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
🖥 GIF

If you want to effortlessly animate your matplotlib plot in Python, use gif.

Если вы хотите без особых усилий анимировать график matplotlib в Python, используйте библиотеку gif.

Следующая анимация создана с помощью gif.

pip install gif

import gif
from random import randint
from matplotlib import pyplot as plt

x = [randint(0, 100) for _ in range(100)]
y = [randint(0, 100) for _ in range(100)]

# (Optional) Set the dots per inch resolution to 300
gif.options.matplotlib["dpi"] = 300

# Decorate a plot function with @gif.frame
@gif.frame
def plot(i):
xi = x[i*10:(i+1)*10]
yi = y[i*10:(i+1)*10]
plt.scatter(xi, yi)
plt.xlim((0, 100))
plt.ylim((0, 100))

# Construct "frames"
frames = [plot(i) for i in range(10)]

# Save "frames" to gif with a specified duration (milliseconds) between each frame
gif.save(frames, 'example.gif', duration=50)

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Voice Recorder using Python

Python скрипт для записи голоса
.

Github
Docs

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Extracting Tables from a PDF

Извлечение текста из PDF.

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🎉🎉🎉 Download the latest version of Python 3.12.0🎉🎉🎉

Вышел стабильный выпуск Python 3.12.0

👍 лайк, если ждал новую версию


https://www.python.org/downloads/release/python-3120/

@pythonl
🖥 Regular Expressions in Python: Free course

Бесплатный курс по регулярным выражениям на Python.

📌 Course

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
☑️ IBM Free course: Python Basics for Data Science

Этот бесплатный курс от IBM по Python представляет собой удобное для начинающих введение в Python для Data Science.

📌 Course

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Clarifai's New Python SDK!

pip install -U clarifai

Импортировать наборы данных вместе с аннотациями.
- Создавать приложения, входы, наборы данных и выполнять прогнозирование моделей.
- Доступ к моделям, рабочим процессам и другим LLM от сообщества Clarifai с помощью всего нескольких строк кода.


Github
Demo

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🌏 Country details using Python

Детализация информации о стране с помощью Python.

pip install countryinfo

Github

@pythonl
🖥 FastStream

FastStream is a powerful and easy-to-use Python framework for building asynchronous services.

FastStream - мощный и простой в использовании фреймворк на Python для создания асинхронных сервисов, взаимодействующих с потоками событий, таких как Apache Kafka и RabbitMQ.

Github

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