PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
PySearch

PySearch is a completely free search engine for querying python libraries using natural language descriptions of the properties of the functions you are looking for. The goal is to help you find the function you are looking for when you know what library its in, but not what its name is.

https://www.pysearch.com/
The spelled-out intro to neural networks and backpropagation: building micrograd

Andrej Karpathy gives the most step-by-step spelled-out explanation of backpropagation and training of neural networks. It only assumes basic knowledge of Python and a vague recollection of calculus from high school.

https://www.youtube.com/watch?v=VMj-3S1tku0
Advanced Python: Achieving High Performance with Code Generation

If the phrase “hand-rolled bytecode” makes you laugh maniacally, this article is for you. If it makes you think “this is almost certainly a terrible idea,” then you have the right level of caution to be considering using it. This method is a powerful footgun and should be handled with care.

https://medium.com/@yonatanzunger/advanced-python-achieving-high-performance-with-code-generation-796b177ec79
How to Build a GPT-3 for Science

A GPT-3-like AI model for science would accelerate innovation and improve reproducibility. Creating it will require us to unlock research.

https://future.com/how-to-build-gpt-3-for-science/
Build Your Own Imagen Text-to-Image Model

Text-to-Image models have made great strides this year, from DALL-E 2 to the more recent Imagen model. In this tutorial learn how to build a minimal Imagen implementation - MinImagen.

https://www.assemblyai.com/blog/build-your-own-imagen-text-to-image-model/
Using Mypy in production at Spring

While Mypy adoption comes at a cost (via upfront and ongoing investment, a learning curve, etc.), I’ve found it invaluable for maintaining a large Python codebase.

https://notes.crmarsh.com/using-mypy-in-production-at-spring
Professional Pandas: The Pandas Assign Method and Chaining

This is the first in a series of blog posts that teach how to write professional-quality pandas code. In this post, we discuss the pandas assign function, and how it can be used together with chaining to create clean, readable code.

https://ponder.io/professional-pandas-the-pandas-assign-method-and-chaining/
Build Your Own Mobile Proxy for Web Scraping

In this guide, we show how you can build your own mobile proxy pool step by step. The most common use case for mobile proxies is web scraping. If you have a low success rate and keep getting blocked by websites you want to scrape, this guide is for you.

https://scrapingfish.com/blog/byo-mobile-proxy-for-web-scraping
Memory Management in Python - Part 3: Object Lifetimes and Garbage Collection

We ended Part 2 with an exploration of the weird and wonderful things that can happen when you override the eq magic method in Python. Now, in Part 3, we’re going to look at doing the same thing with a different magic method: del.

https://anvil.works/articles/pointers-in-my-python-3