PythonHub Logo Python Hub Weekly Digest for 2022-07-24

Cover by

💖 Most Popular

Extract Text from Images with Python
In this video we learn how to extract text from images using python. We compare three popular libraries: pytesseract, easyocr, and keras_ocr. Examples are run in a kaggle notebook on the TextOCR dataset.

5 Reasons Why You Should Use Type Hints In Python
Even though you don't see type hints all that often in Python code, and they'll probably never become obligatory, I still think you should use them. Here are 5 reasons why.

Learning Go as a Python Developer: The Good and the Bad

Parallel Processing Large File in Python

Introduction to Natural Language Processing (NLP)
Table of Contents Introduction to Natural Language Processing (NLP) ...

📖 Articles

karpathy / minGPT
A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training

grafana / oncall
Developer-friendly incident response with brilliant Slack integration

Using GPT-3 to explain how code works
One of my favourite uses for the GPT-3 AI language model is generating explanations of how code works. It’s shockingly effective at this: its training set clearly include a vast amount of source code.

Python With: Using and Writing Context Managers in Python

To Ruby from Python

Evaluating Mechanical Keyboard Delivery Estimates with Python Web Scraping
Evaluating the accuracy of's delivery estimates using beautifulsoup and matplotlib.

Stop using “pip freeze” for your Python projects
Photo by Dev Benjamin on UnsplashA discussion into why `pip freeze` is not as cool when it comes to ...

How To Use Docker To Make Local Development A Breeze
Docker is a very powerful tool for developing applications that run in the cloud. If you want to get the most out of it, you need to make sure that the way you're running your code locally matches as closely as possible with how it runs in the cloud. This video shows you how to do this, using a simple API server in Python as an example.

⚙️ Projects

Create Disco Diffusion artworks in one line.

Forms in Django 4.0+
Prior to Django 4.0 forms were rendered by string concatenation. A number of 3rd party packages allowed for forms to be rendered as templates e.g. floppy forms, crispy-forms. Django 4.0 introduced the capability to render forms using the template engine. This allowed the form template to be set per form class or per instance if a template name is provided when calling render().

← Previous Next →

Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.