PythonHub
2.44K subscribers
2.35K photos
49.4K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Why it took 4 years to get a lock files specification

The lock file specification for Python, finalized in PEP 751, took more than four years to complete because of the complexity of capturing dependencies across platforms and configurations while maintaining security, readability, and compatibility with different tools. The process required balancing diverse ecosystem needs, resolving dependency graphs, and achieving consensus among major ...

https://snarky.ca/why-it-took-4-years-to-get-a-lock-files-specification/
Practical MCP with FastMCP & Python Tutorial – IO, HTTP Streams, APIs, and Testing

The video teaches how to build MCP servers using the FastMCP Python library. It covers MCP basics, building calculator apps with different communication protocols, integrating APIs for dynamic content, testing with GitHub Copilot, and deploying MCP servers on FastMCP Cloud for a complete development workflow.

https://www.youtube.com/watch?v=DosHnyq78xY
🤔9
DeepAnalyze: Agentic Large Language Models for Autonomous Data Science

DeepAnalyze is the first agentic LLM for autonomous data science, supporting:
🛠 Data preparation, analysis, modeling, visualization, and insight.
🔍 Data research and produce research report.

https://ruc-deepanalyze.github.io/
The future of Python web services looks GIL-free

The free-threaded Python variant in 3.14 removes the Global Interpreter Lock (GIL), enabling true parallel multithreading for CPU-bound tasks. While it may have a modest performance cost on single-threaded code, it significantly improves memory efficiency and concurrency in web applications, simplifying deployment and boosting throughput, especially for ASGI and WSGI based services.​

https://blog.baro.dev/p/the-future-of-python-web-services-looks-gil-free
Three times faster with lazy imports

This post tests Python 3.15’s proposed PEP 810 explicit lazy imports, which delay loading modules until first use to cut startup time.? Using the feature on author's CLI tool pypistats, he found it ran 2.92× faster (reducing startup from 104 ms to 36 ms), demonstrating how lazy imports can significantly speed up Python applications with large dependency graphs.

https://hugovk.dev/blog/2025/lazy-imports/