PythonHub Logo Python Hub Weekly Digest for 2025-03-23

This week in Python, popular topics included the Pydoll library for automating chromium-based browsers, alternatives to Python's "break" statement, and the FlowDec neural full-band audio codec. There was also an interesting article on isolating Python and Jupyter using firejail. In terms of projects, ShortsMaker, a package for creating short videos, and smart-turn, an audio turn detection model, were highlighted. Articles covered topics ranging from using LLMs for code writing to automating sentiment analysis with Diffbot's Knowledge Graph. Have a great week and happy coding!

💖 Most Popular

I didn't want to go, but PyCharm finally drove me into the arms of VSCode, after 5+ years.

Pydoll
Pydoll is a library for automating chromium-based browsers without a WebDriver, offering realistic interactions. It supports Python's asynchronous features, enhancing performance and enabling event capturing and simultaneous web scraping.

Alternatives to Python's "break" statement
Python's break statement is handy for breaking out of a loop. But break statements can often be ...

FlowDec
An neural full-band audio codec for general audio sampled at 48 kHz with 7.5 kps or 4.5 kbps.

Isolating Python and Jupyter using firejail
This article outlines a method for running isolated Python processes using Firejail, ensuring they can only access a specified project directory and limiting network access. The setup involves creating a virtual environment, installing packages with temporary internet access, and running Jupyter Notebooks via a Unix socket to maintain isolation.


📖 Articles

ASK HN: How to engineer a JavaScript to Python migration?

landing-ai / vision-agent
Vision agent

Here’s how I use LLMs to help me write code
This post shares practical tips for using LLMs to write code effectively, emphasizing that it's not always easy and requires managing context, setting expectations, and thorough testing. The author suggests thinking of LLMs as over-confident, lightning-fast pair programming assistants and provides a detailed example of building a tool with Claude Code.

12 Must-Know Python Built-in Functions
Explore 12 of the most interesting and useful built-in functions, with examples, gotchas, and a few nerdy details you may not be aware of.

jixiaozhong / Sonic
Official implementation of "Sonic: Shifting Focus to Global Audio Perception in Portrait Animation"

Building Google Docs with Python, JavaScript, CKEditor, Google Login, and more.
Learn how to build a Google Docs-like platform with real-time collaboration, modern authentication using Google OAuth, and rich text editing via CKEditor. It covers production-ready configurations, database setup, and secure user management, emphasizing a balance between a stable backend and a cutting-edge frontend.

Creating static map images with OpenStreetMap, Web Mercator, and Pillow
This post details how to create static maps with points overlaid using OpenStreetMap tiles and Pillow, bypassing complex data visualization libraries for a simpler, more understandable approach. It provides Python code for downloading map tiles and converting lat/lon coordinates to pixel positions for drawing points on the map.

Automating and Responding to Sentiment Analysis with Diffbot's Knowledge Graph
This article demonstrates how to use Diffbot's Knowledge Graph API to automate sentiment analysis of news articles, specifically targeting negative mentions of a product (Xbox). It outlines the process of designing a DQL query, writing Python code to fetch results, and automating the entire workflow using Pipedream to receive weekly email reports.

Using Python to Measure Immigration Trends
This post uses Python and the American Community Survey (ACS) data to analyze immigration trends in Great Neck, NY, revealing a shift from Iranian to Chinese immigrants and a significant increase in the "Asian alone" population between 2009 and 2023. The author provides code for others to analyze immigration in their own hometowns.

Online Python Compiler with Libraries

agno-agi / agno
Build Multimodal AI Agents with memory, knowledge and tools. Simple, fast and model-agnostic.

Python Hub Weekly Digest for 2025-03-16


⚙️ Projects

ShortsMaker
ShortsMaker is a Python package designed to facilitate the creation of engaging short videos or social media clips. It leverages a variety of external services and libraries to streamline the process of generating, processing, and uploading short content.

smart-turn
This is an open source, community-driven, native audio turn detection model.

dapr-agents
Build autonomous, resilient and observable AI agents with built-in workflow orchestration, security, statefulness and telemetry.



← Previous Next →

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