Does your org run a self-managed version of GitLab and publish your own #Python packages to @pypi ?
If you want to try out an alpha of Trusted Publishing for GitLab Self-Managed instances, let me know via DM - I'm collecting interest now, and should have something to show soon.
Декораторы в Python для начинающих с домашним заданием
Привет, Хабр! Если вы работаете с Python дольше пары недель, вы наверняка сталкивались с конструкцией, начинающейся с символа @. Это декораторы — мощный инструмент, который делает код чище, читабельнее и соответствует принципу DRY (Don't Repeat Yourself). Но за элегантным синтаксисом скрывается несколько ключевых концепций языка, которые важно понимать.
https://habr.com/ru/articles/956494/
#декоратор #python #пайтон #Python_декоратор #python3 #python_class #python_tutor
Pyrefly: Python type checker and language server in Rust
Link: https://pyrefly.org/?featured_on=talkpython
Discussion: https://news.ycombinator.com/item?id=45579275
On most distros Python🐍 has a http server out of the box.
simply <cd> into the directory of your choice and execute the following command:
~λ python3 -m http.server 8080
#Lisp #GNU #Guile #Elisp #Emacs #Lambda #Linux #Bash #sh #BSD #Debian #python

Thanks to @ambv for this important addition to the 3.14 -> 3.15 meme folder.
#Python #Python314 #Python315

Django bulk_update memory issue via @paulox https://lobste.rs/s/kfspok #databases #python #web
https://blog.pecar.me/django-bulk-update-memory-issue
#Python bindings for tauri, really cool stuff #webdev #desktopdev #dev
https://github.com/pytauri/pytauri
🌗 Pyrefly:快速的 Python 類型檢查器與語言伺服器
➤ 讓 Python 類型檢查與 IDE 功能更上一層樓
✤ https://pyrefly.org/?featured_on=talkpython
Pyrefly 是一款專為 Python 設計的高效類型檢查器與語言伺服器,旨在提升開發者體驗。它能以極快的速度完成程式碼的類型檢查,並提供即時的錯誤回饋和自動補全功能,顯著增強程式開發效率。Pyrefly 在效能上表現突出,能處理大規模程式碼庫,並在同類工具的比較中展現出優勢,為開發者帶來更流暢、更具信心的程式碼編寫體驗。
+ 這個工具聽起來很棒,特別是對於大型專案,速度提升會是關鍵。我會立刻試試看!
+ 太好了!我一直在尋找一個能同時提供類型檢查和優秀 IDE 整合的解決方案,Pyrefly 似乎正好符合需求。
#程式開發 #Python #類型檢查
How to convert a CSV file into a dictionary using #Python 🐍🔥
Technically, DictReader will turn each line of the CSV file into a dictionary, which can be very nice

I've been annoyed by my lack of a way to put "multi-line one-liner" python code into my bash code with reasonable indentation.
This discussion suggested a workaround: Make the first line `if 1:`, then you can indent all you like on the second line. Good enough for me!
discuss.python.org/t/allowing-…
#python #CodeGolf #PythonCodeGolf
PyreFly: Python type checker and language server in Rust
https://pyrefly.org/?featured_on=talkpython
PyreFly: Python type checker and language server in Rust
https://pyrefly.org/?featured_on=talkpython
#HackerNews #PyreFly #Python #Rust #typechecker #language_server