欢迎阅读《pythonista周刊》第522期。Let us start!

原文: https://mailchi.mp/pythonweekly/python-weekly-issue-522
翻译:Dustyposa

来自赞助商(PS:原文的赞助商):

Join the Python Developers Survey 2021: Share and learn about the community This year we are conducting the fifth iteration of the official Python Developers Survey. The goal is to capture the current state of the language and the ecosystem around it. By comparing the results with last year's, we can identify and share with everyone the hottest trends in the Python community and the key insights into them.

文章、教程与话题

Python API Development img 学习如何用 Python 构建一个成熟的 API。我们要构建的 API 是一个社交媒体类型的应用程序,用户可以创建/阅读/删除/更新帖子,以及喜欢其他用户的帖子,当然我们将设置用户注册和认证。我们将使用 FastAPI 库来构建这个 API

在Python中实现Dijkstra的算法 GPS 导航设备和预订航班的网站有什么共同之处?事实证明,有很多。首先,两种技术都采用了 Dijkstra 的最短路径算法。在这篇文章中,我们将对 Dijkstra 算法做一个概述,并提供一个易于理解的 Python 实现。在我们用通俗的英语进行解释之后,你会发现 Python 的实现并没有太大的不同。

如何用Python创建一个Ethereum代币(ERC20) 在本教程中,我们将在 Polygon 网络上从头创建一个 Ethereum 代币。为了创建我们的代币,我们将使用 Python 和类似 Python 的编程语言。

测试是不够的: 向urllib3添加类型提示后的案例研究urllib3 中添加类型提示显然是一项巨大的工作,在几个月内花费了数百个工程师小时。我们曾经认为这是一个纯粹的面向开发者的变化,但最终使代码库比以往更加强大。一些非微不足道的逻辑错误被修复,我们的团队在审查和合并PR时更加自信。这对我们的用户来说是一个巨大的胜利,是一个非常值得的投资。

A viable solution for Python concurrency 多年来,人们为移除 GIL 做出了各种努力,但没有任何一种努力能达到考虑将其纳入 CPython 解释器的程度。不过现在, Sam Gross 已经带着一个概念验证的实现进入了这个领域,可能会真正解决这个问题。

[New] Free Python code quality & security scanner - Real-time scanning Like Grammarly for your code. Scan your Python code for quality & security issues, and get fix advice in your IDE. Get started with Snyk for free. SPONSOR

Secure Password Handling in Python 借助这些简单的技术和技巧,在 Python 中保护和保障你的密码和凭证。

DeepSpeech for Dummies - A Tutorial and Overview 什么是 DeepSpeech,它是如何工作的?这篇文章展示了如何使用 DeepSpeech 进行异步和实时转录的基本例子。

On Notational Programming for Notebook Environments This article provides some thoughts on notational programming and demonstrates a key principle — “variables travel,” where typewritten text can be referenced in handwritten code. The goal is to provoke discussion around “traveling” variables as powerful tools for bridging handwritten and typewritten contexts, for a future version of programming practice less constrained by typewritten input.

为什么你不应该直接调用setup.py? setuptools 团队不想再做提供命令行界面的工作,正在积极努力成为一个构建软件包的库。你应该怎么做取决于你的使用情况,但如果你想要一些基本的经验法则,在总结部分有一个表格。

剖析Django应用程序 Django 应用程序消耗的内存或时间可能超过预期。这篇文章将重点介绍使用3种工具进行性能分析。

TensorFlow Lite for Edge Devices - Tutorial img 了解如何使用 TensorFlow LiteTensorFlow Lite 是一个开源的深度学习框架,用于设备上的推理。

Where does all the effort go? Looking at Python core developer activity

Pip vs Conda: an in-depth comparison of Python’s two packaging systems

Creating a Basic Python Reverse Shell Listener

有趣的项目、工具和库

repo-finder-botDiscord 上找到可以贡献的最佳资源库!

lambeq 一个用于 Quantum Natural Language 处理的高级 Python 库。

nogil 没有 GIL 的多线程 Python

compatlib 用于编写跨版本兼容库的 Python 实用程序。

promptsource Promptsource 是一个用于收集和应用 NLP 数据集的提示的工具包。

LDAPmonitor Monitor creation, deletion and changes to LDAP objects live during your pentest or system administration!

最近更新

PyPy v7.3.6: release of python 2.7, 3.7, and 3.8

活动

Virtual: PyLadies BCN October 2021 将会有一个讲座,我们如何用 Python 建立我们的实验框架。

Virtual: PyData Calgary October 2021 There will be a talk, Customer Churn Machine Learning Analysis with Data Balancing Techniques.

Posa:

❤️ Happy Pythonic ;-(Posa私人无责任播报)

----- 分割线 -----

如果你发现哪里翻译有误的话,请务与我联系!感谢!


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->