无聊的 Python:代码质量
原文: PyCoder's Weekly - Issue #558
- 230104 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
- 230104 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- 2022 年 Real Python 教程和视频课程总结
- REAL PYTHON
- PODCAST
“It’s been another year of changes at Real Python! The Real Python team has written, edited, curated, illustrated, and produced a mountain of Python material this year. We added some new members to the team, updated the site’s features, and created new styles of tutorials and video courses.”
(是也乎:
嘦认真,呈体系的搞, 任何教程都有市场...
)
- 对 Python 虚拟环境工作流程进行分类
- BRETT CANNON
This article discusses the various ways of creating and managing Python virtual environments, including what kinds of tools are used. It categorizes the different styles and describes the impacts of the choices you make on your workflow.
(是也乎:
结论非常社区化了还是要 EPE 来完成最终盖棺嘛? 不过, conda 已经将生意作起来了, 变成市场标准也是指日可待?
)
- 受损的 PyTorch-nightly 依赖链
- PYTORCH.ORG
The nightly PyTorch build was compromised between December 25 and 30th. This article describes what happened. Stable release branches were not effected. There is also an associated Hacker New Discussion.
(是也乎:
在此场景中如何使用 上游思维 来完成修补?
)
-
- PYPY.ORG
-
- NUMPY.ORG
-
- PYCON.DE
- • Shared by Olakunle Olaniyi
探讨/吐糟
Discussions
NIL
文章/教程/嗯哼
Articles, Tutorials and Talks
- 用 DALL·E 2 和 OpenAI API 生成图像
- REAL PYTHON
Learn to use the OpenAI Python library to create images with DALL·E, a state-of-the-art latent diffusion model. You’ll explore image creation and generating image variations. You’ll interact with DALL·E using API calls, and incorporate this functionality into your Python scripts.
(是也乎:
首先...
)
- Python 延迟导入的回归
- JAKE EDGE
PEP 690 proposes the ability to delay when modules are imported, possibly providing performance improvements. The PEP has gone through a series of versions and there has been much discussion of the consequences. This article gives the latest info on the proposal.
(是也乎:
WoW 进一步工程化又复杂化 Py 小宇宙的建议
)
- 关于房地产的失败机器学习项目
- ROBERT RITZ
“There aren’t enough failed data science projects out there. Usually, projects only show up in public if they work. I think that’s a shame. If we learn more from our successes than our failures, it makes sense to share more failures to help those around us.”
- 无聊的 Python:代码质量
- JAMES BENNETT
How to build, deploy, and manage Python applications in as “boring” a way as possible in order to maximize stability and reliability. Also, read the Hacker News Discussion associated with the article.
(是也乎:
当前的无聊,当初可都是高精尖...
)
- Python 中的状态模式
- AUTH0.COM
- • Shared by Robertino
Design patterns are conventional solutions to common challenges in software development. The State Machine pattern encapsulates the flow of change in a system. Learn to implement state patterns and finite state machines in Python.
(是也乎:
状态机, 为什么要从6行代码变成160行? 都是有讲儿的...
)
- 位操作:如何高效解决问题
- ANURAG VERMA
Storing data as bits can be very efficient and with the right operators you can do some amazing things quickly. This article introduces bitwise operations, bitmasking, and how to manipulate individual bits in a byte.
(是也乎:
位运算, 这在C 语言发明之前,都是常识, 现在...
)
- 为什么我还在使用 Python
- ERIC MATTHES
This opinion piece from Eric talks about how he started with Python and why he’s continued on the journey. There is also an associated Hacker News Discussion.
(是也乎:
嘦有对应岗位,没人拒绝的了这么可爱的语言日常吧...
)
- Python 3.11 中带有 str 或 int Mixin 的枚举重大更改
- ANŽE PEČAR
A change in how Python handles str and int mixins in Enum classes might break your code when you upgrade to Python 3.11. Read on to see the problem and how Python 3.11’s new Enum classes solve it.
(是也乎:
唉...
)
- Django 电子邮件/联系表单教程
- WILL VINCENT
Coding for email isn’t too bad, but sending it can be a challenge. This tutorial walk you through how to use the popular SendGrid service as your SMTP server.
(是也乎:
SendGrid 的硬广, 其实吧,直到今天商业化的可靠邮件发送功能依然是个大市场... 谁能以更加简单便宜的姿势协助企业发送邮件,谁就有生意. )
- 2022 年顶级 Python 库
- DESCOINS & LEZAMA
- • Shared by Mike McLeod
This is the eighth edition of Top Python Libraries from these folks, with an emphasis on data science and ML. Includes links to previous years lists as well.
(是也乎:
各种神奇好物值得逐一赏玩儿...
PS: 该实验室,从15年开始,每年评选出对应最佳模块,也值得回顾一下
)
- 用 Electron 和 Django 构建桌面应用程序
- IVAN YU
Electron allows you to build desktop applications using web stack technologies. This article shows you how to take a Django project and Electron-ify it.
(是也乎:
等等,现在已经有 Flet 了哪...
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- Quibbler: 交互式数据分析和可视化
- ROY KISHONY
- • Shared by Roy Kishony
(是也乎:
Niubility ... 可以动态化各种图表的自动交互化支持模块
)
- “MATLAB With Python” 电子书
- GITHUB.COM/ALDANIAL
- • Shared by Al Danial
(是也乎:
学术界之外可能对 MATLAB 无感, 可以这货当年就等于 IT 界...
)
- django-cities: Django 项目的城市和国家列表
- GITHUB.COM/CODERHOLIC
(是也乎:
当一个框架稳固后, 围绕着这个核心越来越多的实用插件市场才能兴起...
)
-
- GITHUB.COM/ELANMART
-
- GITHUB.COM/WIRESERVICE
(是也乎:
Documentation: https://csvkit.rtfd.org/
12年开始的项目... 可见 csv 多深的坑...
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
- January 4, 2023
-
- January 4, 2023
-
Weekly Real Python Office Hours Q&A (Virtual)
- January 4, 2023
-
- January 5, 2023
-
- January 10, 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