周刊
各种来源的…
background
世界高速变化
goal
定期 review 一周以来主要变化
trac
汇集各种渠道的周刊, 以及自己每周内省小结吧…
refer.
…TBD
各种来源的…
世界高速变化
定期 review 一周以来主要变化
汇集各种渠道的周刊, 以及自己每周内省小结吧…
…TBD
箴言之禅 原文: PyCoder’s Weekly - Issue #562 230201 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 230201 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 用 Apache Airflow 编排大型和小型项目 REAL PYTHON PODCAST Have you worked on a project that needed an orchestration tool? How do you define the workflow of an entire data pipeline or a messaging system with Python? This week on the show, Calvin Hendryx-Parker is back to talk about using Apache Airflow and orchestrating Python projects. (是也乎: 什么是编排? 为什么数据/消息的流通会变来变去? ) (是也乎: ) 为什么我喜欢 Nox HYNEK SCHLAWACK Both nox and tox are multi-environment testing tools. This opinion piece by Hynek compares and contrasts them and explains why increasingly he is using nox. (是也乎: 下一代更好的多系统测试工具应该叫 mox ) 模拟断开的数据库连接以在 Django 中进行测试 NEIL KAKKAR This article covers three different options for effectively testing Django database access and failure recovery when the database connection is not there. Bleach 6.0.0 发布和弃用 BLUESOCK.ORG Bleach is an HTML sanitizing library. 6.0 has been released, along with the announcement that the package is being deprecated. The library is dependent on html5lib which is no longer maintained, the maintainers of Bleach are giving notice that their package will stop being updated after a year. (是也乎: 代码好歹有 语法树, HTML 这东西怎么净化? 人家设计的就是可以乱来的 ) PEP 704: 默认需要虚拟环境 PYTHON.ORG (是也乎: 好象 Guido 退休后, PEP 增长加速了… ) 探讨/吐糟 Discussions ...
这些天你最喜欢的技术播客是什么? 原文: PyCoder’s Weekly - Issue #561 230125 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 230125 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 如何在 Python 中获取和使用当前时间 REAL PYTHON In this tutorial, you’ll be getting the current time in Python. You’ll get your hands on a datetime object that represents the current time. You’ll see how to format it according to international standards, and you’ll even check out how computers represent time. (是也乎: 这可是个古老又实用的问题 ) Property-Based Testing With Hypothesis and Pytest RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão This tutorial is a gentle guide to property-based testing. Property-based testing is a testing philosophy; a way of approaching testing that will bring you many benefits that other types of testing don’t give you. 使用持续分析提升 Python 性能 MARTIN HEINZ Learn how to use Grafana Phlare and continuous profiling to discover bottlenecks in you code and boost the performance of your Python applications CircleCI 安全事件:轮换你的密钥 TECHCRUNCH.COM CircleCI says hackers stole encryption keys and customers’ secrets. 探讨/吐糟 Discussions ...
PEP 703:将GIL变成一个开关选项 原文: PyCoder’s Weekly - Issue #560 230118 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 230118 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. PEP 703: 在 CPython 中使 GIL 可选 PYTHON.ORG This PEP proposes changes to the CPython build process that would allow you to build a GIL-less interpreter. This kind of interpreter would not be ABI compatible with the GIL-based one, and the programmer would become responsible for some locking situations in C-extensions. If implemented, this would lead the way to being able to operate without the GIL in cases where backward compatibility issues are not important. (是也乎: 嗯哼? 就象 Rust 中的 unsafe ? ) Python 中的原型污染 ABDULRAHEEM KHALED Prototype pollution is a particular attack in JavaScript where the base Prototype object is modified having wide ranging effects. Unfortunately, similar things can be accomplished in Python by messing with class.base. Read on for details. (是也乎: Py 内部黑魔法, 如果不是撞上罕见问题一定要用这种解决方案, 一般没事别折腾… ) 从 2022 年最流行的 Python 教程和课程中学习 REAL PYTHON Revisit some of your favorite Real Python tutorials and video courses from 2022. It’s been a busy year, with new materials on topics ranging from the basics to web development, machine learning, effective coding environments, and more. (是也乎: 去年构建的最受欢迎的一系列结构化教程 ) Python 3.12.0 Alpha 4 发布 CPYTHON DEV BLOG 探讨/吐糟 Discussions ...
从头构建SQL引擎 原文: PyCoder’s Weekly - Issue #559 230111 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 230111 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 发现 bpython: 具有类似 IDE 功能的 Python REPL REAL PYTHON In this tutorial, you’ll learn about bpython, an alternative Python REPL that brings code suggestions and many other IDE-like features to the terminal. Once you discover how much bpython can improve your productivity, you’ll never want to return to using the vanilla Python REPL again. (是也乎: 知道 bpython 也有小15年了… 没想到还在发展; ) Python 3.12 能用 perf 工程 PETER MCCONNELL Python 3.12 can run in a special mode that allows Python functions to appear in the output of the Linux perf profiler. This article walks you through a dummy application and using the profiler to find the bad parts. 使用原生二进制文件打包 PYPACKAGING-NATIVE.GITHUB.IO The pypackaging-native site is a collection of content about key Python packaging topics and issues for projects using native code, with a focus on scientific, data science, and ML/AI projects in the PyData ecosystem. Pillow 9.4.0 发布 PILLOW.READTHEDOCS.IO (是也乎: 原名 PIL 现在是真的变成不可替代的核心常用模块了… ) Plone 6.0 发布 PLONE.ORG (是也乎: 等等 Plone 还活着? ) Django Bugfix 发布: 4.1.5 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...