和 Guido 一起讨论加速 Python

原文: PyCoder's Weekly - Issue #498

pycoder

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

Interesting read about the strange world of Python, as used by big investment banks: “Bank Python implementations are effectively proprietary forks of the entire Python ecosystem which are in use at many (but not all) of the biggest investment banks.”

“Python 3.9.8 got released this week! At this point in the 3.9 lifecycle this should be a relatively uneventful release. Instead, it took us a few days of work to get it out of the door. I still managed to squeeze in 51 closed PRs and even organized a meeting between the core developers and Daan Leijen, the author of mimalloc.”

Follow along this step-by-step project to create a to-do application for your command line using Python and Typer. While you build this app, you’ll learn the basics of Typer, a modern and versatile library for building command-line interfaces (CLI).

(是也乎:

Typer Typer ~ CLI 版 FastAPI, 值得享用.

)

“The PSF launched its end-of-the-year fundraiser. There are two ways to donate: 1. donate directly to the PSF or 2. purchase a discounted PyCharm license, with all proceeds going to the PSF. Contributing to the PSF financially helps sustain programs that support the larger Python community.”


探讨/吐糟

Discussions

(是也乎:

这对面试非常重要哪...

)

(是也乎:

差之毫厘,失之千里...

)


文章/教程/嗯哼

Articles, Tutorials and Talks

Are you getting the most out of the Django framework? It’s a powerful web framework if you’re not interested in reinventing the wheel. Django includes a useful template system with inheritance for composing reusable HTML. This week on the show, Real Python author Christopher Trudeau shares his Django tips and tricks.

(是也乎:

podcast

)

In this project-based tutorial, you’ll build a content aggregator from scratch with Python and Django. Using custom management commands, feedparser, and django-apscheduler, you’ll set up an app to periodically parse RSS feeds for Python podcasts and display the latest episodes to your users.

(是也乎:

Aggregator

用 Django 构造一个节目发布网站.

)

“This episode is the first of several that dive into some of the active efforts to increase the speed of Python while maintaining compatibility with existing code and packages. Who better to help kick this off than Guido van Rossum and Mark Shannon?”

(是也乎:

Guido

Links from the show

Guido van Rossum: @gvanrossum

Faster Python Plan: github.com/faster-cpython

The “Shannon Plan”: github.com/markshannon

Watch this episode on YouTube: youtube.com

Episode transcripts: Episode #339 Making Python Faster with Guido and Mark - [Talk Python To Me Podcast]

)

In this course, you’ll learn how to create scatter plots in Python, which are a key part of many data visualization applications. You’ll get an introduction to plt.scatter(), a versatile function in the Matplotlib module for creating scatter plots.

(是也乎:

scatter

)

A new kind of cyber threat has come to light recently: software supply chain attacks. While rare, they have massive impacts. This article describes the most common attacks in the Python ecosystem and gives hints on how to prevent them.

(是也乎:

高端话题, 一般还是确保链路上都是靠谱开源项目就好, 这也是为什么 Django 越来越大的原因吧

)

With this Understand Django article, you’ll learn about commands. Commands are the way to execute scripts that interact with your Django app. Learn about built-in commands and how to build your own.

(是也乎:

值得是个系列了, 关键看目标领域任务, 理解到什么程度足够就怼.

)

A high-level overview of managing dependencies in a Python project, why there’s more than one way to do it and what are the tradeoffs between them.

(是也乎:

好东西就是要自推荐;

这种依赖, 没有充足理由 -> 嫑动

)

“This document explains possible ways to misuse Unicode to write Python programs that appear to do something else than they actually do.”


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

pyheat

赞哪, Openresty 那种运行时 火焰图 的进一步优化:

直接对应使用代码行的用时分析了...

)

(是也乎:

angle

面向郎读编程?

这种将自然英文自动转化为 JS 的开发语言, 毫无使用场景哪, 即便是常用语法可读了, 可真正调用的各种框架可都是不可读函式名呢...

)

(是也乎:

加速计划成果之一?

)

(是也乎:

cog

所以, Python 是万能胶水

)

(是也乎:

Django 当年也是号称敏捷的, 现在要工具来加速部署了...

)


📆🐍 活动/大会

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

(是也乎:

向前编码的女性?

)


DAMA

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

(是也乎:

老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:

Bilibili

)


PS:

PPS:

不觉中蟒周刊快译已经到了第9个年头

去年开始有小伙伴加入承担 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


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...

任何问题

随时邮件提问可也:
askdama@googlegroups.com

-->