4000 个徦模块在 PyPI

原文: PyCoder's Weekly - Issue #463

pycoder

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

Recently, a PyPI user going by the name “Remind Supply Chain Risks” uploaded nearly 4000 fake modules to the index, many of which were named as common misspellings of popular packages. Learn about the incident in this article, and read all the way to the end for four tips every Python developer should follow.

(是也乎:

Fake News
Fake Modules
Fake People
Fake ...

PyPI

)

See how dropbox migrated their internal systems from a monolith architecture to something more service-oriented without disrupting their users while also minimizing the operation cost that typically comes with owning a service.

(是也乎:

Dropbox 的奇幻想之旅

monolith )

Datadog’s Continuous Profiler allows you to find the most resource-consuming parts in your production code all the time, at any scale, with minimal overhead. Improve MTTR, enhance user experience and reduce cloud provider costs with Datadog APM. Start troubleshooting your Python apps today →

(是也乎:

良心赞助商.

)

Learn how to restrict your web pages to users with different roles through Django view authorization. You’ll learn about HttpRequest.user objects, view decorators that authenticate, and how to notify your users with the Django messages framework.

(是也乎:

Authorization

)

Django 3.2 is just around the corner and it’s packed with new features. Django versions are usually not that exciting — and that’s a good thing — but this time many features were added to the ORM.

(是也乎:

是的, 没什么特性比增强 ORM 要来的兴奋/实用

)

In the near future, you’ll be able to store project metadata in pyproject.toml.

(是也乎:

从 yaml 开始, 现在 toml 也转正了, 世界终究回到了 ML 的手中...

)

Test it out today and take structural pattern matching for a spin!


探讨/吐糟

Discussions

Seemingly trivial choices in programming language design can lead to pretty surprising results. If you like time complexity, check out the research paper behind the discussion.

(是也乎:

C# 会不高兴的.

)


文章/教程/嗯哼

Articles, Tutorials and Talks

Learn how to create oscillators using Python as a foundation for creating your own software synthesizers. This article is one of a three-part series. The other articles cover modulators and controllers.

(是也乎:

电子管时代的艺术创作, 在晶体管时代, 用代码来模拟

)

Learn several ways to remove a column from a pandas DataFrame and take a peek at how column deletion works under the hood.

Have you wanted to get your Python code to consume data from web-based APIs? Maybe you’ve dabbled with the requests package, but you don’t know what steps to take next. This week on the show, David Amos is back, and he’s brought another batch of PyCoder’s Weekly articles and projects.

(是也乎:

podcast

)

Could you find an initial state for Conway’s Game of Life that, after a few iterations, displays the Mona Lisa?

(是也乎:

Conway’s

其实, 可以演化出任何你想要的图形

)

Some discussion crept up this week among core developers about adding an arrow operator for simplifying lambda functions. No plans have been made yet for a PEP, but some developers acknowledged some benefits of the idea.

(是也乎:

理性上, 形式并不重要, 重要的应该是编译出来的中间代码效率; 可现实中, 形式大过一切.

)

The folks at Monadical love Django, and they’ve put together a list of some of their favorite packages.

The Real Python Podcast just reached a major milestone: its fiftieth episode! In this article, you’ll look at some of the awesome guests we’ve had and topics we’ve covered, and you’ll get a preview of the exciting things happening in the future.

(是也乎:

Podcast

无论什么事儿,一但沉迷进去很容易坚持下来的

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

dgl

有认真设计 Logo 的

Deep

大杂烩.

)

(是也乎:

对 Signals 的超越.

)

(是也乎:

独步天下的 Django ORM 也只能配合 独步天下的专用增强

)

(是也乎:

Canonet G-III QL17

真机...

)


📆🐍 活动/大会

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

(是也乎:

即便是线上的, 一样收费.

)

(是也乎:

以色列, 全球创新热点地区...

)

(是也乎:

反正很早都上 油管了, 随时可以 review, 当然, 这个随时, 随时了很多年都没刷光.

)


DAMA

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

(是也乎:

独创 logging + debug 模块

)

(是也乎:

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

Bilibili

)

(是也乎:

私人初体验, 现在 http/https 资源混用浏览器越来越傲娇了, 最好有工具可以统一迁移...

)


PS:


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

投稿/反馈邮箱:

askdama@googlegroups.com

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


ZoomQuiet/大妈

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

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

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

NN 4313

RPP


Comments



自怼圈/年度番新

DU21.4
关于 ~ DebugUself with DAMA ;-)

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

追问

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