蠎周刊(PyCoder)572

Py 3.12 预览版: 更好的错误消息 原文: PyCoder’s Weekly - Issue #572 230412 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230412 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, Python 3.12 预览版: 更好的错误消息 REAL PYTHON Python 3.12 will be released in October 2023. In this tutorial, you’ll preview one of its upcoming features: even more precise error messages that’ll help you debug your code more efficiently. (是也乎: 差点儿看成 315 … ) Python Monorepo: 一个例子. 第 1 部分:结构和工具 DESFORGES & HURLIN Good build systems help teams, and a monorepo approach is an excellent way to do that. This article describes the structure and tooling of a monorepo for Python projects. Python 打包和有效的开发工具 HILLARD, SEQUEIRA, & BELDERBOS PODCAST Dane Hillard, author of “Publishing Python Packages” is interviewed about packaging and the rich ecosystem of Python tooling. PEP 684: “每个解释器的 GIL”接受ed PYTHON.ORG Python 3.11.3, Python 3.10.11 and 3.12.0 Alpha 7 发布 PYTHON.ORG 探讨/吐糟 Discussions ...

2023-04-12 · 5 min · 2026 words · ZoomQuiet

蠎周刊(PyCoder)571

PEP 582 (Python 本地包目录) 被拒绝 原文: PyCoder’s Weekly - Issue #571 230405 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230405 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 用 Graphs 在 Python 中构建迷宫求解器 REAL PYTHON In this step-by-step project, you’ll build a maze solver in Python using graph algorithms from the NetworkX library. Along the way, you’ll design a binary file format for the maze, represent it in an object-oriented way, and visualize the solution using scalable vector graphics (SVG). 如何进行精彩的大会演讲 SEBASTIAN WITOWSKI • Shared by Reka Sebastian has spoken at over 15 major Python conferences around the world. He also gave a workshop organized by the EuroPython conference for beginner speakers. Here, he shares lots of tips around topics related to speaking: from the CfP to the Q&A. (是也乎: 老话重谈…就像相声, 是值得反复打磨的, 不过, 优化的目的嫑忘记… 收集, 对比, 抽象我们自己看过所有技术分享中喜欢的就知道: 怎么说, PPT 如何组织, 多长时间, 声音/录像技术… 一切都不重要, 重要的是分享的内容是否有趣有用有种. ) 在 Python 中加速文本处理 (很难) ITAMAR TURNER-TRAURING If you need to speed up string parsing and formatting in Python you have many choices. This article covers the uses of Cython, mypyc, Rust, and PyPy and how to choose between them. Django 4.2 发布 DJANGO SOFTWARE FOUNDATION PEP 582 (Python 本地包目录) 被拒绝 PYTHON.ORG (是也乎: 这属于政治正确了…讨论了好几年… ) 想要举办 DjangoCon Europe 2024? DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2023-04-05 · 5 min · 2206 words · ZoomQuiet

蠎周刊(PyCoder)570

ChatGPT 中断 原文: PyCoder’s Weekly - Issue #570 230329 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 230329 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 四年 Python 编程的经验教训 REAL PYTHON PODCAST What are the core lessons you’ve learned along your Python development journey? What are key takeaways you would share with new users of the language? This week on the show, Duarte Oliveira e Carmo is here to discuss his recent talk, “Four Years of Python.” (是也乎: 意大利 PyCon 的背景故事… ) 用 Pydantic 进行数据建模、解析和验证 SAMEER SHUKLA • Shared by Sameer Shukla Pydantic is a Python library that provides data validation and settings management using Python type annotations. It allows developers to define a schema for their data, which includes the expected data types, default values, and validation rules. ChatGPT 中断: 这是发生了什么 OPENAI.COM On March 20th ChatGPT had an outage. It was caused by an asyncio redis-py client bug and also resulted in a data leak. Read more for details. (是也乎: 暗网的自觉行动? ) Docker 不再取消免费团队计划 DOCKER.COM (是也乎: 看来还得等等, 看看后真相是什么 ) GitHub 更新了他们的 RSA SSH 主机密钥 GITHUB The Python Package Index 发布了一个博客 PYPI.ORG Django 4.2 Release Candidate 1 发布 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions None ...

2023-03-29 · 4 min · 1932 words · ZoomQuiet

蠎周刊 PyCoder 569

如何评估包的质量Orz… 原文: PyCoder’s Weekly - Issue #569 230322 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 230322 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 如何评估 Python 包的质量 REAL PYTHON Just like you shouldn’t download any file from the Internet, you shouldn’t blindly install third-party Python packages without evaluating them first. This tutorial will give you the toolset to evaluate the quality of external Python packages before you implement them into your Python projects. (是也乎: 认真是一种气味儿, 很容易嗅到 ;-) Libraries.io - The Open Source Discovery Service 我们可能没办法构建出新工具, 但是, 我们可以专业的评定工具们. ) PyTorch 2.0 中新库更新 PYTORCH.ORG Learn what’s changed in the newly released PyTorch 2.0 library. Includes new data collectors, augmentation operators, vision features, and loads more. 惰性递归,带生成器 TUSHAR SADHWANI This article introduces your to mixing generators with recursion to improve memory usage. Includes a short snippet on using yield and yield from. (是也乎: 嗯哼? 就象 麦当劳奶昔配KFC辣鸡堡? ) 探讨/吐糟 Discussions ...

2023-03-22 · 5 min · 2268 words · ZoomQuiet