This tutorial uses streamlit + pandas + plotly to develop an interactive data visualization project, introducing dataset acquisition and detailed development steps.
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.
This tutorial uses streamlit + pandas + plotly to develop an interactive data visualization project, introducing dataset acquisition and detailed development steps.
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.
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)
Many enterprise Python web projects use the Django framework. This article shares 35 Django interview questions from beginner to advanced levels with brief answers.
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.
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.
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.
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?
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.
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.
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.
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.
This project is the source code for a website that collects numerous charts, charting tools, example code, and tutorial articles. (1.8K stars)
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)
An open-source vehicle traffic simulator that draws vehicle movement trajectories and simulates traffic congestion. Uses matplotlib for visualization and provides an interactive GUI.
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)
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)
This Docker image is designed to support implementing GitHub Actions using Python.
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)
Plot graphs, scatter plots, histograms, and heatmaps in terminal using braille dots, foreground and background colors, with no external dependencies.
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)
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)
OpenStreetMap is a worldwide free map project. map-machine can display the rich features of maps through custom icons.
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)