How can you optimize Jupyter Notebooks to reduce token consumption and usage costs for large language models? The author achieved a 94% cost reduction by excluding useless data from .ipynb files, such as base64-encoded images and metadata.
TL;DR
DeepSeek-R1 debuts as an open-source model rivaling OpenAI-o1, ByteDance open-sources the UI-TARS GUI agent model, and urllib3 looks back on its year.
Articles & Tutorials
× 12A 2024 summary of the urllib3 project. Key highlights include receiving financial support from multiple channels, progress on HTTP/2 and WASM support, and vulnerabilities fixed with LaunchDarkly sponsorship.
The article shares programming learning resources, including articles, videos, and books covering mathematics/statistics, machine learning, AI frameworks, and data analysis.
The author embedded a Python interpreter into Rust's test executor using PyO3. The article covers the implementation process, including compiling Python from source, executing Python code with PyO3, and handling complex and dynamic types.
There are three main ways to install Python distributions on Windows, each with limitations that don't meet modern use cases. This PEP proposes a unified Windows installation workflow that addresses the limitations of existing processes.
How can you turn Emacs into a powerful Python development environment? The author provides detailed coverage of useful plugins and configurations for code intelligence, code checking and static analysis, debugging, and environment management, demonstrating specific usage and sharing personal insights on tool selection.
What are the best practices and techniques for handling GB-sized large files in Python? How can you avoid memory errors, improve speed, and optimize resource usage? The article shares 10 file processing methods and some useful file processing libraries.
Last year, the author analyzed which build backends were used in open source projects' pyproject.toml files. This year's analysis with optimized statistics shows the top contenders remain: setuptools, poetry, hatching, and flit.
Introduces how to implement log context propagation in Python ASGI applications, enabling logs to automatically carry relevant context information (such as user ID and platform type). Uses contextvars custom log formatters and implements logging middleware to automatically tag log messages.
This PEP proposes a mechanism allowing Python packages to install certain optional dependencies by default when extras aren't explicitly specified, providing default installation solutions for recommended but non-essential dependencies and multi-backend/frontend support scenarios.
How do you draw national flags using the Turtle library? How do you solve problems with complex graphics, coordinate transformations, Bézier curves, and style parsing? The article shares techniques for Turtle graphics drawing and SVG parsing with impressive results.
The author shares tools and processes used in software development, covering local development environments, server configuration, development tools, backend and frontend tech stacks, and software architecture approaches.
Projects & Resources
× 12DeepSeek's first-generation reasoning model that performs comparably to OpenAI-o1 on math, code, and reasoning tasks. Fully open source, also includes 6 models distilled from Llama and Qwen. (2.4K stars)
An agile information mining tool that leverages large models' thinking and analysis capabilities to precisely extract specific information from various sources, automatically categorizing and uploading to databases. Currently supports 4 information sources: websites, RSS, search engines, and WeChat public accounts. (5.7K stars)
A self-hosted habit tracking app that doesn't set goals.
Write email templates using Markdown syntax, automatically convert to HTML and generate emails. Uses Premailer to inline CSS styles and seamlessly integrates with django-templated-email.
A TUI application that simplifies systemd management, providing fuzzy search, auto-refresh preview, intelligent sudo handling, and fully customizable panels for both advanced users and newcomers.
A gaming website developed with Python Flask that supports playing against 118 chess engines from CCRL (Computer Chess Rating Lists).
A minimalist Python web framework providing routing, session management, WSGI support, and Jinja2 template rendering.
An IDE designed for large-scale concurrency with extremely low memory footprint, excellent performance, and efficient handling of massive concurrent connections. Supports MacOS and Linux, Windows support pending. (1.7K stars)
A vision-large-model-driven GUI agent capable of seamlessly interacting with graphical user interfaces with human-like perception, reasoning, and action capabilities, achieving end-to-end task automation without predefined workflows or manual rules. (1.2K stars)
Alibaba's open source LLM benchmark testing task containing 680 queries across four real-world scenarios, covering over 1373 web pages.
An open source framework supporting development from simple LLM calls to complex compositional workflows and autonomous agents, supporting single-agent and multi-agent collaboration, and Model Context Protocol (MCP).
A website dedicated to Python data visualization tools, featuring various open source visualization tools, tutorials on using these tools, and examples of using visualization tools to study domain-specific problems.