PythonHub
2.39K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Sockets for dummies

Dive into the world of socket programming with this Python tutorial that assumes 0 prior experience.

https://mathspp.com/blog/sockets-for-dummies
How vectorization speeds up your Python code

Vectorization allows you to speed up the processing of homogeneous data in Python. Learn what it means, when it applies, and how to do it.

https://pythonspeed.com/articles/vectorization-python/
That time I optimized a program by 5000x

Using a more detailed profiler like Scalene can really help optimization efforts by locating inefficiencies in an actionable way.

https://emeryberger.medium.com/that-time-i-optimized-a-program-by-5000x-155cb8cfd9f9
ThreadPoolExecutor in Python: The Complete Guide

The ThreadPoolExecutor allows you to create and manage thread pools in Python. This guide provides a detailed and comprehensive review of the ThreadPoolExecutor in Python, including how it works, how to use it, common questions, and best practices.

https://superfastpython.com/threadpoolexecutor-in-python/
A probabilistic programming language in 70 lines of Python

This post explains how Probabilistic Programming Languages (PPLs) work by showing step-by-step how to build a simple one in Python.

https://mrandri19.github.io/2022/01/12/a-PPL-in-70-lines-of-python.html
Ultimate Guide To Text Similarity With Python

In this article, you will learn about different similarity metrics and text embedding techniques. By the end, you'll have a good grasp of when to use what metrics and embedding techniques. You’ll also get to play around with them to help establish a general intuition.

https://newscatcherapi.com/blog/ultimate-guide-to-text-similarity-with-python
Go Fast With Django

How do you make your Django app fast? You measure what is slow, scale your system when necessary, and use a combination of fast database queries and strategic caching. In this Understand Django article, we'll explore those topics and more to help you get a performant Django app.

https://www.mattlayman.com/understand-django/go-fast/