News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Can LLMs write better code if you keep asking them to “write better code”?
https://minimaxir.com/2025/01/write-better-code/?
How I Built a Full-Stack AI App in 5 Hours (Agents, Streamlit, Python & More)
https://www.youtube.com/watch?v=qX3Dq8p7x0Y
Python in DevOps: My Favorite Tools
https://www.reddit.com/r/Python/comments/1hxjv2o/python_in_devops_my_favorite_tools/
Run Python in the Browser Effortlessly
https://kai.bi/post/run-python-programs-easily-in-the-browser
Why is hash(-1) == hash(-2) in Python?
https://omairmajid.com/posts/2021-07-16-why-is-hash-in-python/
How to debug Python code in Visual Studio Code
https://www.qodo.ai/blog/tutorial-how-to-debug-python-code-in-visual-studio-code/
Python: fuss-free use of Homebrew libraries for package dependencies
Some Python packages require native libraries to be installed on your system when you install ...
https://adamj.eu/tech/2025/01/10/python-homebrew-libraries/
Python Hub Weekly Digest for 2025-01-12
https://pythonhub.dev/digest/2025-01-12/
intuitem / ciso-assistant-community
CISO Assistant is a one-stop-shop for GRC, covering Risk, AppSec and Audit Management and supporting +70 frameworks worldwide with auto-mapping: NIST CSF, ISO 27001, SOC2, CIS, PCI DSS, NIS2, CMMC, PSPF, GDPR, HIPAA, Essential Eight, NYDFS-500, DORA, NIST AI RMF, 800-53, 800-171, CyFun, CJIS, AirCyber, NCSC, ECC, SCF and so much more
https://github.com/intuitem/ciso-assistant-community
UV tricks
SummaryYou can test things in your venv without polluting it using uv run --with, create almost ...
https://www.bitecode.dev/p/uv-tricks
Things we learned about LLMs in 2024
A lot has happened in the world of Large Language Models over the course of 2024. Here's a ...
https://simonwillison.net/2024/Dec/31/llms-in-2024/#atom-everything
I wrote a Turing complete language / interpreter on top of Python.
https://www.reddit.com/r/Python/comments/1hnfqhi/i_wrote_a_turing_complete_language_interpreter_on/
SSH Scripting with Fabric and Python
Reading and writing files is a basic task that most software applications need to do. You will also ...
https://www.blog.pythonlibrary.org/2024/10/16/ssh-scripting-with-fabric-and-python/
DrewThomasson / ebook2audiobook
Convert ebooks to audiobooks with chapters and metadata using dynamic AI models and voice cloning. Supports 1,107+ languages!
https://github.com/DrewThomasson/ebook2audiobook
OpenSPG / KAG
KAG is a logical form-guided reasoning and retrieval framework based on OpenSPG engine and LLMs. It is used to build logical reasoning and factual Q&A solutions for professional domain knowledge bases. It can effectively overcome the shortcomings of the traditional RAG vector similarity calculation model.
https://github.com/OpenSPG/KAG
The benefits of trailing commas
Trailing commas make for easier code changes, shorter diffs, and fewer bugs.
...
https://www.pythonmorsels.com/trailing-commas-in-python/
StreamSpeech: Simultaneous Speech-to-Speech Translation with Multi-task Learning
StreamSpeech is an "All in One" seamless model for over 8 tasks of offline and simultaneous speech recognition, speech translation and speech synthesis.
https://ictnlp.github.io/StreamSpeech-site/
Getting Started Contributing to Django
Django is a massive code base, and it’s been around for a very long time. There are some ...
https://www.better-simple.com/django/2024/12/25/getting-started-contributing-django/
Python Concurrency: Threads, Processes, and Asyncio Explained
https://newvick.com/python-concurrency/
Symbolic Execution by Overloading `__bool__`
https://www.philipzucker.com/overload_bool/
Yes, you should use a Python venv in a container like docker
SummaryWhile it's perfectly workable to not use a venv in a container like a Docker image, you ...
https://www.bitecode.dev/p/yes-you-should-use-a-python-venv
Significant-Gravitas / AutoGPT
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://github.com/Significant-Gravitas/AutoGPT
Potato - A Lightweight Tool for Debugging and Testing Python Code
https://www.reddit.com/r/Python/comments/1huiq1y/potato_a_lightweight_tool_for_debugging_and/
Python Hub Weekly Digest for 2025-01-05
https://pythonhub.dev/digest/2025-01-05/
awslabs / multi-agent-orchestrator
Flexible and powerful framework for managing multiple AI agents and handling complex conversations
https://github.com/awslabs/multi-agent-orchestrator
Access Google Gemini LLM via OpenAI Python Library
Google Gemini now can be accessed via OpenAI python library:
from openai import ...
https://saeedesmaili.com/notes/access-google-gemini-llm-via-openai-python-library/
Symbolic Reference and Hardware Models in Python
https://tomverbeure.github.io/2024/12/27/A-Symbolic-HW-Model-in-Python.html
Checking Python Code with GitHub Actions
When you are working on your personal or work projects in Python, you usually want to have a way to ...
https://www.blog.pythonlibrary.org/2024/12/10/checking-python-code-with-github-actions/
Python: debug unraisable exceptions with Rich
Take this Python class:
class Widget:
def del(self):
1 / 0
It implements a del ...
https://adamj.eu/tech/2025/01/02/python-unraisiable-exceptions/
All your Python project in one file with shiv
Summary(This article assumes you are comfy with pip + venv. If you are not, we have articles for ...
https://www.bitecode.dev/p/all-your-python-project-in-one-file