[Перевод] Интенсивный курс «AI-агенты» от Google День 5
На данный момент я прохожу 5-дневный интенсив по AI-агентам от Google и параллельно веду собственный конспект. Эта статья представляет собой перевод оригинального материала, выполненный с помощью Gemini и мной. В некоторых местах я немного упростила формулировки или обобщила идеи. Это последний день курса. Другие статьи: Интенсивный курс «AI-агенты» от Google День 1 Интенсивный курс «AI-агенты» от Google День 2 Интенсивный курс «AI-агенты» от Google День 3 Интенсивный курс «AI-агенты» от Google День 4
https://habr.com/ru/articles/966686/
Можно ли заменить datetime? Как Pendulum делает работу с датой и временем удовольствием
Работа с датой и временем в программировании — это одна из тех «темных» областей, на которой каждый разработчик набивает свои шишки. На первый взгляд все просто: from datetime import datetime, datetime.now(). Что может пойти не так? А потом в проекте появляются часовые пояса, и начинается тихий ужас. Вы внезапно обнаруживаете, что стандартная библиотека Python оперирует двумя видами объектов: «наивными» (naive), которые ничего не знают о своем часовом поясе, и «осведомленными» (aware), у которых эта информация есть. И datetime.now() по умолчанию создает именно «наивный» объект, который в лучшем случае бесполезен, а в худшем — источник трудноуловимых багов, когда ваш код запускается на сервере в другом конце света.
https://habr.com/ru/articles/966714/
#Pendulum #datetime #python #python3 #python_для_начинающих
10 patterns for faster python code via @martin_kirch https://lobste.rs/s/1px2ci #python
https://blog.jetbrains.com/pycharm/2025/11/10-smart-performance-hacks-for-faster-python-code/
Similar to how easy it is to run `uv add <package>` to add packages to our #python projects, I've recently brainstormed (hallucinated?) about a work flow for #django and how to add #javascript bits to it.
One thought is a future `uvx django-add <package>` that would also add to setings.py `INSTALLED_APPS` but also potentially having things like `django-include-bootstrap` and `django-include-htmx` that would also bring in the js/css files that we might need. Maybe this is a blog post idea 😆
A couple of weeks ago, I wondered if there was a python package for quickly resizing images for usage on the web.
I didn't find exactly what I was looking for.
So I wrote a little library to do just that and published it on PyPI. I'll write more about that later.
But in the meantime, I wanted to chronicle the journey from idea to publishing.
https://pythonbynight.com/blog/creating-a-python-package
We kick off PyCon Ireland with a Keynote from: Ines Montani!!!
#PyConIe #Python #PyCon #PythonIe

🌘 SQLORM:在 Python 中無縫整合 SQL 與物件導向
➤ 打破傳統 ORM 框架的限制,以 SQL 為核心的 Python 資料庫操作新思維
✤ https://hyperflask.dev/blog/2025/11/11/blending-sql-and-python-with-sqlorm/
本文介紹 SQLORM,一個新型態的 Python 物件關聯對映 (ORM) 工具。作者因不滿意現有 ORM 的設計,特別是單元工作模式和查詢執行時機的不可控性,因而創造了 SQLORM。此工具以 SQL 為核心,允許開發者直接在 Python 函數中使用標準 SQL 語句,並透過 docblock 進行模板化。SQLORM 支援自動參數轉義、透過上下文管理器管理資料庫連線與交易、以及將查詢結果直接轉換為字典或自訂物件。它還提供了一個遵循 Active Record 模式的 `Model` 類別,簡化了基本的 CRUD 操作,同時也支援在模型類別中定義自訂 SQL 方法。SQLORM 的一
#Python #ORM #SQL #SQLAlchemy #SQLORM #網頁開發
Blending SQL and Python with Sqlorm
https://hyperflask.dev/blog/2025/11/11/blending-sql-and-python-with-sqlorm/
#ActuLibre Les nouveautés de Python 3.14, à lire sur https://www.docstring.fr/blog/les-nouveautes-de-python-314/ #python
I haven't seen this in my feed, so I thought I would post it.
PyCharm 30% off and it goes to Django
https://www.jetbrains.com/pycharm/promo/support-django/
#programming #coding #code #webdevelopment #devs #softwaredevelopment #python #Django
Today I accidentally rm’d a bunch of stuff I had been working on for hours but had not yet checked in to a local git repo. Even if I *had*, one of the accidentally-deleted things was the .git folder itself 😂
Disaster! were it not for the fact that I had aliased rm to @mdaleo404’s ‘resrm’. Eight ‘--restore <id>’ commands later and I was back in business 😅
Do yourself a favour and install it…
https://pypi.org/project/resrm/
#Python