PythonHub
2.37K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Voxtral

Voxtral is an open-source AI audio model developed by Mistral, designed for automatic speech recognition and understanding. It offers features like transcription, summarization, and multilingual support at a lower cost compared to proprietary models.

https://mistral.ai/news/voxtral
Python Gotcha: Logging an uncaught exception

Uncaught exceptions will crash an application. If you don't know how to log these, it can be difficult to troubleshoot such a crash. Let's walk through this gotcha and see how to fix it.

https://andrewwegner.com/python-gotcha-logging-uncaught-exception.html
Operating Inside the Interpreted: Offensive Python

The post discusses how Python on Windows (often preinstalled via the Microsoft Store) can be used as a surprisingly effective tool for offensive security and malware operations, thanks to its rich standard library, isolated package management, and low-profile presence in corporate environments. It outlines methods such as malware delivery, offline package installation, and leveraging cty...

https://trustedsec.com/blog/operating-inside-the-interpreted-offensive-python
The Step-by-Step Guide to Python Packaging Tools 2025

A future-ready guide comparing Python packaging tools like uv, Poetry, Hatch, and PDM—perfect for modern developers and teams.

https://www.datumlabs.io/resources/the-step-by-step-guide-to-python-packaging-tools-2025?utm_source=pythonhub&utm_medium=blog&utm_campaign=blog-published
Inheritance over composition, sometimes

Last time, we built a hybrid concurrent.futures executor using inheritance. Today, we're building it again (twice!) using composition and functions only, to figure out which way is better and why.

https://death.andgravity.com/over-composition
Using Lean like an External SMT Solver from Python

The author demonstrates using Lean as an external SMT solver by translating proof goals into SMT queries and reconstructing the results back into valid Lean proofs. He builds a lightweight Python workflow that integrates Lean and SMT solvers seamlessly, enabling automated, proof-generating tactics within Lean.

https://www.philipzucker.com/lean_smt/