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
加入频道
This media is not supported in your browser
VIEW IN TELEGRAM
🖥 Simplicity of #Python

Простота и удобство python

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 class difflib.SequenceMatcher: This module provides classes and functions for comparing sequences.

Этот модуль предоставляет классы и функции для сравнения последовательностей. Он может быть использован, например, для сравнения файлов и может выдавать информацию о различиях в файлах в различных форматах, включая HTML, контекстные и унифицированные диффы. Для сравнения каталогов и файлов см. также модуль filecmp.

https://docs.python.org/3/library/difflib.html

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
💼 Y'ORG

Y'ORG объединяет большин языковые модель с Jupyter Notebook для выполнения различных задач.

Цель Y'ORG - предоставить удобный интерактивный способ (1) изучения кода, (2) составления планов и задач для работы, (3) написания кода и добавления новых функций. Он также помогает ученым и аналитикам (4) проводить анализ данных и (5) создавать полноценные отчеты.

Github

@pythonl
🎄 Happy New Year 2024 using Python

Поздравление с Новым 2024 годом с помощью Python.

@pythonl
🖥 The dataclass decorator automatically adds generated special methods such as __init__() and __repr__() to user-defined classes.

Вы уже пробовали использовать dataclass в Python?

Декоратор dataclass автоматически добавляет сгенерированные специальные методы, такие как `__init__()` и `__repr__()` в ваши классы.

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 The `concurrent.futures` module wraps both threading and multiprocessing, which makes the interfaces even nicer.

Python предоставляет вам возможность создавать пулы процессов. Вы можете создавать их с помощью модуля Python `threading` или модуля `concurrent.futures`.

Модуль `concurrent.futures` оборачивает и потоки, и многопроцессорность, что делает их интерфейсы еще более приятными.

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 PyPy is a very fast and compliant implementation of the Python language.

PyPy
- это интерпретатор, реализующий язык программирования Python, основанный на компиляторе RPython для динамического программирования.

Github
Docs

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥Machine learning tutorials (mainly in Python3)

Учебники по машинному обучению. Коллекция из 100 с лишним уроков по машинному обучению, написанных в основном на python.

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
beginners_python_cheat_sheet_pcc_all.pdf
741 KB
🖥 The updated versions of Python Cheat Sheets are here.

Обновленные версии большой Python Шпаргалки.

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
🧑‍✈️ GPT PILOT

It's a dev tool that writes scalable apps from scratch.

Только что открыл для себя GPT Pilot. На Github у него почти 20 тысяч звезд.

Это инструмент для разработчиков, который пишет масштабируемые приложения с нуля.

Просто опишите свое приложение, и GPT Pilot сделает следующее:
1. Задаст правильные вопросы
2. Создаст продукт и технические требования
3. Настроит среду
4. Поможет написать приложение шаг за шагом.

Вам остается только проверять готовый код.

Github

@pythonl
📢 Introducing CRUXEval, a benchmark to measure Python code execution!

CRUXEval - это новый бенчмарк, состоящий из 800 функций Python для тестирования кода.

🖥 Github: https://github.com/facebookresearch/cruxeval

🏠Homepage: https://crux-eval.github.io

📜Paper: http://crux-eval.github.io/paper/cruxeval.pdf

🏆Leaderboard: https://crux-eval.github.io/leaderboard.html
🔎Sample Explorer: https://crux-eval.github.io/demo.html

📊HF Dataset: https://huggingface.co/datasets/cruxeval-org/cruxeval

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Python code for Low Battery 🔋 Notification.

Python-код для уведомления о низком заряде батареи вашего устройства.

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 in Python you can use get_close_matches() from the difflib module to return a list of the best “good enough” matches.

В #Python вы можете использовать get_close_matches() из модуля difflib, чтобы вернуть список лучших совпадений.

https://docs.python.org/3/library/difflib.html

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
🖥 Open-source library in Python that will help you build dashboards in a breeze

Блокноты Jupyter отлично подходят для изучения данных.
Но не так хороши для визуализации данных.

Вот библиотека с открытым исходным кодом на Python, которая поможет вам быстро создавать информативные и красивые.

pip install panel

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 A curated collection of awesome Python scripts from basic to advance with automation task scripts.

Коллекция полезных скриптов на Python от базовых до продвинутых со скриптами автоматизации.

Github
10 скриптов Python для автоматизации 2024.


@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Reactive Python notebook that's reproducible, git-friendly, and deployable as scripts or apps.

Marimo - это реактивный блокнот с открытым исходным кодом для Python - воспроизводимый, удобный для работы с git, в виде скрипта или приложения.

Github
Examples

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🔎 Accurate line-level text detection and recognition (OCR) in any language

Инстрмент на Python для высокоточного обнаружения и распознавания текста на уровне строк (OCR).Работает для любого языка.

Github

@pythonl
🖥 Python Polars 0.20.4

Выпущена версия Python polars 0.20.4:

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🪄 Turns your machine learning code into microservices with web API, interactive GUI, and more.

Мгновенно превратите ваши функции Python в готовые к работе микросервисы.

Развертывание и доступ к вашим сервисам через HTTP API или интерактивный пользовательский интерфейс.

Бесшовный экспорт сервисов в
доступные для совместного использования и исполняемые файлы или образы Docker.

pip install opyrator

from pydantic import BaseModel

class Input(BaseModel):
message: str

class Output(BaseModel):
message: str

def hello_world(input: Input) -> Output:
"""Returns the `message` of the input data."""
return Output(message=input.message)

Github
Examples

@pythonl
🖥 archive pwn:
A Python-based tool to create zip, tar and cpio archives to exploit common archive library

Полезная библиотека Python для создания zip-, tar- и cpio-архивов, которые эксплуатирует Zip Slip уязвимости.

Используяю эти архивы, файлы можно распаковать в произвольное место на системе.


Github

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