pythonista-weekly : Pyw 513

欢迎阅读《pythonista周刊》第513期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-513 翻译:Dustyposa 文章、教程与话题 Python 测试驱动开发 测试驱动开发( TDD ),也被称为红-绿-重构,是一种常见的软件开发技术,在编写实际代码之前,你要先写测试。本视频以 Python 为例,展示了如何使用 unittest 包进行 TDD,还分享了一些与软件测试有关的实用技巧。 Flask & React - 从零到全栈 (用样例) 学习如何使用 Flask 和 React 来编写可以轻松扩展的全栈产品。包括开源样本。 Reining in the thundering herd. 用 Django 达到 80% 的 CPU 利用率。 用API、Python和Tableau获取并分析美国的通货膨胀数据 使用 Python 和美国劳工统计局数据 API 检索消费者价格指数数据。将数据加载到 Tableau 中,与第一系列美国储蓄债券初始综合利率进行比较。 Python Django and Google APIs 在这个完整的课程中,学习如何建立一个使用多个谷歌 API 的 Python Django 应用程序。 SonarLint Free and Open Source IDE Extension for Python Devs Working in VS Code, PyCharm, Visual Studio, or Eclipse? SonarLint helps you find & fix Code Quality and Code Security issues in your Python codebase! Discover More SPONSOR 用Python UI 实现Asana的自动化 Asana 的 API 是一个强大的工具,在这篇文章中,你将通过扮演一个经理的角色来学习如何使用它,这个经理想要一种简单的方法来更新他们团队的截止日期,如果他们缺席的话。我们将构建一个应用程序来记录团队成员的缺席,并通过一个按钮自动更新他们所有的任务截止日期。 字符串translate和maketrans方法 在这篇文章中,学习 Python 字符串方法 translate 和 maketrans。 Reddit Interview Problems: The Game of Life 可重复的Python字节码 Introducing the Python Launcher for Unix Feasibility, Use Cases, and Limitations of Pyodide Pythonic monotonic ...

2021-08-20 · 2 min · 948 words · ZoomQuiet

PyCoder 486

NVIDIA 发布 CUDA Python 原文: PyCoder’s Weekly - Issue #486 210818 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210818 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 给 UNIX 介绍 Python 加载器 BRETT CANNON Python Core Developer and Steering Council member Brett Cannon recently released his Python Launcher for UNIX project. In a nutshell, the Python Launcher for UNIX gives you a command that always launched the latest version of Python that you have installed. Learn the motivation behind the project and some of its bonus features in this introductory article. (是也乎: Python 迷宫之一, 也是最基础的, 现在看, 将来可能变成最有力的武器之一… ) Python 新闻: 2021年7月有什么新闻? REAL PYTHON The Python community saw some great changes in July 2021. In this article, you’ll get up to speed on the big-ticket items that happened this past month, including some news about the CPython Developer-in-Residence position at the Python Software Foundation. (是也乎: ) PyCharm 2021.2.1 候选发布已经释放 JETBRAINS.COM Curious about what the next version of PyCharm will bring? Check out the latest release candidate! (是也乎: 嗯哼, 就看 JETBAIN 能在 VSCoode 注视下生存多久了… ) NVIDIA 发布 CUDA Python NVIDIA.GITHUB.IO (是也乎: 黄大仙赛高… ) 探讨/吐糟 Discussions ...

2021-08-18 · 4 min · 1684 words · ZoomQuiet

pythonista-weekly : Pyw 512

欢迎阅读《pythonista周刊》第512期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-512 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Django Day Copenhagen 2021 Call for Proposals Submit before August 15th 2021 23:59:59 UTC+1. 文章、教程与话题 如何在Python中获取Derivatives 本视频介绍了三种不同类型的需要在 Python 中求导数的情况:符号型、数字型和准符号型。 当你在PyPI上的发布失败时该怎么办? 你在 PyPI 上发布了一个版本,但出现了一个错误(我们都经历过)。它可能大到整个版本都是错误的,也可能只是 README 中的一个拼写错误。幸运的是,你可以做一些事情来处理各种情况。 使用QuickAI在2行代码中进行YOLOV4 训练 在这个视频中,我们只用2行代码就训练了一个自定义的 YOLOV4 物体检测器 现代的为云原生部署实现对象存储 这篇文章介绍了实现对象存储的多种方式及其权衡,以及混合云对象存储如何在合适的情况下在企业内部运行,并在需要时通过云来实现自我扩展、自我修复和自我管理的特性。 使用Django和React的PayPal支付教程 学习如何使用 PayPal 支付来销售数字产品。在本教程中,你将学习如何使用 Django 和 React,用一个简单的产品登陆页面来销售数字产品。 为你的Python应用程序提供干净和安全的代码 了解静态代码分析工具如何帮助 Python 社区识别(和修复)一些著名的开源 Python 项目中的错误和漏洞。Read More SPONSOR 在Python和Go中开始使用Libsodium 学习如何使用 libsodium 在 Python 中加密文件,并在 Go 中解密文件! 以任务为导向的对话式人工智能在Airbnb客户支持中的应用 Airbnb 如何提供自动化支持来增强主机和访客体验。 Django Rest框架配方 用Python中的神经风格转换将任何图像变成梵高的画作 用sqlite-utils CLI工具对SQLite列中的数据应用转换功能 Celery in production: Three more years of fixing bugs ...

2021-08-13 · 3 min · 1166 words · ZoomQuiet

Issue 485

Python 3.10RC 发布 原文: PyCoder’s Weekly - Issue #485 210811 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210811 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 在 pypi 上发布时该怎么来? BRETT CANNON Mistakes happen to everyone. But what do you do if you make a mistake when releasing a package to PyPI? Don’t panic! There are a number of things you can do to fix a bad release. This article walks you through several scenarios and suggested solutions. 用 Mock Server 扩展 E2E 测试 YAEL MINTZ End-to-end (E2E) testing is a crucial step in delivering high-quality software, but the ins and outs of E2E can be challenging. You often need multiple, separate services to talk to each other during tests, and coordinating this can be difficult. Learn some approaches for E2E test development and how the new Cornell Python package can help make your life easier. (是也乎: 问题在如何保证 Mock 和真实系统反应一致? ) Track Requests to Your Python Applications End-to-End With Datadog APM DATADOG sponsor Analyze your Python apps’ performance by drilling into error traces with Datadog’s App Analytics to debug and optimize Python code. Trace requests end-to-end across web servers, databases, and services in your environment and start visualizing your apps’ performance with Datadog APM free → 海象运算符:= Python 3.8赋值表达式 REAL PYTHON In this tutorial, you’ll learn about assignment expressions and the walrus operator. The biggest change in Python 3.8 was the inclusion of the := operator, which you can use to assign variables in the middle of expressions. You’ll see several examples of how to take advantage of this new feature. (是也乎: 海象表达式, 关键问题是可计算的范畴… 真.自由的话, 就变成 JS 那种无限 函式嵌套了… ) 2021 Django 开发者调查 DJANGO SOFTWARE FOUNDATION Are you a Django user? The Django Software Foundation wants to hear from you! (是也乎: 无论是不是 Django 用户, 都可以去填写… ) Python 3.10 第一个 Release Candidate 发表 PYTHON.ORG 探讨/吐糟 Discussions ...

2021-08-11 · 4 min · 1805 words · ZoomQuiet