PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Error Handling: From Charles Babbage to Python 3.11

This talk introduces the new error handling features of Python 3.11, while placing them within their historical perspective.

https://www.youtube.com/watch?v=rKBKHVvXuUI
How to Use Symbolic Python to Solve and Simulate Dynamical Systems

https://neil-sawhney.com/articles/dynamics-simulations/
OpenAgent

OpenAgent is a library of modular components and an orchestration framework. Inspired by a microservices approach, it gives developers all the components they need to build robust, stable & reliable AI applications and experimental autonomous agents.

https://github.com/dot-agent/openagent
Shell-AI

Shell-AI (shai) is a CLI utility that brings the power of natural language understanding to your command line. Simply input what you want to do in natural language, and shai will suggest single-line commands that achieve your intent.

https://github.com/ricklamers/shell-ai
Development with Large Language Models Tutorial – OpenAI, Langchain, Agents, Chroma

Throughout this course, you will complete hands-on projects will help you learn how to harness LLMs for your own projects. You will build projects with LLMs that will enable you to create dynamic interfaces, interact with vast amounts of text data, and even empower LLMs with the capability to browse the internet for research papers.

https://www.youtube.com/watch?v=xZDB1naRUlk
Asyncio, twisted, tornado, gevent walk into a bar...

SummaryConcurrency has a lot to do with sharing one resource, and Python has dedicated tools to ...

https://www.bitecode.dev/p/asyncio-twisted-tornado-gevent-walk
Understanding Immortal Objects in Python 3.12: A Deep Dive into Python Internals

A detailed examination of Python 3.12's internal changes featuring the concept of 'immortal' objects, for performance enhancements

https://codeconfessions.substack.com/p/understanding-immortal-objects-in
How to implement CommandBus in Python

CommandBus is a communication mechanism used to decouple the sender of a command from its handler or executor. It is a part of the Command Pattern and is commonly used in applications that follow the CQRS (Command Query Responsibility Segregation) pattern or other similar architectural styles. This article provides a comprehensive guide on implementing the CommandBus in Python

https://blog.szymonmiks.pl/p/how-to-implement-commandbus-in-python/
Composition over inheritance: The case for function-based views

The author shares some of his thoughts re. function- vs class-based views in Django.

https://406.ch/writing/composition-over-inheritance-the-case-for-function-based-views/
Fixit 2: Meta’s next-generation auto-fixing linter

Fixit is dead! Long live Fixit 2 – the latest version of our open-source auto-fixing linter. Fixit 2 allows developers to efficiently build custom lint rules and perform auto-fixes for their codebases.

https://engineering.fb.com/2023/08/07/developer-tools/fixit-2-linter-meta/