zipapp 值得认真用卟?

原文: PyCoder's Weekly - Issue #497

pycoder

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

“The end result thus appears to be a GIL-removal effort that has a rather better-than-average chance of making it into the CPython interpreter. That would be cause for a lot of rejoicing among Python developers. That said, a change this fundamental is unlikely to be rushed into the CPython mainline; it will take a lot of testing to convince the community that it is ready for production use.”

(是也乎:

COOL, 不过, 等等, 为什么一定要可视化?

)

Django templates have many built-in tags and filters to render content, but they may not meet all your needs. This tutorial covers how to write Django custom template tags and filters, including simple tags, inclusion tags, block tags, and different types of filters.

(是也乎:

Templates

)

In this step-by-step tutorial, you’ll learn what Python Zip applications are and how to create them quickly using the zipapp module from the standard library. You’ll also learn some alternative tools you can use to build this kind of application manually.

(是也乎:

万千 VB 程序猿 最爱的 Python 模块了

zipapp

)

Python has the in operator and it would be nice to have additional infix operator like this. This recipe shows how (almost) arbitrary infix operators can be defined in vanilla Python: x |op| y or x <> y

(是也乎:

ACTIVESTATE 公司免费公开运营几十年的 Recipe 应该是最早最成功的贴吧以及QA 社区了

)

Do you know of a deserving individual who should be considered for a PSF Community Service Award? The PSF is accepting nominations for the Q4 2021 Community Service Award.


探讨/吐糟

Discussions


文章/教程/嗯哼

Articles, Tutorials and Talks

“I recently did a quick optimization pass over glyphsLib, using FunctionTrace to improve performance by ~30% in under half an hour. This is writeup of my approach, which should be mostly extensible to optimizing other codebases.”

In this introductory Python course, you’ll learn how to take user input from the keyboard with the built-in function input() and how to display output to the console with the built-in function print().

(是也乎:

course

)

Have you wanted to generate PDFs from your Python project? This week on the show, it’s Joris Schellekens talking about his library for creating and manipulating PDFs named borb.

(是也乎: podcast

borb 的广告已经嗯哼了两个月

)

“We’ve spent some time recently thinking about the future of Pyston, our faster implementation of Python, and wanted to share what’s on our mind.”

(是也乎:

老爹另启炉灶之后的 Pyston...

)

Pants is a software build system. It orchestrates the various tools and steps that process your source code into deployable software.

(是也乎:

新裤子乐队指定代言模块

)

Tzu-ping is a member of Python Packaging Authority (PyPA) and a maintainer of pip and pipx.

(是也乎:

其实还是并行化更加需要2一些? 反正就是越来越快, 最好不要消耗时间.

)

(是也乎:

覆盖测试工具自身的覆盖要求...

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

强测集

)

(是也乎:

structlog

足够可爱, 对终端有极高要求, windows 就囧了...

)

(是也乎:

反正能自动化的, 一定会自动化

)

(是也乎:

ELK 虽然好, 但是, 还是应该更加简洁些...

)

(是也乎:

Closember

不以 star 为荣, 而应该以关闭 issue 为耀

)


📆🐍 活动/大会

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

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

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


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


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

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