Python HubInteresting articles and projects for Python developers.
— x.com/PythonHub
— telegram.me/PythonHub
— mastodon.social/@pythonhub
— bluesky/@pythonhub.dev
— WhatsApp Python Hub Channel
— On Patreon, just $1 per month
Share a news, article or interesting project. Link will be published after manual review.
Subscribe to Python Hub Weekly Digest
6× faster binary search: from compiled code to mechanical sympathy
The post shows how a compiled binary-search bucketization routine used from Python can get much faster by aligning the algorithm with how modern CPUs actually execute code. It walks through branchless execution, removing bounds-check overhead, and enabling SIMD-friendly auto-vectorization to make the final version about 6x faster than the original.
neuro-san-studio
A playground for neuro-san.
An Intro to Spiel – Creating Presentations in Your Terminal with Python
The post introduces Spiel, an archived Python package that uses Rich to create and run slide presentations directly inside the terminal. It walks through installing Spiel, running the demo, and building simple terminal-based slides with Deck, Slide, decorators, and keyboard navigation.
Mellea
Mellea is a library for writing generative programs.
magic-extractor
Universal Windows extraction tool that detects unknown files and routes them to the right bundled extractor.
Python 3.14 compiled to metal – no interpreter
You shouldn't trust Trusted Publishing
The post explains that PyPI Trusted Publishing is an authentication mechanism for machine-to-machine trust between CI/CD workflows and package registries, not a signal that a package is safe or high quality. It shows how Trusted Publishing reduces long-lived credential risk, while warning that users should not treat it like a “green checkmark” because malicious or low-quality packages ca...
microsoft / SkillOpt
SkillOpt is a text-space optimizer that trains reusable natural-language skills for frozen LLM agents through trajectory-driven edits, validation-gated updates, and deployable best_skill.md artifacts.
cupy / cupy
NumPy & SciPy for GPU
PEP 814: Add frozendict built-in type
The post explains the path from rejected PEP 416 and stalled PEP 603 to accepted PEP 814, which adds a built-in frozendict type to Python 3.15. It covers how frozendict works, why it is hashable only when values are hashable, where the standard library now supports it, and what C/Python code may need to update.
2026-07-19 · 2026-07-12 · 2026-07-05 · 2026-06-28 · 2026-06-21 · 2026-06-14 · 2026-06-07 · 2026-05-31 · 2026-05-24 · 2026-05-17 · 2026-05-10 · 2026-05-03 · 2026-04-26 · 2026-04-19 · 2026-04-12 · 2026-04-05 · 2026-03-29 · 2026-03-22 · 2026-03-15 · 2026-03-08 · 2026-03-01 · 2026-02-22 · 2026-02-15 · 2026-02-08 · 2026-02-01 · 2026-01-25 · 2026-01-18 · 2026-01-11 · 2026-01-04 · 2025-12-28 · 2025-12-21 · 2025-12-14 · 2025-12-07 · 2025-11-30 · 2025-11-23 · 2025-11-16 · 2025-11-09 · 2025-11-02 · 2025-10-26 · 2025-10-19 · 2025-10-12 · 2025-10-05 · 2025-09-28 · 2025-09-21 · 2025-09-14 · 2025-09-07 · 2025-08-31 · 2025-08-24 · 2025-08-17 · 2025-08-10 · 2025-08-03 · 2025-07-27 · 2025-07-20 · 2025-07-13 · 2025-07-06 · 2025-06-29 · 2025-06-22 · 2025-06-15 · 2025-06-08 · 2025-06-01
Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.