PythonHub
2.44K subscribers
2.35K photos
49.3K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Python Bindings for Performance Optimization: A Zero to One Guide

This article describes techniques to accelerate a Python codebase by exposing parallelized C++ functions using PyBind. It then analyzes the results of the optimization in which parallelizing one 40-line function in a 700-line program yielded up to a 3X end-to-end speedup.

https://alexhagiopol.github.io/posts/2023/01/python-bindings/
Neural Networks: Zero to Hero

A course by Andrej Karpathy on building neural networks, from scratch, in code.

https://karpathy.ai/zero-to-hero.html
5 Common Asyncio Errors in Python (and how to avoid them)

Asyncio provides asynchronous programming in Python with coroutines. It is exciting, new, and can be deeply frustrating to beginners. The reason is because of a series of common errors made when getting started with coroutines and the asyncio API. In this tutorial, you will discover the most common errors encountered by beginners in asyncio in Python.

https://superfastpython.com/asyncio-common-errors/
Efficient DevSecOps workflows: Hands-on python-gitlab API automation

In this blog post, you will learn about the basic usage of the library by working with API objects, attributes, pagination and resultsets, and dive into more concrete use cases collecting data, printing summaries and writing data to the API to create comments and commits.

https://about.gitlab.com/blog/2023/02/01/efficient-devsecops-workflows-hands-on-python-gitlab-api-automation/
Ask HN: Which book would you recommend for learning Python in detail?

https://news.ycombinator.com/item?id=34569425
Using Computer Vision to Destroy My Childhood High Score in a DS Game

Generating pre-labeled data with Matplotlib, optimizing code for real-time performance, and training an object detection model to control a DS emulator and become an expert in playing the Super Mario 64 DS minigame, “Wanted!”

https://medium.com/@nathancooperjones/using-computer-vision-to-destroy-my-childhood-high-score-in-a-ds-game-38ebd53a1d64