是的,俺对侬的开源贡献有意见...

原文: PyCoder's Weekly - Issue #534

pycoder

  • 220720 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
  • 220720 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.

How maintainable is your Python code? Is it possible to hold the code for your functions in your head? When is it appropriate to use measurements in a code review? This week on the show, Reka Horvath and Ben Martineau from Sourcery are here to discuss their recent PyCon talk, “Actionable insights vs ranking: How to use and how NOT to use code quality metrics.”

(是也乎:

PODCAST

其实, 如果不从小作品开始养成这种习惯, 到大团队, 基本上不可能适应, 或是推进类似品质管理

)

“unittest.TestCase.subTest was originally introduced in Python 3.4 as a lightweight mechanism for test parameterization; it allows you to mark a section of your test as a separate test in its own right using a context manager.” Learn all about sub-tests in both the unittest module and pytest.

(是也乎:

单元测试下, 还有一层测试...

)

When working with large amounts of data, using more than one CPU can lead to significant speed gains. Learn about various techniques that reduce data processing time by using multiprocessing, joblib, and tqdm.


探讨/吐糟

Discussions

(是也乎:

官方教程,官方教程,官方教程...以及拿自己以往作品, 改写过来, 最快乐...

)


文章/教程/嗯哼

Articles, Tutorials and Talks

In this video course, you’ll learn how to store and retrieve data using Python, SQLite, and SQLAlchemy as well as with flat files. Using SQLite with Python brings with it the additional benefit of accessing data with SQL. By adding SQLAlchemy, you can work with data in terms of objects and methods.

(是也乎:

SQLAlchemy

不过, 还是直写 SQL 最爽直

)

In this introduction to NumPy, you’ll learn how to find extreme values using the max() and maximum() functions. This includes finding the maximum element in an array or along a given axis of an array, as well as comparing two arrays to find the larger element in each index position.

(是也乎:

max

)

James Bennett weighs in on the Internet’s response to PyPI starting to roll out 2FA and in particular to Armin Ronacher’s Congratulations: We Now Have Opinions on Your Open Source Contributions

TOML is a configuration file format that’s becoming increasingly popular in the Python community. In this tutorial, you’ll learn the syntax of TOML and explore how you can work with TOML files in your own projects.

(是也乎:

汤小明的小巧明晰语言... 其实就是 GitHub 统治开发世界叕一个先锋...

TOML

网友们总结的好:

ini 太简单, json 太难编辑, yaml 太复杂, .py 或是其它太专有, 结果, TOML 就钻了这个空, 并根据这个配置格式, 在逐步统治各种语言和 k8s 生态...

)

Sometimes, it is difficult to determine what the original dependencies of a Python application are. Since version 7.1, pip has supported the use of a constraints file which can help solve this problem.

(是也乎:

已经在用 pip 21.x.x 了, 也从来没用过这一特性 )

The Django Admin is a powerful tool for quickly making changes to your data, but at scale it can require some tweaking. Learn what you can do to improve the performance of pagination in the admin.

(是也乎:

加速100倍, Wow

)

“Like tidying up a house before a total renovation, preparing your monolith is the first step towards transitioning to microservices.” Learn more about what you should do before you transition.

(是也乎:

不, 可以不迁移的 )

Learn how to build a heatmap diagram using the ClickHouse and QGIS libraries. The article includes step-by-step instructions for building a heatmap using CSV data.

(是也乎:

Heatmaps

)

Got some awesome PyGame you want to share with a Mac user? This post walks you through the ins-and-outs of using pyapp to ship to macOS.


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

感觉, 现在 Queus 不带 Redis 都是邪恶的?

)

(是也乎:

重载素, 可以在各种框架/模块中作用; PyCharm 配套插件, 也可以独立使用;

)


📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心


DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

ACM-O

(是也乎:

谈崩了, 之前通过 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



自怼圈/年度番新

DU22.4
关于 ~ DebugUself with DAMA ;-)
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:

追问

任何问题, 随时邮件提问可也:
askdama@googlegroups.com

-->