Python Trending Weekly
ISSUE 23

Python Trending Weekly #23 (2023-10-22)

2023-10-22 Season 1

TL;DR

A list of hands-on project ideas pairs nicely with 3.11-vs-3.12 benchmarks; meeting Guido in person and Chrome-GPT, an agent that drives Chrome, add the fun.

Articles 12 Projects 12 Media 2
🦄

Articles & Tutorials

× 12
01 20 Exciting Python Project Ideas dev.to

People often ask: Are there any simple and easy-to-use Python projects to recommend? You may want to read this article, which introduces 20 small project ideas. In addition, the original author has implemented many projects, and the source code can be obtained from the repository address in the article.

02 Python 3.11 vs Python 3.12 Performance Testing en.lewoniewski.info

The article provides detailed figures for a total of 91 benchmarks run on different machines equipped with AMD Ryzen 7000 series and 13th Gen Intel Core processors.

03 When I met Guido van Rossum blog.adarshd.dev

The author gave a talk titled "Metaprogramming with Metaclasses in Python" at Pycascades this year and met Guido, where they discussed some topics on using Python and how to become a CPython core developer.

04 Learn by Reading Code: Design Decisions in the Python Standard Library death.andgravity.com

One way for programmers to improve their skills is to read a lot of good code, and the Python standard library is a great place to start. But with so much to choose from, where should you start? The author of this article recommends these: statistics, pathlib, dataclasses, graphlib.

05 Accepting Payments with Stripe, Vue.js, and Flask testdriven.io

Chinese people are not willing to pay for content, so most independent developers who choose to go overseas to make money will choose to use a Stripe account. This tutorial uses Stripe to implement the payment function of the website. The front-end and back-end technology stacks are Vue and Flask.

06 Three Ways to Call Rust from Python blog.frankel.ch

Introduces three ways to call Rust from Python: HTTP, IPC (inter-process communication), and FFI (foreign function interface).

07 How to Develop Middleware for FastAPI? semaphoreci.com

FastAPI comes with a number of built-in middleware, but you might also need to tailor your own. The article introduces the principle of FastAPI middleware and the built-in middleware, then implements custom middleware based on functions and classes, and provides best practice suggestions and corresponding test cases.

08 Passwordless Authentication Options in Django honeybadger.io

This article introduces three passwordless authentication methods: email-based authentication, authentication using OAuth, and authentication using magic links; it also introduces their advantages, limitations, and precautions for use.

09 4 Tools to Improve Your Python Development Workflow Before Shipping Your Project thetechbuffet.substack.com

What tools can simplify your development workflow and help you follow industry best practices for building quality software? This article shares four useful tools: Poetry, Pre-commit hooks, Makefiles, and python-dotenv.

10 We Have to Talk About Flask blog.miguelgrinberg.com

Flask recently released version 3.0, and Werkzeug also released version 3.0, but it introduced backward-incompatible changes! The author complains about Flask's recurring problem with incompatible versions, providing examples and analyzing the reasons. He urges the Flask core developers to avoid gratuitous refactoring and to think twice before making changes. (This article is written by the author of the book "Flask Web Development".)

11 Removing Watermarks from Images and Videos Using ProPainter juejin.cn

This article introduces the use of the ProPainter framework to solve the problem of removing watermarks from videos. It introduces a novel approach of dual-domain propagation and an efficient mask-guided video transformer, which enhance the performance of video restoration while maintaining computational efficiency and reducing costs.

12 Python Now Works in Google Sheets thenewstack.io

In August, Microsoft enabled Python support in Excel, and now a company called Neptyne has launched a product that brings Python functionality to Google Sheets. This article provides an overview of its features.

🎁 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

× 12
01 A Python Quiz Website python.jpglomot.com

A simple website with nearly a hundred multiple-choice questions, mostly related to Python's basic syntax. Come and test how much you've learned!

02 CardStock: A Cross-Platform GUI Building Tool github.com

It provides an editor similar to a drawing program for building graphical user interfaces, supporting elements such as text, graphics, images, buttons, input boxes, and web views; it provides a code editor that can add event-driven Python code.

03 python-package-template: Standardized Python package template github.com

It has built-in unit tests, code checking, formatting, package management, pre-commit configuration, Github Actions and many other convenient tools, which can be used to manage Python projects conveniently. (Contributed by @Undertone0809)

04 Pipeless: A Computer Vision Framework github.com

Easily build and deploy applications that can analyze and act on video streams in real time, without having to build and maintain a multimedia pipeline. Supports plugins, such as using Kafka to process events in real time, using YOLOv8 models, and more.

05 RealtimeSTT: A Powerful, Efficient, and Low-Latency Speech-to-Text Library github.com

It features advanced voice activity detection, wake word activation, and real-time transcription. The tech stack used includes: voice activity detection (WebRTCVAD, SileroVAD), speech-to-text (Faster Whisper), wake word detection (Porcupine).

06 Chrome-GPT: Controllable AutoGPT Proxy for Chrome github.com

It leverages Langchain and Selenium to empower the AutoGPT proxy with the ability to control a Chrome session. It supports interactively scrolling, clicking, and typing text on web pages, which makes it possible to navigate and manipulate web content. (1.4k stars)

07 ZenNotes: Windows Notepad with Translation and TTS Support github.com

A minimalistic Windows notepad application with translation, TTS, and Markdown support, built using PyQt-Fluent-Widgets.

08 kr8s: A client library for Kubernetes github.com

A simple and extensible Python client library for k8s, which should feel familiar if you've used kubectl.

09 swirl-search: AI-powered search across multiple data sources github.com

Search across multiple content sources and return AI-ranked results. Supports connections to databases (SQL, NoSQL, Google BigQuery), public data (Google, Arxiv), and enterprise data sources (Microsoft 365, Jira, Miro, and more).

10 sentry: Error tracking and performance monitoring platform for developers github.com

A powerful error tracking and performance monitoring platform that also supports features like scheduled job monitoring, code coverage, session replay, alerting, security policies, and more. Supports 100+ platforms and frameworks and 30+ programming languages. (35.4k stars)

11 15 Python mini projects github.com

This repository contains a collection of small Python projects and their implementation code, similar to the first share of this issue. (1k stars)

12 ssh-audit: SSH server and client security audits github.com

Audit the configuration of SSH servers and clients. Supports SSH1 and SSH2 protocols, Linux and Windows, and identifies security vulnerabilities, insecure keys, insecure algorithms, and provides security recommendations. Also has an online version. (2.6k stars)

🐢

Podcasts & Videos

× 2
01 Copenhagen 2023 Django Day talk videos youtube.com

Django Day is an event dedicated to the Django framework and the Django community, and there are currently 11 videos in the playlist.

02 Talk Python To Me #434: Building Mobile Apps Backed with Python talkpython.fm

Can Python be used to develop mobile apps? Is it possible to do end-to-end mobile app development with Python? This episode of the podcast features a conversation with a couple of mobile app developers about these topics.

ESC
↑↓ select · ↵ open175 issues