蠎周刊(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

PyCoder 568

22年 Django 开发者调查报告来了 原文: PyCoder’s Weekly - Issue #568 230315 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 230315 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 用 BeeWare 跨平台共享你的 Python 应用程序 REAL PYTHON PODCAST Are you interested in deploying your Python project everywhere? This week on the show, Russell Keith-Magee, founder and maintainer of the BeeWare project, returns. Russell shares recent updates to Briefcase, a tool that converts a Python application into native installers on macOS, Windows, Linux, and mobile devices. (是也乎: ) Python Asyncio 任务的开销 WILL MCGUGAN The Textual library uses a lot of asyncio tasks. In order to determine whether to spend time optimizing them, Will measured the cost of creating asyncio tasks. TLDR; optimize something else. This article also spawned a conversation on Hacker News. Julia 和 Python 更好地结合 BOGUMIŁ KAMIŃSKI Julia is a popular programming language among data scientists, but if you ever code in that space and miss some of the key Python libraries, this article is for you. Julia packages can wrap other languages, so you can have the best of both worlds. (是也乎: 原先不是说要超越的? 现在就在一起了? ) Python 3.12.0 Alpha 6 发布 CPYTHON DEV BLOG 2022 年 Django 开发者调查结果可用 DJANGO SOFTWARE FOUNDATION (是也乎: 是的, Django 开发者已经是 web 应用代表了, Flask 不是… 比较有趣的是最后的联系网络入口…有微信呢. ) 探讨/吐糟 Discussions ...

2023-03-15 · 4 min · 1991 words · ZoomQuiet