Best of PyCoder's 2022
原文: PyCoder's Weekly - Issue #557
- 221229 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
- 221229 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
It is that time of year again, everybody is making lists. Hopefully you weren’t on the “naughty” one. 2022 has seen a lot of change in tech, from the release of Python 3.11 to the sudden serge in Mastodon use, the world of Python has been busy.
本周时事通讯汇集了 2022 年最受欢迎的文章和项目; 也许你错过了其中哪篇,现在你值得有更多时间深入阅读.
Here’s to you, dear reader. Thanks for continuing to be with us at PyCoder’s Weekly. I’m sure 2023 will be just as wild. Speaking of 2023, if you come across something cool next year, an article or a project you think deserves some notice, send it to us and it might end up in a future issue.
Happy Pythoning!
— The PyCoder’s Weekly Team
Christopher Trudeau, Curator
Dan Bader, Editor
- Python 3.11: 很酷的新功能供您尝试
- REAL PYTHON
Python 3.11 is out! In this article, you’ll explore what Python 3.11 brings to the table. You’ll learn how Python 3.11 is the fastest and most user-friendly version of CPython yet, and learn about improvements to the typing system and to the asynchronous features of Python.
(是也乎:
)
- Python f-Strings 比你想象的更强大
- MARTIN HEINZ
- • Shared by Martin Heinz
Learn about the lesser-known features of Python’s f-strings, including date formatting, variable debugging, nested f-strings, and conditional formatting.
(是也乎:
和当初看到文章感觉一样,再好也别贫杯...
)
- 告别这些过时的 Python 库
- MARTIN HEINZ
- • Shared by Martin Heinz
It’s time to say goodbye to os.path, random, pytz, namedtuple and many more obsolete Python libraries. Start using the latest and greatest ones instead.
- Python 列表与元组比较
- CHETAN AMBI
Learn how list and tuple are similar and how they are different, including storage and speed differences and how to choose between them.
- 如何用 Python 编写用户友好的 CLI
- XIAOXU GAO
How to write user-friendly Command Line Interface applications and an overview of several of the popular CLI libraries: argparse, Click, Typer, Docopt, and Fire.
- Python 3.11 究竟在哪里获得加速?
- BESHR KAYALI
This deep dive into Python 3.11’s speed-up walks you through nine different optimizations that contribute to the 25% performance improvement in CPython.
(是也乎:
虽然其它语言优化加速的技巧无法直接复用在 Python, 但是,思路是相似的...何况 CPython 原先就留有很多余地...
)
- Python 的 “Functions” 有时是类
- TREY HUNNER
Ever use list() or enumerate()? Think of them as functions? They’re not, they’re classes. Sometimes we call classes functions in Python. Why? And what’s a “callable”?
- 在不耗尽内存的情况下处理大型 JSON 文件
- ITAMAR TURNER-TRAURING
Loading complete JSON files into Python can use too much memory, leading to slowness or crashes. The solution: process JSON data one chunk at a time.
(是也乎:
分而制之...
)
- Python 中的 Dunder 方法: 最丑陋又令人敬畏的酱汁
- JOHN LOCKWOOD
Double-underscore methods, also known as “dunder methods” or “magic methods” are an ugly way of bringing beauty to your code. Learn about constructors, repr, str, operator overloading, and getting your classes working with Python functions like len().
- 初探 PyScript : Web 浏览器中的 Python
- REAL PYTHON
In this tutorial, you’ll learn about PyScript, a new framework that allows for running Python in the web browser with few or no code modifications and excellent performance. You’ll leverage browser APIs and JavaScript libraries to build rich, highly interactive web applications with Python.
(是也乎:
)
- 在 Python 中构建一个 Alexa 等价物
- ANDREW HERSHY
It’s not as difficult as you think to build an AI program that listens to speech and answers questions. You can make the magic happen in an afternoon by leveraging a few Python packages and APIs.
(是也乎:
小扎,很早就自己在家折腾出了一个类似的
)
- 10 种模式来编写更简洁 Python
- ALEX OMEYER
Cleaner code is more focused, easier to read, easier to debug, and generally easier to maintain. This guide covers ten different patterns Python programmers should apply in their code.
- 足够有用的 Cython
- PETER BAUMGARTNER
Cython is a superset of of Python designed to give C-like performance. Ever wanted to learn the basics? This article shows you how to get started.
(是也乎:
问题在 Cython 和 CPython 世界没办法直接相通...
)
探讨/吐糟
Discussions
NIL
文章/教程/嗯哼
Articles, Tutorials and Talks
NIL
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
-
- ISAAK UCHAKAEV
-
- GITHUB.COM/AFIZS
-
awesome-python: Awesome Python Libraries and Resources
- GITHUB.COM/VINTA
(是也乎:
永远的经典热点...
)
-
BeeWare: Write Python, Run Everywhere Using Native UIs
- BEEWARE.ORG
-
Python Graph Gallery: A Collection of Hundreds of Charts Made With Python
- PYTHON-GRAPH-GALLERY.COM
-
Python f-Strings Number Formatting Cheat Sheet
- BRIANALLAN
-
190 Python Projects With Source Code
- AMAN KHARWAL
-
PyFlow: Visual and Modular Block Programing in Python
- GITHUB.COM/BYCELIUM
(是也乎:
嗯哼?介绍过好象... 这是工业级成人 Scratch ?
)
- pointers.py: Bringing the Hell of Pointers to Python
- GITHUB.COM/ZEROINTENSITY
(是也乎:
理由总是正义的:Why not?!
)
- konsole: Readable, Pleasing Console Output
- GITHUB.COM/APPAREBIT
- • Shared by Robert Grimm
(是也乎:
在手机变成人体外挂的年代, 真正工作时,还是终端看的最多... )
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
- December 28, 2022
-
- December 28, 2022
-
- December 29, 2022
-
- December 31, 2022
-
- December 31, 2022
-
Weekly Real Python Office Hours Q&A (Virtual)
- January 4, 2023
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
- Zoom.Quiet’s Chaos42 | Substack
- 古早:新闻组式写作
- 欢迎订阅
PS:
PPS:
不觉中蟒周刊快译已经到了第11个年头
开始有小伙伴加入承担 pythonisa
周刊的翻译,
从来没提醒过, 可就这么默默坚持下来了...
问为什么:
[皱眉]每周新闻资讯 怎么能错过
看看有什么新东西
当有新的发现时:
what f**k 还能这样玩? 还有这东西?
每周开彩蛋[吃瓜]
无法同意更多
...
很多社区贡献看起来辛苦,
其实受益最多的,
就是主动承担者也.
好文笔,感叹号年度配额: 2/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
Comments