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
加入频道
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Pdf to a txt line by line using Python

Построчное преобразование Pdf в txt с помощью Python.

📌 Docs

@pythol
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Use the #Pillow package in Python to change the brightness of your images in #Python!

Как использовать пакет #Pillow в Python для изменения яркости изображений в #Python!

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
Эти фишки сделают твой Python код лучше🔥

Видео
Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Convert Excel to CSV using Pandas in Python

Преобразование Excel в CSV с помощью Pandas в Python


https://morioh.com/a/75e6ba1e0351

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🎁 #Django 5.0 RC 1 is out.

Вышел Django 5.0 RC 1:

https://djangoproject.com/weblog/2023/nov/20/django-50-rc1/

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

@pythonl
This media is not supported in your browser
VIEW IN TELEGRAM
🔥 flowty-realtime-lcm-canvas

A realtime sketch to image demo using LCM and the gradio library.

Преобразование наброска в изображение в реальном времени с использованием LCM и библиотеки gradio.

Github

@pythonl
This media is not supported in your browser
VIEW IN TELEGRAM
🖥 Jupyter ❤️ Textual

Create Jupyter widgets in pure Python.

Создание виджетов Jupyter на чистом Python, без использования JavaScript!

pip install ipytextual

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Define categories with the Enum Python module and use auto() for automatic numbering.

Классы Enum в #Python делают ваш код более читабельным! Определите категории с помощью модуля Enum Python и используйте auto() для автоматической нумерации.

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Эти фишки реально ускорят Python код! Numba+ Taichi+ С

https://www.youtube.com/watch?v=b7BFQB2MF2w

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 ZipLoRA-pytorch

ZipLoRA: Any Subject in Any Style by Effectively Merging LoRAs

Напарвление любой генерации в любом стиле путем эффективного слияния в LoRA.

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 The easiest way to 10x your development environment:

Start managing experiments, logging prompts, and tracking your code.


Самый простой способ улучшения среды разработки:

Начните управлять тестами, регистрировать подсказки и отслеживать свой код.

Вы можете сделать все sэто бесплатно, используя такой инструмент, как Cometml, с помощью пары строк кода.

Посмотрите на прилагаемый скриншот:

Интеграция Comet + OpenAI будет отслеживать все автоматически:

- сообщения и function_call как входы
- варианты как выходы
- токен использования как метаданные
- работми с метаданными

pip install comet_llm

Этот блокнот Colab продемонстрирует вам пример работы Cometml:
https://colab.research.google.com/github/comet-ml/comet-examples/blob/master/integrations/llm/openai/notebooks/Comet_and_OpenAI.ipynb#scrollTo=A0-thQauBRRL

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥Security of data storage in Python

We recommend storing sensitive information in an .env file and loading it into a Python script using python-dotenv.

🔒Безопасность хранения данных в Python🔒


Рекомендуется хранить конфиденциальную информацию в файле .env и загружать ее в сценарий Python с помощью python-dotenv.

Это позволяет защитить информацию от раскрытия в кодовой базе или системах контроля версий.

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🎞 Pytube is a lightweight #Python library that enables you to download #YouTube videos and playlists in specific formats and resolutions.

pytube - это быстрая библиотека #Python, которая позволяет скачивать видео и плейлисты #YouTube в определенных форматах и разрешениях.

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
GAOJGY8XMAAiqAQ.jpeg
706.7 KB
💥 Here is an amazing Python cheat sheet for you all!

Объемная шпаргалка по Python по всем основным темам.

@pythonl
🦾 nrich

A command-line tool to quickly analyze all IPs in a file and see which ones have open ports/ vulnerabilities.

Инструмент командной строки, позволяющий быстро проанализировать все IP-адреса в файле и увидеть, какие из них имеют открытые порты/уязвимости. Также может передавать данные из stdin для использования в конвейере данных.

wget https://gitlab.com/api/v4/projects/33695681/packages/generic/nrich/latest/nrich_latest_x86_64.deb
$ sudo dpkg -i nrich_latest_x86_64.deb


GIthub

@pythonl
🖥 Public APIs

A collective list of free APIs for use in software and web development

Огромный список бесплатных API для использования в программном обеспечении и веб-разработке.

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Python module to get stock data/cryptocurrencies from the Alpha Vantage API.

Python-модуль для получения данных о акциях/криптовалютах из API Alpha Vantage

Бесплатный API для получения финансовых данных и индикаторов в реальном времени.

pip install alpha_vantage

from alpha_vantage.timeseries import TimeSeries
import matplotlib.pyplot as plt

ts = TimeSeries(key='YOUR_API_KEY', output_format='pandas')
data, meta_data = ts.get_intraday(symbol='MSFT',interval='1min', outputsize='full')
data['4. close'].plot()
plt.title('Intraday Times Series for the MSFT stock (1 min)')
plt.show()

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 SQLModel 0.0.14 with support for pydantic v2 🚀

SQLModel 0.0.14 с поддержкой pydantic v2 🎉
Уверен, что это самый большой релиз за все время 🤓.

SQLModel - это библиотека для взаимодействия с базами данных SQL из кода Python, с объектами Python. Она создана для того, чтобы быть интуитивно понятной, простой в использовании, хорошо совместимой и надежной.

$ pip install sqlmodel

Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
🎉 Django 5.0 released

Команда Django выпустила Django 5.0.

https://www.djangoproject.com/weblog/2023/dec/04/django-50-released/

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