Twisted 22.1.0 发布...
原文: PyCoder's Weekly - Issue #512
- 220217 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
- 220217 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- 文档 Unit Tests
- SIMON WILLISON
Interesting approach to keeping documentation and code in sync: introspecting the code to figure out what needs to be documented, then parsing the documentation to see if each item has been covered.
- 改善您的 Django 和 Python 开发者体验
- REAL PYTHON
- PODCAST
How often have you thought about your Developer Experience (DX)? How do you improve your workflow, find documentation, and simplify code formatting? This week on the show, Adam Johnson is here to talk about his new book, “Boost Your Django DX.”
(是也乎:
UX 重要, 还是 DX 重要?
)
- Python’s zipfile: 有效地操作 ZIP 文件
- REAL PYTHON
In this guided tutorial, you’ll learn how to manipulate ZIP files using Python’s zipfile module from the standard library. Through hands-on examples, you’ll learn how to read, write, compress, and extract files from your ZIP files quickly.
(是也乎:
)
- PEP 673: 自我类型已接受
- PYTHON.ORG
This PEP introduces a simple and intuitive way to annotate methods that return an instance of their class. This behaves the same as the TypeVar-based approach specified in PEP 484 but is more concise and easier to follow. Related Twitter thread by core dev Raymond Hettinger.
- Twisted 22.1.0 发布
- TWISTEDMATRIX.COM
Twisted, the event framework for internet applications, has announced the release of 22.1.0. Mainly a bugfix release.
(是也乎:
淦.... 还在稳定升级, 超长寿 巨型模块... )
- Django 项目用 Black 重新格式化整个代码库
- GITHUB.COM/DJANGO
Related discussion on Hacker News.
(是也乎:
淦...够卷的... 这是想用
)
探讨/吐糟
Discussions
- Python 类型提示指南
- HACKER NEWS
Are type-hints overused? Discussion on if sometimes they’re too much.
- 你最近在工作中使用 Python 自动化了什么?
From mouse-wiggling scripts to make Teams look active to RNC automation.
(是也乎:
这个可以有哪...
)
文章/教程/嗯哼
Articles, Tutorials and Talks
- 即将推出的 Python PEPs
- MARTIN HEINZ
“These PEPs are a great way of getting the freshest info about what might be included in the upcoming Python releases. So, in this article we will go over all the proposals that are going to bring some exciting new Python features in a near future!”
- Python 中的 K-Nearest
- NIK PIEPENBREIER
- • Shared by Nik Piepenbreier
A beginner-friendly guide to the K-Nearest Neighbor algorithm implemented in Python using Scikit-Learn. The tutorial assumes no prior knowledge of machine learning and guides through developing a classifier, evaluating its performance, and hyper-parameter tuning.
- Python’s all(): 检查迭代的真实性
- REAL PYTHON
Learn how to use Python’s all() function to check if all the items in an iterable are truthy. You’ll also code various examples that showcase a few interesting use cases of all() and highlight how you can use this function in Python.
(是也乎:
)
- 如何在 Python 中检查数字是否同时为素数
- JASON BROWNLEE
“The ProcessPoolExecutor class in Python can be used to check if multiple numbers are prime at the same time. This can dramatically speed-up your program compared to checking if numbers are prime, one-by-one.”
- 作为数据科学家进行测试的方式
- PETER BAUMGARTNER
“Knowing what to test requires some experience in knowing what can go wrong.” Peter describes testing with a Data Scientist’s perspective.
- Python 中的结构子类型
- REDOWAN DELOWAR
- • Shared by Redowan Delowar
Along with nominal typing, Protocol classes now allow you to take advantage of structural subyping in Python. This post explores that.
- 如何对 Python 对象腌制和反腌制
- MOHAMMAD WASEEM
Learn how to serialize and deserialize data in Python with the pickle module, including working with serialization in Pandas.
(是也乎:
除非对象非常非常固定, 否则, 能序列化到数据库中, 是最稳的;
)
- Python 切片综合指南
- BAS STEINS
Introduction to slicing in Python, covers slices, negative indexes, slice(), and how to make your own classes slice-able.
- Python Logging 的来龙去脉
- CESAR URIBE
- • Shared by Erin McLaughlin
A multi-part guide to using logging in Python. The fundamental concepts are discussed and illustrated with simple examples.
(是也乎:
魔鬼在细节 )
- 链接比较运算符
- RODRIGO GIRÃO SERRÃO
“Learn the ins and outs of comparison operator chaining, and especially the cases you should avoid.”
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- Django REST Framework 备忘录
- CDRF.CO
(是也乎:
DRF 作弊条...
)
- PaddleOCR: 基于 PaddlePaddle 的多语言 OCR 工具包
- GITHUB.COM/PADDLEPADDLE
(是也乎:
终于有个支持亚洲文字的 OCR 了...
)
- pytube: 用于下载 YouTube 视频的无依赖 Python 库
- GITHUB.COM/PYTUBE
(是也乎:
youtube-dl
之后, 叕一个想彻底解决 视频下载问题的工具...
)
- YT-Spammer-Purge: 按用户在 YouTube 上的评论进行扫描和删除
- GITHUB.COM/THIOJOE
(是也乎:
anti-spam 叕一作品
)
- plane-notify: 通知飞机起飞或降落
- GITHUB.COM/JXCK-S
(是也乎:
逼疯 Musk 的系统开源了?
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
⋅ Dominican Republic Python User Group
- February 15 to February 16, 2022
-
- February 16 to February 19, 2022
-
- February 17, 2022
-
- February 22 to February 23, 2022
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
- Zoom.Quiet’s Chaos42 | Substack
- 古早:新闻组式写作
- 欢迎订阅
PS:
PPS:
不觉中蟒周刊快译已经到了第10个年头
去年开始有小伙伴加入承担 pythonisa
周刊的翻译,
从来没提醒过, 可就这么默默坚持下来了...
问为什么:
[皱眉]每周新闻资讯 怎么能错过
看看有什么新东西
当有新的发现时:
what f**k 还能这样玩? 还有这东西?
每周开彩蛋[吃瓜]
无法同意更多
...
很多社区贡献看起来辛苦,
其实受益最多的,
就是主动承担者也.
好文笔,感叹号年度配额: 1/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
Comments