Python Trending Weekly
ISSUE 51

Creating Beautiful Charts with Python

2024-05-18 Season 2

TL;DR

Beautiful charts with Python, with the Python Graph Gallery as a ready-made goldmine; a PyPI package hides a Mac backdoor, and the slow death of TensorFlow sparks debate.

Articles 12 Projects 12
🦄

Articles & Tutorials

× 12
01 High-Impact Python Streamlit: Beautiful Interactive Maps and Charts johnloewen.substack.com

This tutorial uses streamlit + pandas + plotly to develop an interactive data visualization project, introducing dataset acquisition and detailed development steps.

High-Impact Python Streamlit: Beautiful Interactive Maps and Charts
02 I Never Use 'result' as a Variable Name blog.kyomind.tw

A short but powerful article explaining why you shouldn't use 'result' as a variable name. Though it's a small programming convention point, it's really common - I was guilty of this myself in my early career years.

03 Logging with Python and Loguru blog.pythonlibrary.org

Python has multiple logging libraries, and Loguru is currently the most popular third-party logging library, known for its ease of use. This tutorial starts from installation and gradually introduces its features, perfect for beginners. (Related: Comparing the 6 Most Popular Python Logging Libraries)

04 35 Django Technical Interview Questions learndjango.com

Many enterprise Python web projects use the Django framework. This article shares 35 Django interview questions from beginner to advanced levels with brief answers.

05 Python Sets Are Dictionaries Without Values mathspp.com

Set elements are hashable and non-duplicate content, similar to dictionary keys. The article simulates implementing set data structures using dictionaries without values, implementing various methods. Warning: completely impractical.

06 PyPI Package Backdoors Macs Using Sliver Penetration Testing Suite bleepingcomputer.com

Malicious packages on PyPI are getting sophisticated. The article mentions a library that hides Sliver binary files in PNG images, decoding the images and executing backdoor code when the OS installs the package.

07 Why TensorFlow Is Dying a Slow Death thenextweb.com

TensorFlow and PyTorch are two mainstream deep learning frameworks from Google and Facebook respectively. The former's popularity trend is being overtaken by the latter. The article analyzes several reasons for this phenomenon.

08 What Is Lazy Evaluation in Python? realpython.com

Lazy evaluation means computing values only when needed - on-demand calling. What are examples of lazy evaluation in Python? What are the benefits and drawbacks of this implementation?

09 Why Read Python Source Code? What Does Its Structure Look Like? mp.weixin.qq.com

This is the opening piece of the "Python 3.12 Source Code Analysis" series, introducing CPython source code project structure and basic components of the Python interpreter. The series plans to update 100+ articles, currently 5 free articles available.

10 My Top 10 Side Projects from 2014 medium.com

An article written in 2015 where the author shares 10 projects they developed, mainly in Python and C. The first project is a Minecraft clone written in C+Python with 10K GitHub stars. Other projects are also quite interesting.

My Top 10 Side Projects from 2014
11 How LLMs Work, Explained Without Math blog.miguelgrinberg.com

Large language models have become essential productivity tools for many people. Where does their intelligence come from? The article attempts to explain how LLMs work using simple terms and minimal Python code, without advanced mathematical knowledge.

12 The Alternative Implementation Problem pointersgonewild.com

The author discovered a common problem: languages like Python and Ruby have JIT implementations, but alternative implementations of these programming languages all face the challenge of keeping up with new features from official implementations and maintaining compatibility with new language specifications, leading to various limitations.

🐿️

Projects & Resources

× 12
01 The-Python-Graph-Gallery: Hundreds of Charts Made with Python github.com

This project is the source code for a website that collects numerous charts, charting tools, example code, and tutorial articles. (1.8K stars)

02 parler-tts: High-Quality TTS Model github.com

A lightweight text-to-speech (TTS) model that generates high-quality, natural-sounding speech based on a given speaker's style (gender, pitch, speaking style, etc.). Completely open source, including datasets, preprocessing code, training code, and weights. (2.6K stars)

03 UXsim: Vehicle Traffic Flow Simulator on Roads github.com

An open-source vehicle traffic simulator that draws vehicle movement trajectories and simulates traffic congestion. Uses matplotlib for visualization and provides an interactive GUI.

04 Quads: Quadtree-Based Computer Art github.com

Input a target image, and it cuts the image into quadrants, filling each quadrant with the average color of the original image. The final effect is quite cool. (1.2K stars)

Quads: Quadtree-Based Computer Art
05 bilibot: Local Chatbot Fine-tuned with Bilibili User Comments github.com

A chatbot fine-tuned based on Bilibili comments, supporting text chat and generating voice conversations for given questions through questions.txt. Based on Qwen1.5-32B-Chat model. (2.3K stars)

06 pyaction: Docker Container with Python, Git, and GitHub CLI github.com

This Docker image is designed to support implementing GitHub Actions using Python.

07 firecrawl: Turn Any Website into LLM-Ready Markdown github.com

Crawl any website content and convert it to clean markdown files usable for LLMs. No sitemap needed - crawls all accessible subpages and generates markdown for each page. (3.1K stars)

08 plotille: Plot in Terminal Using Braille Dots github.com

Plot graphs, scatter plots, histograms, and heatmaps in terminal using braille dots, foreground and background colors, with no external dependencies.

plotille: Plot in Terminal Using Braille Dots
09 petl: Python Extract, Transform and Load Data Tables github.com

A data processing tool that can convert JSON, CSV, Xlsx, XML, HTML files and write to MySQL, Postgres, S3, and other storage systems. (1.2K stars)

10 FunClip: Video Speech Recognition and Editing Tool with AI Editing Features github.com

An open-source video editing tool from Alibaba DAMO Academy that uses LLM for video editing, allowing free selection of text segments and speakers for editing based on speech recognition results. (1.7K stars)

11 map-machine: Python Renderer for OpenStreetMap github.com

OpenStreetMap is a worldwide free map project. map-machine can display the rich features of maps through custom icons.

12 IC-Light: Add Lighting Effects to Images github.com

Provides two types of models: text-to-lighting model and background-image-to-lighting model. Can add lighting effects that match the scene and light source direction to ordinary images. (3.1K stars)

ESC
↑↓ select · ↵ open175 issues