原文: PyCoder's Weekly - Issue #561


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

In this tutorial, you’ll be getting the current time in Python. You’ll get your hands on a datetime object that represents the current time. You’ll see how to format it according to international standards, and you’ll even check out how computers represent time.





This tutorial is a gentle guide to property-based testing. Property-based testing is a testing philosophy; a way of approaching testing that will bring you many benefits that other types of testing don’t give you.

Learn how to use Grafana Phlare and continuous profiling to discover bottlenecks in you code and boost the performance of your Python applications

CircleCI says hackers stole encryption keys and customers’ secrets.







Articles, Tutorials and Talks

This article shows step-by-step instructions on how to use pandas and pygris to analyze geographical data. The example uses the LODES (LEHD Origin-Destination Employment Statistics) data set, a synthetic data set with US Census block and job workplace data, to map the commute flow to Apple headquarters in Cupertino, California.

In this Code Conversation video course, you’ll learn how to use the terminal on macOS. You’ll navigate the file system with Philipp and Martin and perform common tasks like creating files and folders. If you’ve never used the terminal before, then this video course will help you get started.



为什么是 macOS ?


Pipenv keeps hashes of installed projects to help protect from supply chain attacks. Something interesting happened though when a project didn’t change version numbers but did change hashes, learn just what the edge case was and how it complicated build repeatability.

Three weeks ago Jeremy started writing a mini-blog posting each day about a Python one-liner. This week’s theme is vector and matrix processing. Last week was on text processing.


又一个单行系列: One a Day One Liners with Python by JeremyFromEarth | Python in Plain English

One a Day One Liners with Python — Week 2 | by Jeremy Brown | Jan, 2023 | Python in Plain English

One a Day One Liners with Python — Week 3 | by Jeremy Brown | Jan, 2023 | Python in Plain English

One a Day One Liners with Python — Week 4 | by Jeremy Brown | Jan, 2023 | Medium


This is a curated list of software and architecture design patterns. It has language specific sections as well as general architecture sections such as cloud, big data, devops, IOT, serverless, micro-services, and more.


Awesome 系列已经成为经典品牌了...


This opinion piece by David Aaron Nicholson gives some great advice about how to name and structure your packages. Life lessons learned by coming across modules that weren’t so elegantly structured.

Single Page Applications (SPA) often use passed tokens for authenticated pages. This article shows you how to use Django’s session based auth mechanism in conjunction with an SPA.


Django 已经是事实上的默认选择了?


This article shows you how to run automated tests on your PySpark code using the pytest. It delves into some of the pitfalls and how to make your tests performant.

A journey to the world of Python packaging, a visit to the competition, a hopeful look at the future, and highlights from a disappointing discussion.


和其它语言生态对比, PyPI 的确有点儿乱, 好在一直在改进...


Polars is an alternative to Pandas than can often run faster—and use less memory! This article shows you how to go from Pandas to Polars.


Interesting Projects, Tools and Libraries, Projects & Code


纯 Rust 实现的 Python 工具; 通过 pip 标准安装



为了性能将 C/C++ 混合到工程中... 另外 Rust 社区也开始了各种增强 Py web 框架的嗯哼...




Tk 是个好框架, 终于还是有了现代化改进...


📆🐍 活动/大会

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


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


Happy Pythoning!

Copyright © 2023 PyCoder’s Weekly, All rights reserved.



开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了...


[皱眉]每周新闻资讯 怎么能错过 
    what f**k 还能这样玩? 还有这东西?

无法同意更多... 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.

好文笔,感叹号年度配额: 0/3



(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)


大妈的多重宇宙 - YouTube

点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack

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


**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也: