PythonHub
2.38K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Debugging Python with VS Code and Sentry

Pairing VS Code and Sentry can lead to quicker resolved issues in your app. Learn how to debug your Python project with these two tools here.

https://blog.sentry.io/debugging-python-with-vs-code-and-sentry/
Building an LLM-Powered Slackbot

This article describes Benchling's development of a Slackbot powered by a Large Language Model (LLM). The LLM taps into a knowledge base stored in Amazon Bedrock, allowing developers to ask questions and receive answers directly through the familiar Slack interface.

https://benchling.engineering/building-an-llm-powered-slackbot-557a6241e993
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
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
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/
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
👍2