PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Enhancing Neural Network Training at Yelp: Achieving 1,400x Speedup with WideAndDeep

This post delves into our journey of optimizing training time using TensorFlow and Horovod, along with the development of ArrowStreamServer, our in-house library for low-latency data streaming and serving. Together, these components have allowed us to achieve a 1400x speedup in training for business critical models compared to using a single GPU with Petastorm.

https://engineeringblog.yelp.com/2025/01/enhancing-neural-network-training-at-yelp.html
Why You Should Rethink Your Python Toolbox in 2025

Think you know Python? You might be stuck in 2023. 🚀 Stop using Pandas the old way—discover Hatch, UV, Pydantic, and more tools redefining Python development in 2025. Don't miss this!

https://python.plainenglish.io/why-you-should-rethink-your-python-toolbox-in-2025-3616b07b6121
You Use This Python Feature Everyday - But Never Learned It...

Most Python developers never learned this feature, even though they use it every single day. All of the popular frameworks like Flask, FastAPI, Django, Pydantic, SQL, Alchemy; they all use Properties and Descriptors.

https://www.youtube.com/watch?v=WW7ppBY3jw4
smolGPT

A minimal PyTorch implementation for training your own small LLM from scratch. Designed for educational purposes and simplicity, featuring efficient training, flash attention, and modern sampling techniques.

https://github.com/Om-Alve/smolGPT
LLM Course – Build a Semantic Book Recommender (Python, OpenAI, LangChain, Gradio)

Discover how to build an intelligent book recommendation system using the power of large language models and Python. Learn to transform book descriptions into mathematical representations that enable precise content-based matching. By the end of this course, you'll have built a recommendation engine that helps readers discover their next favorite book.

https://www.youtube.com/watch?v=Q7mS1VHm3Yw
Portable Python Bundles on Windows

Packaging Python applications for Windows can be challenging. This post proposes "Python Bundles for Windows," a portable, lightweight convention resembling virtual environments but transferable across machines. It uses simple folder structures and scripts without new tools, offering flexibility and automation potential.

https://dev.to/treehouse/portable-python-bundles-on-windows-41ac
Dynamic Forms with Flask

The article discusses how to create dynamic forms in Flask using WTForms, allowing for flexible form generation based on user input or other conditions. It demonstrates techniques for adding or removing form fields dynamically, both on the server-side and client-side, enhancing the interactivity and functionality of web applications.

https://blog.miguelgrinberg.com/post/dynamic-forms-with-flask
Vyper and Python Smart Contracts on Blockchain

This video covers blockchain software development from scratch using Python and Vyper, covering smart contract creation, Python scripting, and interaction with contracts. It also includes advanced topics like fuzzing, NFTs, algorithmic trading, AI, ERC20s, and DeFi, making it suitable for beginners and those looking to expand their blockchain development skills.

https://www.youtube.com/watch?v=nWsLw_1OpE0
The surprising way to save memory with BytesIO

If you want to save memory when reading from a BytesIO, getvalue() is surprisingly a good choice.

https://pythonspeed.com/articles/bytesio-reduce-memory-usage/
1