5个有趣的 Python 模块

原文: PyCoder's Weekly - Issue #431


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

In this tutorial, several Real Python authors share Python packages we like to use as alternatives to modules in the standard library. You’ll get to know a number of useful packages, including pudb, requests, parse, dateutil, and typer.



typer 是 FastAPI 的 CLI 包装,太帅了. 而且可以无缝使用 Click 的所有嗯哼.


To abstract or not to abstract. Is that the question?


走神?抽象? 又是 OOP 的伪装.


Django does a lot to protect applications from cross-site scripting (XSS) attacks, but it isn’t perfect. Learn about 7 ways that Django is still vulnerable and how to protect Django applications from XSS attacks.

The creator of the websockets library shares pain points encountered and lessons learned while porting websockets to a Sans-I/O design.

After a fling with TypeScript, one Python programmer shares some thoughts on keeping the flame alive with Python.


一位 TypeScript 程序猿的 Pythonic 向往.


Python 3.9.0b5, the last beta before 3.9.0, is also available.

One woman’s passion and dedication have helped transform PyLadies in Ghana, leading to over 500 women joining the organization.


通过 PyLadies 活动, 引导 500+ 女士 皈依了 Python.




I guess that depends on what you mean by “interesting”…


R 语言的梗世界...


It’s mainly about the execution model.


老梗了... )

What are some of your favorite modules?


wikipedia · PyPI ~ 不存在网站的叕一个友好包装;

emoji · PyPI ~ 对 emoji 的双向翻译.

turtle ~ 内建的教育用模块,但是不仅仅...

PyDictionary · PyPI ~ 真正的字典...释义/同义/反义/...都有, 当然 english only

arrow · PyPI ~ 真正对人友好的时间/日期操作库



Articles, Tutorials and Talks

Forget about your shiny new frameworks. Welcome to the Real World™.

There’s a lot going on behind that syntactic sugar!


这种语法糖一定包含非常多内幕, 毕竟是在稳定内核上的多余扩展. )

In this step-by-step tutorial, you’ll learn all about one of the most exciting areas of research in the field of machine learning: generative adversarial networks. You’ll learn the basics of how GANs are structured and trained before implementing your own generative model using PyTorch.



PyTorch 的广告


More than you ever wanted to know about women’s tops at Goodwill. Check out the accompanying Jupyter notebook.

In this course, you’ll learn about the NoneType object None, which acts as the null in Python. This object represents emptiness, and you can use it to mark default parameters and even show when you have no result. None is a tool for doing everything with nothing!



没有 Lua 的 NIL 来的利.


Efficiently processing large amounts of web traffic can be a difficult problem to solve. Learn how one team met their requirements using Redis queues.


嗯哼? 200TPS 这种性能值得讨论嘛?


A virtual event takes just as much planning to pull together, and even more communication with presenters and sponsors than you might expect.

Would you like to clearly understand what’s happening when you use the Python import keyword? Do you want to use modules more effectively to structure your code? Or maybe you’re ready to move to the next level with your Django project by adding user management. This week on the show, David Amos is back with another batch of PyCoder’s Weekly articles and projects.





Interesting Projects, Tools and Libraries, Projects & Code


扒代码为论文公式. 这种反操作需要的.



反正什么时新, Py 立即对应撸一堆. )


叕一个 GUI 框架, 基于 Qt 的魔改.




支持这些渠道: Pushover, SimplePush, Slack, Gmail, Email (SMTP), Telegram, Gitter, Pushbullet, Join, Hipchat, Zulip, Twilio, Pagerduty, Mailgun, PopcornNotify, StatusPage.io





📆🐍 活动/大会

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



GDG珠海/疫情之下在线学习/片段/学习吐糟/fm.101.camp 蟒营™电台 钩陈各种值得探讨




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

101camp11py 已开始报名



    报名截止 2020.08.23
    正式开课 2020.08.30
    课程结束 2020.10.11

详情 => 蟒营™ Python 入门班第11


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



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


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

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

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

NN 4089




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

订阅 substack 体验古早写作:

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


**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 扫描预约入群, 学员每满 42 人即启动新一期训练营 ;-)
  • 101camp22.7
  • + 任何问题, 随时邮件提问可也: