周刊
各种来源的…
background
世界高速变化
goal
定期 review 一周以来主要变化
trac
汇集各种渠道的周刊, 以及自己每周内省小结吧…
refer.
…TBD
各种来源的…
世界高速变化
定期 review 一周以来主要变化
汇集各种渠道的周刊, 以及自己每周内省小结吧…
…TBD
21 年 Django 开发者调查结果 原文: PyCoder’s Weekly - Issue #506 220105 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220105 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Gem: 探索式字符串替代 NED BATCHELDER Here’s a Python gem: a small bit of Python that uses the power of the language and standard library well. It’s a function to list strings generated by a pattern with embedded alternatives. It takes an input string with brace-wrapped possibilities, and generates all the strings made from making choices among them: explode("{Alice,Bob} ate a {banana,donut}.") (是也乎: 不是, 这项目名儿, 蹭 Ruby 的? ) 用 Django 构建社交网络 - 第 1 部分 REAL PYTHON In this four-part tutorial series, you’ll build a social network with Django to showcase in your portfolio. You’ll learn about relationships between Django models and how to use forms so that users can interact with your app. You’ll also make your site look good by using the Bulma CSS framework. (是也乎: 这插图有点儿马虎了 ) 通过构建自己的 Linter 来学习 Python ASTs TUSHAR SADHWANI • Shared by Tushar Sadhwani A guide to Abstract Syntax Trees in Python. They form the basis of a lot of tools we take for granted, like linters, code formatters and syntax highlighting. With this article you’ll get to learn about ASTs by building your own linter from scratch. (是也乎: 不是, ASTs 折腾明白了, 第一作品不应该是 DSL 嘛? ) urllib3 在 2021 年筹集到 15,000 美元 SETH MICHAEL LARSON 2021 年 Django 开发者调查结果 DJANGO SOFTWARE FOUNDATION (是也乎: 还有很多反直觉结果… ) 探讨/吐糟 Discussions ...
PyO3 ~ 被 Py 氧化的 Rust 原文: PyCoder’s Weekly - Issue #505 211229 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211229 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python Zip 导入: 快速分发模块和包 REAL PYTHON In this step-by-step tutorial, you’ll learn what Zip imports are and how to use them in Python. You’ll learn to create your own importable ZIP files and make them available for use. Finally, you’ll learn how to use the zipimport module to dynamically import code from ZIP files. (是也乎: 传统手工艺, 发布应用发行版 ) 用 Python 编写高速异步 HTTP 请求 JONLUCA DECARO Different formats and code snippets to make a large amount of network requests locally, with controls for rate limiting and error handling. Shortcut Provides Speedy Task Management, Reporting, and Collaboration for Software Teams Shortcut is project management built for developers. Whether you’re a startup that iterates quickly by providing every engineer with a free pallet of Red Bull, or a large org that has strict ship dates to hit, give us a try for free → SHORTCUTSPONSOR (是也乎: aiohttp 的硬广 ) 应该使用版本上限约束吗? HENRY SCHREINER • Shared by Henry Schreiner package>=7 vs package>=7,<8: Should you be adding upper bounds to dependency version constraints in Python packages? PEP 669: CPython 的低影响监控 PYTHON.ORG sing a profiler or debugger in CPython can have a severe impact on performance. Slowdowns by an order of magnitude are common. This PEP proposes an API for monitoring of Python programs running on CPython that will enable monitoring at low cost. 探讨/吐糟 Discussions ...
有 GC 的 LISP/436 字节 原文: PyCoder’s Weekly - Issue #504 211222 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211222 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 引发和处理 Python 异常 REAL PYTHON COURSE In this course, you’ll learn what an exception is and how it differs from a syntax error. You’ll learn about raising exceptions, making assertions, and catching exceptions to change the control flow of your program using the try, except, else, and finally keywords. (是也乎: ) 带有 GC 的 LISP,436 字节 JUSTINE TUNNEY This one isn’t about Python specifically, but worth a read because it’s so mindblowingly cool: A LISP interpreter that’s tiny enough to fit in a 512-byte master boot record. (是也乎: 淦…是的, 这世界总是会被 LISP 重写一下.. ) 用 Poetry 嗯哼依赖管理 REAL PYTHON Learn how Poetry will help you start new projects, maintain existing ones, and master dependency management. (是也乎: 叕一则硬广… ) 2022 年 Python 指导委员会选举结果 PYTHON.ORG 探讨/吐糟 Discussions ...
RIP:effbot/Fredrik Lundh 原文: PyCoder’s Weekly - Issue #503 211215 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211215 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 特性小回顾 BRETT CANNON “To help those who wish for the ‘good old days’ of some older Python version, I thought I would write down a bunch of the major language features that were added in Python in reverse chronological order. Start from top and work your way down until you come across a feature you aren’t willing to give up. The Python version which has that feature is the version you would be okay going back to.” (是也乎: 这几年 Python 中追加的特性是过去30年追加的总合还要多吧? ) 在 Heroku 上托管您的 Django 项目 REAL PYTHON COURSE In this course, you’ll learn how to host your Django project in the cloud for free and with little hassle. You’ll use Heroku, which takes the burden of infrastructure management off your shoulders. (是也乎: Heroku 真良心, 俺5年前部署的应用, 一直免费低频使用中, 除了唤醒时, 要等一下, 其它时刻都正常, 要知道是 Py 2.7.10 的脚本… 只是, 本身是闭源的, 规模运行时效能真比不上其它公有云, 作为 练习平台足够了 ) PyPI 用户反馈总结 PYTHON SOFTWARE FOUNDATION “The PSF conducted a series of three surveys to identify key user requirements that have not been addressed so far. We used this round of surveys to engage with the PyPI community and understand ways to support community needs better. This post summarizes the feedback we have received and key decisions we have made based on the feedback.” (是也乎: 注意: 使用 blogspot 发布. ) Python 核心开发者 Fredrik “effbot” Lundh 去世 GUIDO VAN ROSSUM “Fredrik was an early Python contributor (e.g. Elementtree and the re module) and his enthusiasm for the language and community were inspiring for all who encountered him or his work. He spent countless hours on comp.lang.python answering questions from newbies and advanced users alike.” (是也乎: 呜呼: PIL 创始人走了, 这算是白发人送黑发人嘛? Guido 老爹专门邮件悼念. R.I.P ) pytest-7.0.0rc1 预发行版 已推出 PYTEST.ORG Python in Visual Studio Code – December 2021 Release SAVANNAH OSTROWSKI (是也乎: 是的, 对 Python 2.7 有专门支持 ) 探讨/吐糟 Discussions ...