PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Light speed with Python and JS

Nope, this article is not about making Python and JS run very fast, it's about making a light speed effect for the fun of a hundred of drunk people

https://www.bitecode.dev/p/light-speed-with-python-and-js
An Intro to Logging with Python and Loguru

Python’s logging module isn’t the only way to create logs. There are several third-party packages you can use, too. One of the most popular is Loguru. Loguru intends to remove all the boilerplate you get with the Python logging API. You will find that Loguru greatly simplifies creating logs in Python.

https://www.blog.pythonlibrary.org/2024/05/15/an-intro-to-logging-with-python-and-loguru/
The Unit of Work Design Pattern Explained

This video explains the Unit of Work design pattern, a crucial concept for anyone who regularly interacts with databases. This pattern plays a key role by accumulating all transactions and executing them collectively. But why is this necessary? Find out in this video.

https://www.youtube.com/watch?v=HX6vkP-QD7U
Tezos Blockchain Developer Course – Python Web3 Development

Learn how to develop distributed applications on Tezos, from setting up wallets to understanding and managing smart contracts effectively. The course covers various tools and techniques essential for Tezos developers and highlights the community-driven innovations that support the platform's growth.

https://www.youtube.com/watch?v=pHQfw1W7V8s
A first attempt at DSPy Agents from scratch

This post is going to take a first pass at creating Agents from scratch, using DSPy. The goal here is education, and to explore how one might build agents from scratch in DSPy.

https://learnbybuilding.ai/tutorials/dspy-agents-from-scratch
Parsing PNG images in Mojo

The post details the author's experience implementing a PNG parser in the Mojo programming language. It covers challenges faced, such as handling unsigned 8-bit integers and converting bytes to strings, while exploring idiomatic ways to write Mojo code for this task.

https://fnands.com/blog/2024/mojo-png-parsing/
👍1