611-620¶
Issue #611 Time, Markov Chains, Top Libraries, and More Jan. 9, 2024¶
Cite
Don’t Use Python’s @property
A quick opinion piece on the over-use of the @property decorator and how it can lead to misunderstandings in your code.
JAMES BENNETT
可能会有风险,但是一般情况下问题不大,只要别在property里面做太多骚操作就好
Issue #612 Python & Excel, JIT, NumPy 2, and More Jan. 16, 2024¶
Cite
Python 3.13 Gets a JIT
This article does a deeper dive into the JIT recently added to the CPython 3.13 pre-release. This JIT is a bit different, it is called a copy-and-patch JIT, and the post explains what that means.
ANTHONY SHAW
JIT编译,提高性能大概2%~9%,是后续一系列优化的基石
Cite
NumPy 2 Is Coming: Preventing Breakage, Updating Your Code
NumPy 2 is coming, and it’s backwards incompatible. Learn how to keep your code from breaking, and how to upgrade.
ITAMAR TURNER-TRAURING
说了有不兼容的更新,没说有哪些
Cite
SQLALchemy vs Django ORM
If you are working with Django ORM most of the time and then switching to SQLAlchemy, you may face some unexpected behavior. This post describes the most important differences between them.
ALEXEY EVSEEV
一些差异
Cite
max() is broken
The built-in function max in Python is broken and this article explains why, drawing parallels with other programming and mathematics concepts.
MATHSPP.COM • Shared by Rodrigo Girão Serrão
讨论了max、min函数和其他的一些数学函数的行为不一致,是个有趣的话题
Issue #613 Packaging, Air-Gapped Systems, Logging in Flask, and More Jan. 23, 2024¶
Cite
提案加一个语法糖,f(x=)
等价于f(x=x)
,这样就可以省略一些重复的代码了
Issue #614 Tic-Tac-Toe with AI, LRU Caches, Debugging, and More Jan. 30, 2024¶
Cite
unidep: Unified Pip and Conda Dependency Management
GITHUB.COM/BASNIJHOLT
pip+conda封装
Issue #615 Python Packaging Tools, Enumerations, Debugging Tips, and More Feb. 6, 2024¶
Cite
Boring Python: Dependency Management
How to set up dependency management for Python projects in a “boring” way, meaning using standard, well-established tools to minimize surprises. It recommends using pip, virtualenv, and pip-tools to define dependencies, isolate environments, and track the full dependency tree.
JAMES BENNETT
没什么用
Issue #616 Data Analysis, Lukasz Langa, Polars, and More Feb. 13, 2024¶
Cite
Inside .git
Julia is at it again, doing a deep dive on how things work. This post shows you everything inside your .git directory and what its all there for.
JULIA EVANS
介绍了一下.git文件夹的结构
Cite
toolong: A TUI to View, Tail, Merge, and Search Log Files
GITHUB.COM/TEXTUALIZE
看起来挺好的,可以查看日志,比tail好用
Cite
Inspira: A Lightweight Framework for Web Applications
GITHUB.COM/CICEKHAYRI • Shared by Hayri Cicek
一看这项目结构 有点像Django的精简版
├── main.py
├── src
│ ├── __init__.py
│ ├── controller
│ │ └── __init__.py
│ ├── model
│ │ └── __init__.py
│ ├── repository
│ │ └── __init__.py
│ └── service
│ └── __init__.py
└── tests
└── __init__.py
Issue #617 uv, Conway's Game of Life, Polars Strings, and More Feb. 20, 2024¶
Cite
uv: Python Packaging in Rust
uv is an extremely fast Python package installer and resolver, designed as a drop-in alternative to pip and pip-tools. This post introduces you to uv and shows some of its performance numbers. Associated HN discussion.
CHARLIE MARSH
说速度很快,没说用起来怎么样,等生态再成熟再看
Cite
Python 3.13.0 Alpha 4 Is Now Available
CPYTHON DEV BLOG
Alpha预计要发6个版本
Cite
PEP 742: Narrowing Types With TypeIs
This Python Enhancement Proposal (PEP) “proposes a new special form, TypeIs, to allow annotating functions that can be used to narrow the type of a value, similar to the builtin isinstance(). Unlike the existing typing.TypeGuard special form, TypeIs can narrow the type in both the if and else branches of a conditional.”
PYTHON
TypeIs和TypeGuard,TypeGuard也没用过
Cite
Six Months With GitHub Copilot
Richard has been coding with GitHub Copilot over the past six months, and he’s steadily seen it improve his productivity. Learn how it has changed his coding process.
RICHARD LI
一些使用Copilot的体验
Issue #618 Composable Systems, Flask-Musk, 10 Years of Wagtail, and More Feb. 27, 2024¶
Cite
temporian: Library for Preprocessing Temporal Data
GITHUB.COM/GOOGLE
处理时间序列的库
Cite
sqlite-web: Web-Based SQLite Database Browser
GITHUB.COM/COLEIFER
sqlite的web版软件,可以看数据库和基本的操作
Issue #619 Duck Typing, IPython Jupyter Magic, Monkey Patching, and More March 5, 2024¶
Cite
What’s in a Name?
An article about names in Python, and why they’re not the same as objects. The article discusses reference counts and namespaces.
STEPHEN GRUPPETTA • Shared by Stephen Gruppetta
1
Issue #620 Celery, Context Managers, Data Wrangling, and More March 12, 2024¶
Cite
poltergeist: Rust-Like Error Handling in Python
GITHUB.COM/ALEXANDERMALYGA
大傻春你要干什么!