跳转至

641-650

Issue #641 Setuptools Deprecation, Installable Django Apps, Flask, and More Aug. 6, 2024

1

Issue #642 Testing with nox, Async Iterators, Log Propagation, and More Aug. 13, 2024

把f-string一般化,可以用来做DSL,有点意思

Cite

The Trouble With all
This post talks about the all attribute and how it declares the public interface to a module, but does not enforce access. CAELEAN BARNES

使用一个第三方库Tach进行校验

Issue #643 Scrapy Extensions, REST APIs, Django Sub-Commands, and More Aug. 20, 2024

包给一个命名空间,可以避免命名冲突,语义也更好,感觉是个挺好的提议

Issue #644 Astrophysics, pyproject.toml, Query Languages, and More Aug. 27, 2024

Cite

10 Python Programming Optimization Techniques
Optimization should be your last step, but once you’re there, just what can you do? This article covers ten different techniques that address memory size and code performance. JAMES ONONIWU

用struct打包等一些小技巧

Cite

uv: Unified Python Packaging
A new release of of uv is out and it has added a lot of features. This post talks about what is new and how it can simplify your packaging process. SIMON WILLISON

发布了一系列眼花缭乱的新功能

Issue #645 Astronomy, Language Summit, Built-ins, and More Sept. 3, 2024

Cite

What’s New in pip 24.2
In version 24.2, pip learns to use system certificates by default, receives a handful of optimizations, and deprecates legacy (setup.py develop) editable installations. This article covers the changes and why they’ve been made. RICHARD SI

pip的一些更新,很好,我用poetry

Issue #646 Pydantic, PSF Office Hours, Polars, and More Sept. 10, 2024

创建表格

Issue #647 NumPy where(), Python & R, HTTP Clients, and More Sept. 17, 2024

1

Cite

Improved print Readability With pprint
The pretty print module (pprint) provides more readable output for complex data structures and this post shows you how to use the library and what you can get out of it. JUHA-MATTI SANTALA

更好的输出格式

Cite

Switching From pyenv to uv
Will has recently switched from using a variety of packaging tools to just using uv. This post is a summary of what needed to change when going from pyenv to uv. WILL KAHN-GREENE

https://github.com/astral-sh/ruff 考虑试用一下

Issue #648 Python 3.13, Rust Extensions, doctest, and More Sept. 24, 2024

Cite

LightAPI: Lightweight API Framework
GITHUB.COM/IKLOBATO

适合小型项目和验证原型开发

Issue #649 Python 3.13, pdb, Django Project Ideas, and More Oct. 1, 2024

Cite

Debug With pdb and breakpoint()
Python ships with a command-line based debugger called pdb. To set a breakpoint, you call the breakpoint() function in your code. This post introduces you to pdb and debugging from the command-line. JUHA-MATTI SANTALA

pudb

Cite

Python 3.13 Preview: A Modern REPL
In this tutorial, you’ll explore one of Python 3.13’s new features: a new and modern interactive interpreter, also known as a REPL. REAL PYTHON

终于可以直接输入exit不用exit()了,每次用都bb一次

Issue #650 Immutable Types, DuckDB & Pyodide, Free Threaded, and More Oct. 8, 2024

Cite

PEP 759: External Wheel Hosting
This Python Enhancement Proposal specifies a mechanism by which projects hosted on pypi.org can safely host wheel artifacts on external sites other than PyPI. PYTHON.ORG

外部wheel文件托管pep

Cite

spiderweb: A Small Web Framework
GITHUB.COM/ITSTHEJOKER

1

评论