PythonHub
2.37K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Official PyTorch Documentary: Powering the AI Revolution

The film reveals the true story behind PyTorch's creation, highlighting the contributions of its dedicated developers. It showcases the strength of the PyTorch community, aiming to inspire further contributions and recognition of its importance in the open source world.

https://www.youtube.com/watch?v=rgP_LBtaUEc
A Complete Guide to Pytest Fixtures

In this tutorial, I'll guide you through the ins and outs of Pytest fixtures. You'll learn how to create fixtures, parameterize them for flexibility, and leverage their power to create efficient, reliable, and maintainable unit tests.

https://betterstack.com/community/guides/testing/pytest-fixtures-guide/
🔥1
7 Functional Programming Techniques Every Developer Should Know

This video explores 7 functional programming techniques and demonstrate their functionality. Despite Python not being a purely functional language, embracing these techniques can greatly enhance your Python skills.

https://www.youtube.com/watch?v=Rp9Ha0rVM1w
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