周刊
各种来源的…
background
世界高速变化
goal
定期 review 一周以来主要变化
trac
汇集各种渠道的周刊, 以及自己每周内省小结吧…
refer.
…TBD
各种来源的…
世界高速变化
定期 review 一周以来主要变化
汇集各种渠道的周刊, 以及自己每周内省小结吧…
…TBD
是的,俺对侬的开源贡献有意见… 原文: PyCoder’s Weekly - Issue #534 220720 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220720 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 衡量代码质量/简单性和可维护性 REAL PYTHON PODCAST How maintainable is your Python code? Is it possible to hold the code for your functions in your head? When is it appropriate to use measurements in a code review? This week on the show, Reka Horvath and Ben Martineau from Sourcery are here to discuss their recent PyCon talk, “Actionable insights vs ranking: How to use and how NOT to use code quality metrics.” (是也乎: 其实, 如果不从小作品开始养成这种习惯, 到大团队, 基本上不可能适应, 或是推进类似品质管理 ) Subtests 在 Python PAUL GANSSLE “unittest.TestCase.subTest was originally introduced in Python 3.4 as a lightweight mechanism for test parameterization; it allows you to mark a section of your test as a separate test in its own right using a context manager.” Learn all about sub-tests in both the unittest module and pytest. (是也乎: 单元测试下, 还有一层测试… ) 在 Python 中并行处理大文件 ABID ALI AWAN When working with large amounts of data, using more than one CPU can lead to significant speed gains. Learn about various techniques that reduce data processing time by using multiprocessing, joblib, and tqdm. Python 3.11.0b4 发布 PYTHON.ORG 探讨/吐糟 Discussions ...
Python 3.11 发布可能被延迟 原文: PyCoder’s Weekly - Issue #533 220713 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220713 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 3.11 预览: TOML 和 tomllib REAL PYTHON Python 3.11 will be released in the fall of 2022. In this tutorial, you’ll install the latest beta release of Python 3.11 in order to preview the new tomllib module that’s added to the standard library. You’ll also explore some of the static typing enhancements that are coming. (是也乎: 淦…看来 TOML 是真的立住了 ) 用 Django 和 Angular 构建渐进式 Web 应用程序 ROB ALFORD • Shared by Rob Alford In this two-part article series, you’ll learn how to build a Progressive Web Application (and a fun trivia game) with Django and the Django Rest Framework for the backend API, and Angular for the frontend interface. (是也乎: Angular 嗯哼…上古神品 ) 在 Python 中使用断言应用约束 REDOWAN DELOWAR When applying runtime constraints on a value a common practice is to compare the value to an expected range and raise a ValueError if it’s not within the range. This article argues for the use of assert instead. (是也乎: 相比传统的 if , assert 更加简练 ) Python 3.11 发布可能被延迟 PYTHON.ORG Quart 现在是个 Pallets Project PALLETSPROJECTS.COM 探讨/吐糟 Discussions ...
用 Pyodide 构建 SPA 原文: PyCoder’s Weekly - Issue #532 220706 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220706 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 与 Bruce Eckel 一起探索函数式编程 REAL PYTHON PODCAST Would you like to explore the functional programming side of Python? What are the advantages of this approach, and what tools are built into the language? This week on the show, author Bruce Eckel talks about functional programming in Python. (是也乎: 老戏骨 Bibliography - MindView Exceptional Learning Experiences 写了一系列 Think in 的高手; PS: 只是 Think in Python 一直拖欠没发表… ) 用 Pyodide 构建单页应用程序 AMIR TADRISI • Shared by Amir Tadrisi Pyodide leverages WASM to run Python in the browser. In this tutorial, you’ll learn how to build a Single Page Application using Python and Pyodide including how to manipulate the DOM and manage state. (是也乎: 淦…这就已经有嵌入在 browser 中的 py 应用了… amirtds/netflix-analysis-spa at part-1 https://netflix-analysis-spa.onrender.com ) 带有 arvo 的程序音乐创作 SERGE-ÉTIENNE PARENT By using the music21 and avro libraries you can create musical scores programmatically. This article runs you through the libraries you need and how to compose your own music. (是也乎: 成调不成曲… ) Django High Security 已发布: 4.0.6 and 3.2.14 DJANGO SOFTWARE FOUNDATION PyTorch 1.12 已发布 PYTORCH.ORG 探讨/吐糟 Discussions ...
Stack Overflow开发者问题2022结果出来了 原文: PyCoder’s Weekly - Issue #531 220630 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220630 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 用 Python 和 Tkinter 构建井字游戏 REAL PYTHON In this step-by-step project, you’ll learn how to create a tic-tac-toe game using Python and the Tkinter GUI framework. Tkinter is cross-platform and is available in the Python standard library. Creating a game in Python is a great and fun way to learn something new and exciting! (是也乎: ) 每次启动 Django 项目时必做的六件事 BRENTON CLEELAND When you start a new Django project you have some housekeeping tasks and some decisions to make. This article talks about some of the key things you might want to do when starting a new project. 应该在下一个 Web 应用程序中使用 AsyncIO 吗? STEVEN PATE +• Shared by Steven Pate Python’s AsyncIO web ecosystem continues to mature, but should you build your next production application with one of these shiny new frameworks such as FastAPI, Starlette, or Quart? 发现另外四个窃取 AWS 凭证的 Python 程序包 AX SHARMA 2022 年 Stack Overflow 开发者调查结果发布 STACKOVERFLOW.CO (是也乎: 触目惊心哪… ) Django 4.1 Beta 1 发布 DJANGO SOFTWARE FOUNDATION urllib3 宣布赏金计划 URLLIB3.READTHEDOCS.IO (是也乎: 惊喜的 logo ) 开源安全基金会基金 PSF OPENSSF.ORG 探讨/吐糟 Discussions ...