PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
A Guide to Python's Weak References Using weakref Module

Chances are that you never touched and maybe haven't even heard about Python's weakref module. While it might not be commonly used in your code, it's fundamental to the inner workings of many libraries, frameworks and even Python itself. So, in this article we will explore what it is, how it is helpful, and how you could incorporate it into your code as well.

https://martinheinz.dev/blog/112
Secrets of the ChatGPT Linux system

Have you noticed that ChatGPT sometimes writes out Python code and somehow executes it? How does that work? What kind of environment is it using? Can we co-opt it for our own ends? Let's find out!

https://incoherency.co.uk/blog/stories/chatgpt-linux.html
xorbitsai / inference

Replace OpenAI GPT with another LLM in your app by changing a single line of code. Xinference gives you the freedom to use any LLM you need. With Xinference, you're empowered to run inference with any open-source language models, speech recognition models, and multimodal models, whether in the cloud, on-premises, or even on your laptop.

https://github.com/xorbitsai/inference
Are generator-coroutines really the answer?

The video delves into generator co-routines in Python, explaining the distinctions between generators, functions, and generator instances, and the protocols and roles of collections.abc in defining generators. It highlights the advantages of lazy computation with generators, efficient control and data flow management, and addresses challenges in chaining operations and modeling complex p...

https://www.youtube.com/watch?v=Knth0LhQnC0
All Set! Looking Under the Hood of Python's Set Data Structure

Learn everything about hash tables, collision handling, and performance optimization.

https://blog.codingconfessions.com/p/cpython-set-implementation
PyPI Scout

Find Python packages on PyPI with natural language queries.

https://pypiscout.com/
API integration Course – Modern Python with FastAPI

This video provides a comprehensive overview of building event-driven applications using FastAPI, covering topics from basic setup to advanced features like real-time translation and sentiment analysis. It demonstrates the integration of various technologies and APIs, emphasizing practical implementation, troubleshooting, and optimization techniques for creating functional web applicatio...

https://www.youtube.com/watch?v=rkPIftzu1pQ