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
加入频道
🤗🖥 Text To Image With Hugging Face

Переводим текст в изображение с Hugging Face.

📌 Model

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

Converts text input or URL into knowledge graph and displays.

Python фреймворк для преобразования текста или ссылок в граф знаний .

git clone https://github.com/yoheinakajima/instagraph.git

Github

@pythol
🚀🎬 ShortGPT

Experimental AI framework for automated short/video content creation.

Фреймворк на Python для автоматизации создания контента, в частности создания Shorts-видео, синтеза голоса за кадром и задач редактирования.

git clone https://github.com/rayventura/shortgpt.git

Github
Video
Colab

@pythonl
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