dataclasses 值得使用
原文: PyCoder's Weekly - Issue #543
- 220921 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
- 220921 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- 在 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.
- Python SQLite 文档案例增补
- REDOWAN DELOWAR
- • Shared by Redowan Delowar
The official documentation of Python’s sqlite3 module is a little short on examples. This article lists various in-depth examples that cover the most commonly used APIs in the module.
(是也乎:
反正还是直接 SQL 最标准了...
)
- 自定义 Python 列表: 从列表继承与 UserList
- REAL PYTHON
In this tutorial, you’ll learn how to create custom list-like classes in Python by inheriting from the built-in list class or by subclassing UserList from the collections module.
(是也乎:
)
- Python 3.11.0rc2 发布
- PYTHON.ORG
探讨/吐糟
Discussions
- Python 懒导入
- LWN.NET
A short article discussing PEP 690 which proposes support for lazy imports in Python, followed by an in-depth discussion by the LWN community.
- 你读过的最好的源代码是什么?
- HACKER NEWS
(是也乎:
redis 总是被这么提及...
)
文章/教程/嗯哼
Articles, Tutorials and Talks
- Django Favicon 指北
- MICHAEL YIN
Favicons are the little icons you see in your browser tabs. Your web browser looks in very specific places for these icons, and different browsers expect different file names and types. This article runs you through two different ways of getting favicons working in your Django web project.
(是也乎:
AccordBox 创始人, 人在中国的工程师...
)
- Python 基础/条件逻辑和控制流
- REAL PYTHON
- COURSE
In this Python Basics video course, you’ll learn how use conditional logic to write programs that perform different actions based on different conditions. Paired with functions and loops, conditional logic allows you to write complex programs that can handle many different situations.
(是也乎:
Python 基础 是真蟒集团明星好书.
)
- Meta 剥离 PyTorch 基金会
- BENJ EDWARDS
PyTorch is a popular open-source deep-learning framework originally created by Meta/Facebook. Meta has announced that it is creating an independent organization called the PyTorch Foundation that will operate as part of the Linux Foundation, making the framework vendor-neutral.
(是也乎:
Fb 的 PyTorch 是对抗 Google 关键武器...
)
- 应该知道的 Python 字典操作
- JACOB FERUS
The dict is one of the basic data structures in Python. It is truly at the core of Python and is used everywhere. This article runs you through some common operations on dictionaries, including initialization, merging, comprehensions, and more.
- 如何在 Python 中替换字符串
- REAL PYTHON
In this tutorial, you’ll learn how to remove or replace a string or substring. You’ll go from the basic string method .replace() all the way up to a multi-layer regex pattern using the sub() function from Python’s re module.
(是也乎:
)
- 用 Python 解释访问控制的演变
- ADAM BUGGIA
- • Shared by Adam Buggia
Sometimes writing code can help you explore and understand concepts. This article shows a history of access controls in software using Python scripts to re-implement the ideas.
(是也乎:
是的, 将事儿作完的结果, 一般都是: 类似: XACML - Wikipedia 一种 DSL 的发布.
)
- 为什么你应该在 Python 中使用数据类
- GIULIANO PERTILE
- • Shared by Giuliano Pertile
Know what a Data Class is? Do you know how to use one? Know the differences from regular classes? This article answers these questions and more.
(是也乎:
dataclasses
内建模块呢...
)
- Python 依赖管理的迷宫
- NICOLAS FRÄNKEL
This article gives an overview of how dependencies are handled within virtual environments and what you can do when transitive dependencies are in conflict.
(是也乎:
迷之依赖...
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- simplerecon: 没用卷积的 3D 重建
- GITHUB.COM/NIANTICLABS
(是也乎:
直接根据普通照片完成 3D 建模以及对象识别...
)
-
django-imagekit: Django 的自动图像处理
- GITHUB.COM/MATTHEWWITHANM
-
s3sqlite: 用 S3fs 在 S3 中查询 SQLite 文件
- GITHUB.COM/LITEMENTS
(是也乎:
淦...这不等于...
)
- Python 数据可视化食谱
- DYLANCASTILLO.CO
(是也乎:
注意了, 为什么只列了这 4个可视化框架?
)
- chard: Django 异步/等待任务队列
- GITHUB.COM/DRPANCAKE
(是也乎:
经过10多年折腾, Django 终于变成默认标准了
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
- September 21 to September 26, 2022
-
An Applied Introduction to Finite State Machines
- September 21, 2022
-
Weekly Real Python Office Hours Q&A (Virtual)
- September 21, 2022
-
- September 24 to September 25, 2022
-
Webinar: Writing REST With Django and Ninja
- September 27, 2022, 11AM EDT
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
- Zoom.Quiet’s Chaos42 | Substack
- 古早:新闻组式写作
- 欢迎订阅
(是也乎:
谈崩了, 之前通过 ACM 会员可以每年 $25 享受 O'REILLY 在线图书馆服务...现在没了
)
PS:
PPS:
不觉中蟒周刊快译已经到了第11个年头
开始有小伙伴加入承担 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