In 2019, there was a bit of a kerfuffle over the funding of requests 3, and then it seemed to go quiet. Now the author has posted an apology, and it looks like the project is back on! The post lists some of the things that have been done so far, including typing all of the public interfaces, refactoring all of the namespaces, and making it async compatible. (See also: the funding kerfuffle: Why I'm not collaborating with Kenneth Reitz)
TL;DR
Kenneth Reitz's long-overdue apology and the state of requests 3 headline the issue; NumPy preps its API for 2.0 and Google's pyink, a Black fork, is worth a look.
Articles & Tutorials
× 12Built on top of the gevent library, grequests allows you to make multiple requests concurrently, harnessing the power of asynchronous programming. This introductory tutorial covers its basic usage along with a tip to enhance performance.
This is a series of blog posts, currently at 6 posts, that aims to explore and investigate the concepts and algorithms required to implement a programming language like Python, covering topics such as lexers, parsers, compilers, and interpreters.
A tutorial to build a book summarization tool using Python, Langchain, and OpenAI embeddings. The author also published an online demo using Streamlit.
GeneratedField is a new feature in the upcoming Django 5.0 that leverages the database's ability to automatically compute the value of a data column. The author, a Django contributor, tested various scenarios of using this new feature in SQLite. (P.S. The article also introduces some other new goodies in Django 5.0.)
The bisect module only has two functions, but it can do a lot of things. The article introduces: binary search, prefix search, finding consecutive equal values in a list, finding the closest key in a dictionary, sorting custom objects, searching by dictionary key.
Whenever Python releases a new version, maintainers of third-party libraries scramble to make their packages compatible. It's not easy. The author describes the daunting challenges they faced, which are really just the Python community's long-standing packaging problems. Fortunately, the maintainers found a workable solution.
OpenAI has released a new model, but how capable is it? What are the advantages and disadvantages of using GPT-4 for web scraping? The article experiments with scraping a well-structured website, scraping Google organic search results, scraping Google SERP, and scraping Google MAPS results.
Which one should you choose between the two most popular web frameworks in the Python world? This is an in-depth and lengthy article that compares them in detail in terms of templating system, URL dispatcher, database support, authentication and authorization, testing, software architecture, learning curve, and more. There is no better one, only the one that suits you better.
How do you install Python on your new M2 MacBook? In this hands-on tutorial, the author suggests using Pyenv + pyenv-virtualenv.
This tutorial guides you to build an Android data analytics app that logs and displays the time you spend on your screen throughout the day. It uses kivy as the GUI framework and Pandas for data analysis.
NEP-52 is an enhancement proposal for Numpy that aims to identify, refactor, and deprecate outdated, duplicated, and unused Python APIs in Numpy. This work is in preparation for a smooth transition to Numpy 2.0. The author shares the challenges and some of the achievements he has made in this effort.
🎁Python Developers Survey🎁 The official 7th annual survey to understand the state of the Python developer community. Take a few minutes to fill out the survey: Survey Link
🎁 Python Trending Weekly 🎁 organizes its content into seasons, with every 30 issues forming a season. The highlights from the first season have been compiled for your convenience. You can access them online here (Chinese).
Projects & Resources
× 12A video translation tool that can translate a video from one language to another and dub it. (star 1.4K)
A fork of Black designed to address issues that arise from having thousands of engineers working in a monorepo at Google.
An SQL database from the creator of FastAPI, combining the power of SQLAlchemy and Pydantic with a focus on simplicity, compatibility, and robustness. (11.2k stars)
Wagtail is a Django-based CMS (Content Management System) that focuses on user experience. In the previous issue, we shared an article titled "Why Is the Django Admin Ugly?." Wagtail is the best recommendation for end users. (16.2k stars)
A machine learning AI to predict the outcome of NBA games. Includes team data from the 2007-08 season to the current season.
This repository archives a collection of Python e-books and learning resources, all in PDF format.
A data processing framework that combines batch, streaming, and real-time APIs of LLM programs, which can interact with various data sources (e.g., Kafka, CSV files, SQL/noSQL databases, and REST APIs).
It is an orchestrator for data-intensive workflows that turns Python functions into observable and composable units of work. It supports features such as automatic retries, distributed execution, scheduling, caching, and has a powerful dashboard for monitoring. (13.2k stars)
A video generation and editing tool that supports high-definition video. It currently includes two models: text-to-video and image-to-video. (3K stars)
This article compiles a list of essential resources, courses and tutorials, coding games, books, podcasts, YouTube channels, best practices, and more.
Used for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. It is designed for the analysis of complex networks. (13.4K stars)
This project collects various frameworks in Python, including web frameworks, API frameworks, CMS, ML&DL&AI, task/message queues, parallel & distributed computing, workflow & pipelines, DevOps, web scraping, GUI&TUI, and more. An online website is also provided.
Podcasts & Videos
× 2Hosted by Python core developers Pablo Galindo and Łukasz Langa, the podcast has already released two episodes: Core Sprint in Brno & Python 3.13.0 alpha 1 and PEP-703: Removing the GIL
Dynamically typed programming languages like Python, Ruby, PHP, and JavaScript, which emerged in the 1990s, are embracing static typing (mypy, Sorbet, Hack, and TypeScript), and relatively new languages like Go, Kotlin, Dart, and Rust are statically typed. Why is static typing making a comeback? What does this mean for the future?
- Two podcast episodes with the author of Boost Your Git DX
After the release of his new book Boost Your Git DX, Adam Johnson was featured on two podcast episodes: Real Python Podcast #179 and Pybites #139.