PythonHub
2.37K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
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
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
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