原文: PyCoder's Weekly - Issue #579
230531 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄.
230531 Zoom.Quiet(大妈) 用时 37 分钟 完成快译,
REAL PYTHON
In this tutorial, you’ll learn what a callable is in Python and how to create callable instances using the .call() special method in your custom classes. You’ll also code several examples of practical use cases for callable instances in Python.
(是也乎:
)
REDOWAN DELOWAR
“Typically, Django allows sorting a queryset by any attribute on the model or related to it in either ascending or descending order. However, what if you need to sort the queryset following a custom sequence of attribute values?”
[Python Decorators and How to Use Them Effectively
Python 装饰器以及如何有效地使用它们](https://pycoders.com/link/10897/web) + TONIE VICTOR
This article covers the importance and use of decorators in your code. It introduces you to both function and class decorators and helps you write your own.
PYPI.ORG
In March and April 2023, PyPI received three subpoenas for user data from the US Department of Justice. This blog post covers what was requested and how the PyPI is working to clarify what they retain and can make available in the future. See the associated Hacker News discussion.
(是也乎:
美国司法部...
没被司法部关怀过的语言,不是世界级语言?
)
CPYTHON DEV BLOG
PYPI.ORG
探讨/吐糟
Discussions
HACKER NEWS
(是也乎:
开始愿意说废话...
)
文章/教程/嗯哼
Articles, Tutorials and Talks
[Writing Python Like It’s Rust
像写 Rust 一样写 Python](https://pycoders.com/link/10869/web) + JAKUB BERANEK
This blog post from Jakub talks about how writing code in Rust has informed a more rigorous approach to his Python. He now uses types more frequently, absorbing the strictness of Rust in his Python coding style. Associated Hacker News conversation
(是也乎:
结合之后编程类型和心态, 就知道, 有益, 但是, 有限度...
)
[Publishing Python Packages to PyPI
将 Python 包发布到 PyPI](https://pycoders.com/link/10877/web) + REAL PYTHON + COURSE
In this video course, you’ll learn how to create a Python package for your project and how to publish it to PyPI, the Python Package Repository. Quickly get up to speed on everything from naming your package to configuring it using setup.cfg.
(是也乎:
从最初随行上, 到现在越来越复杂的配置, PyPI 已经到了关键门槛...
)
REAL PYTHON
COURSE
In this video course, you’ll learn all about the k-nearest neighbors (kNN) algorithm in Python, including how to implement kNN from scratch. Once you understand how kNN works, you’ll use scikit-learn to facilitate your coding process.
(是也乎:
)
DAVID HANSSON
David expounds on why we should appreciate the features of other languages and how they enable the creativity of their developers, even if we don’t like those features ourselves.
(是也乎:
关键看疗效以及给多少了...
)
ARJUN MAHISHI
• Shared by Prathamesh
Including a Golang package in Python using Gopy: A simple way to leverage the power of Golang packages in Python applications.
(是也乎:
海王梗
)
ITAMAR TURNER-TRAURING
CSV, JSON, Parquet — which data format should you use for your Pandas data? Itamar compares them and makes recommendations.
(是也乎:
Parquet 专用格式? 不过, 最好还是有个驱动可以直接和 Pg 们互通?
)
ANURAG VERMA
In this article, you learn about bit manipulation and how to solve problems efficiently using it in Python.
(是也乎:
也分场景, 多数面对字符串的操作, 位运算使不上力 )
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
GITHUB.COM/HAKANCELIKDEV
• Shared by Hakan Çelik
(是也乎:
实用哪...不过好象 black 已经包含这个功能了, 问题在, 有时只是暂时不用, 随时可能打开, 以便配套对应新代码...
)
ChatSQL: 通过 ChatGPT 将纯文本转换为 SQL
GITHUB.COM/ADEMAKDOGAN
• Shared by Adem AKDOGAN
[pyserde: Dataclass Based Serialization Library
pyserde:基于数据类的序列化库](https://pycoders.com/link/10884/web) + GITHUB.COM/YUKINARIT
pyscan: 基于 Rust 的 Python 依赖漏洞扫描器
GITHUB.COM/ASWINNNN
(是也乎:
好吧, 反正这种需要反复大深度探查的事儿,Rust 正好擅长
)
GITHUB.COM/MICROSOFT
(是也乎:
提示词快速变成了 DSL ...所以, 编程还是得学习的, 不然根本无法跟上 AI 对话技巧...
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
May 29 to June 3, 2023
Weekly Real Python Office Hours Q&A (Virtual)
May 31, 2023
June 1, 2023
June 2 to June 5, 2023
June 3 to June 4, 2023
历史上的这周
2022: 蠎周刊 PyCoder 527
2021: 蠎周刊 474
2020: 蠎周刊 421
2019: 蠎周刊 370
2018: 蠎加载 177
2017: 蠎加载 126
2016: 蠎加载 75
2015: 蠎周刊 168
2014: Issue 117
2013: 空缺
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
VLog
恢复各种嗯哼...
Zoom.Quiet’s Chaos42 | Substack
古早:新闻组式写作
欢迎订阅, 包含当前周刊
播客:小宇宙
收集各种嗯哼...
_~^-^~_
\/ / ♡ ◷ \ \/
'_ ⏝ _'
( '-----' <
...act by ferris-actor v0.2.4 (built on 23.0303.201916)
PS:
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.
PPS:
不觉中蟒周刊快译已经到了第10+2个年头
开始有小伙伴加入承担 pythonisa
周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了...
问为什么:
[皱眉]每周新闻资讯 怎么能错过
看看有什么新东西
当有新的发现时:
what f**k 还能这样玩? 还有这东西?
每周开彩蛋[吃瓜]
无法同意更多
... 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.
所以++> 锈周刊 -> Weekly :: China
好文笔,感叹号年度配额: 2/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG
)