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

pythonista-weekly : Pyw 511

欢迎阅读《pythonista周刊》第511期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-511 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): SonarLint Free and Open Source IDE Extension for Python Developers - Find & Fix Code Quality and Code Security issues in your Python codebase! Discover Now 新闻 JFrog检测到恶意的PyPI软件包窃取信用卡并注入代码 JFrog 发现一个新的供应链攻击,目标是使用 PyPI 资源库的 python 开发人员。 Replit launched replit.web Replit 让程序员能够快速构建应用程序。除了浏览器,开发者可以启动服务器,在 Repl DB 中存储数据,并使用 Repl Auth 对用户进行认证。然而,直到今天,用户还必须把所有这些组件串起来才能建立一个应用程序。这就是为什么我们很高兴地宣布 replit.web,一个专注于快速制作应用程序的 Python 框架。构建具有用户认证和持久性的应用程序从未如此简单。 2021 Django Developers Survey 2021 年的 Django 开发者调查已经开始了。它旨在阐明不同的开发者如何使用 Django 以及相关的工具和技术。 ...

2021-08-06 · 3 min · 1485 words · ZoomQuiet

Issue 484

Twisted 21.7.0 发布 原文: PyCoder’s Weekly - Issue #484 210804 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210804 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 和 REST APIs: 与Web服务交互 REAL PYTHON In this tutorial, you’ll learn how to use Python to communicate with REST APIs. You’ll learn about REST architecture and how to use the requests library to get data from a REST API. You’ll also explore different Python tools you can use to build REST APIs. (是也乎: 现代西方, 所有场景中, 不出现黑人就不政治正确, 黄色人种嘛背景中有就好… ) Launchpad 现, 跑在 Python 3 上 COLIN WATSON Python 2 was sunsetted over a year ago, but many folks still find themselves maintaining large Python 2 codebases. The Launchpad team recently finished porting their entire codebase to Python 3, and this article reflects on that process, discusses some of the difficulties they encountered, regressions that occurred, and provides a number of lessons they learned throughout the process. If you are in a position of porting a Python 2 codebase to Python 3, definitely check this out. (是也乎: 不易哪, 好象 PyPI 至今还在 Py2 上跑着呢? ) PEP 665: 为Python项目指定安装要求 PYTHON.ORG There’s a new PEP in town, and this one deals with improving how installation requirements are specified in Python projects. The PEP is still in Draft status. (是也乎: 30年后, Python 终于开始为项目部署时考虑了.. ) Twisted 21.7.0 发布 TWISTEDMATRIX.COM (是也乎: ರ_ರ_ 上古神器, 继续更新ing… ) Django Bugfix : 3.2.6 发布 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2021-08-04 · 4 min · 1862 words · ZoomQuiet