[Перевод] Самый быстрый способ загрузить 32 000 строк в PostgreSQL с помощью Python
Команда Python for Devs подготовила перевод статьи о том, как найти самый быстрый способ загрузки данных в PostgreSQL с помощью Python. Автор пошагово сравнил разные методы — от построчных вставок до COPY с потоковой генерацией CSV — и показал, как ускорить процесс более чем в 250 раз при нулевом потреблении памяти.
https://habr.com/ru/articles/948854/
#postgresql #python #psycopg #загрузка_данных #импорт_данных #csv #copy #execute_batch #execute_values #оптимизация_производительности
RBACX — универсальный RBAC/ABAC-движок авторизации для Python
RBACX — авторизация без боли в Python-проектах Когда доступ «размазан» по вьюхам и миддлварам, ревью и тесты превращаются в квест - появляется мотивация все это унифицировать. Я написал RBACX — лёгкий движок, где правила описываются декларативно (JSON/YAML), а проверка прав — это один понятный вызов. В статье показываю, как собрать из него аккуратный PDP для микросервисов и монолитов. Я последние два года пишу бэкенд в стартапе MindUp — это мой первый пост на Хабре, и первая библиотека. Буду рад вопросам и критике. Если тема авторизации болит так же, как у меня, загляните!
https://habr.com/ru/articles/950080/
#python #rbacx #RBAC #ABAC #fastapi #authorization #django #flask #litestar #accesscontrol
I have a #Python string that contains a JSON serialized dict. It might be relatively large and I'm only interested in the value of a single top level key.
Is there an existing solution - a kind of streaming SAX parser for #JSON - that could handle such a scenario?
I would like to have proper JSON parsing to be sure that the data is valid. But I don't want to build the full dict in memory and just pick one single value.
Any recommendations? @faassen perhaps?
There's a new 🎣 phishing campaign targeting
PyPI users occurring right now. #python #development #packages #management #mail #phishing #threats [ https://blog.pypi.org/posts/2025-09-23-plenty-of-phish-in-the-sea/ ] #informatique
Unleash extreme #Python performance! Get a 10x #PythonCExtensionSpeedup using C. Bypass the GIL for true multi-threading. Tutorial included! #PythonPerformance #CExtensions
https://teguhteja.id/python-c-extension-speedup-10x/?utm_source=mastodon&utm_medium=jetpack_social
Борьба с техническими долгами: как не допустить разрастания костылей в коде
Привет, Хабр! (И тебе, отчаянный страдалец, зашедший сюда в перерыве между дебагом очередного if (a == b) { return true; } else { return false; } . Мы знаем, ты не виноват, так вышло). Каждый разработчик хоть раз в жизни прилаживал к своему коду «костыль». Знакомое чувство, правда?
https://habr.com/ru/articles/950016/
#костыли #баги #чистый_код #разработка #python #javascript #1с #битрикс #архитектура #c++
Last bit to unwind the rainbow of #docutils
https://codeberg.org/guix/guix/issues/2944
Common bootstrapping dilemma ![]()
Not resolved since 2022...
https://github.com/pydata/pydata-sphinx-theme/issues/628
this is neither genuine #python nor #pythonic code ;) #Qoder #Apsara

Hướng dẫn lấy lịch sử tin nhắn thread trong Azure AI Foundry bằng Python. Bài viết chi tiết cách truy xuất dữ liệu hội thoại từ các cuộc trò chuyện AI, hữu ích cho developer làm việc với chatbot và hệ thống AI.
#Azure #AIFoundry #Python #LapTrinh #AI #Chatbot #VietnameseTech
https://furotmark.github.io/2025/09/23/Azure-AI-Foundry-Message-History.html
Just released: Version 10.6.28 of passagemath, the pip-installable modularized #SageMath fork, a general-purpose #Mathematics system in #Python.
github.com/passagemath/...
This version brings a new package for computations with free group automorphisms and train-track representatives.
#FOSS #MathSky
Release passagemath-10.6.28 · ...
Python often reads like English, but it really doesn't in the case of comprehensions with nested loops. https://trey.io/aeo9fg
🌍 Exciting news! @blackpythondevs is sponsoring PyCon Africa 2025 🎉
We’re thrilled to have their support in empowering and growing the African Python community. 🐍✨
Learn more about them 👉 https://blackpythondevs.org
#PyConAfrica #BlackPythonDevs #Python
