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

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

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

Get Your Weekly Dose of Programming A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free

文章、教程与话题

Web programming with nothing but Python imgAnvilCEO Meredydd Luff 聊了聊,他认为为什么。Web 编程已经变得过于复杂。如果你想用 Python 构建一个 Web 应用,而不用担心数据库、服务器端代码或网页设计,是时候给 Anvil 一个机会了。

Python behind the scenes #10: how Python dictionaries work 在本篇文章的第一部分,我们将设计一个简单的全功能哈希表,讨论它的能力和局限性,并概述设计一个在实践中运行良好的哈希表的一般方法。在第二部分中,我们将关注 CPython 的具体实现,最后看看 Python 字典在背后是如何工作的。

Big Bay Dam Monitoring Dashboard 在这个系列中,我们将使用 Django 和第三方图表库构建一个水坝监测仪表盘。你将学习到:Django 认证系统的基础知识,如何将 BokehDjango 集成到交互式绘图中,如何使用 Leaflet 添加交互式地图,将 Django REST 框架集成到现有的 Django 项目中,以及如何将其整合到一起创建一个仪表盘。查看 Part 2, Part 3 and Part 4

C++ in Python the Easy Way! img 你可能需要知道的一切,都是为了编写 Python 接口到 C++ 代码。

snopher 关于使用 ctypesPython 调用 Go 的实用指南。

How to Write Unit Tests in Python, Part 2: Game of Life In this article I will introduce you to Conway's Game of Life, an interesting simulation that plays animated patterns on a grid. You will learn about Test parametrization, Building test matrices, Basic mocking and Testing Python exceptions.

Computer Vision and Embroidery 了解如何通过 Python 使用计算机视觉来识别绣花框图像中使用了哪些 DMC 线。

Errors as Values 从意外的运行时异常中解脱出来

从零开始 Pytthon 的区块链 img 学习如何 Python 从头开始构建一个简单的区块链,这样你就可以从更基础的层面了解它的工作原理。

Action Planning in Python 自动规划是人工智能技术的一个领域,用于确定如何将世界从初始状态转化为目标状态。本指南实现了经典规划的一种形式,我们将问题域表示为一组状态变量,这些状态变量通过采取的每一个行动进行修改。

Django 3.2 - News on compressed fixtures and fixtures compression The Django 3.2 version has new features related to compressed fixtures and fixtures compression. This article explores the topic and provides some sample benchmarks.

Interoperable Python and SQL in Jupyter NotebooksPandas、SparkDask 的基础上使用 SQL

癌症生存数据集的神经网络开发 在本教程中,你将发现如何为癌症生存二元分类数据集开发多层感知器神经网络模型。

The Weird Walrus 在这篇文章中,我们改变了。Python 语法,并允许它运行没有任何括号的 Assignment Expressions

用Python进行嵌入式和物联网开发的基础知识

使用自动加载来加快IPython和Jupyter的工作速度

在不耗尽内存的情况下将SQL数据加载到Pandas中

有趣的项目、工具和库

datahut.ai 一个新的免费网站,提供最流行的数据科学和数据工程项目的统计和分析。它涵盖了100多个项目,包括这个领域最流行的Python项目,如 SklearnPandasPyTorchTensorFlowDask

Voice-Cloning-App 一个 Python/Pytorch 应用程序,用于轻松合成人类的声音。

vizex 在你的 UNIX/Linux 终端中可视化磁盘空间和磁盘使用情况。

sqlalchemy-filtersSQLAlchemy。查询对象进行过滤、排序和分页。是在 REST API 上公开这些操作的理想选择。

Uniton Uniton 可以让你从。Python 中控制 Unity 游戏引擎。它的目的是将 Unity 工具化,使其在非游戏应用中更加有用。

ClearML Auto-Magical 工具套件可简化你的 ML 工作流程。实验管理器、ML-Ops 和数据管理。

django-migrations-formatter 这个 Django 库将使用 blackisort 格式化 Django 迁移。

telewater A telegram bot that applies watermark on images, gifs, and videos.

docker-django-example 一个使用 DockerDocker Compose 的生产就绪的 Django 应用实例。

gpt-neox 基于 DeepSpeed 库,在 GPU 上实现类似 GPT-3 的模型并行。设计为能够训练千亿参数或更大的模型。

azure-debug-relay 分布式跨网络远程调试 Python

最近更新

Python 3.9.4 hotfix is now available Python 3.9.3 was released two days ago on Friday, April 2nd. It contains important security content listed below for reference. Unfortunately, it also introduced an unintentional ABI incompatibility, making some C extensions built with Python 3.9.0 - 3.9.2 crash with Python 3.9.3 on 32-bit systems. To minimize disruption, I decided to recall 3.9.3 and introduce this hotfix release: 3.9.4.

Django 3.2 This version has been designated as a long-term support (LTS) release, which means that security and data loss fixes will be applied for at least the next three years. It will also receive fixes for crashing bugs, major functionality bugs in newly-introduced features, and regressions from older versions of Django for the next eight months until December 2021.

Django security releases issued: 3.1.8, 3.0.14, and 2.2.20

Python 3.10.0a7https://matplotlib.org/3.4.0/users/whats_new.html)

活动

Virtual: IndyPy: Dangers of the Python Standard Library 本讲座将介绍一些这些潜在的、太容易犯的安全错误。

Virtual: Austin Python Meetup April 2021 将会有以下话题:

  • 数据科学志愿服务于刑事司法
  • 基于 Python 的声明式监控应用程序

Virtual: Philadelphia Python Meetup April 2021 将会有以下话题:

  • Autonomous Object Detection
  • 了解 SHAP 值以更好地解释模型

Virtual: Cleveland Python Meetup April 2021 将会有以下话题:

  • Idiomatic Pandas - 5 tricks for writing better pandas code
  • Module of the Month: Scrapy

Virtual: Graph QL - The What, The Why, The How Ever wondered what all the hype around GraphQL is about? Is it the estranged sibling of SQL? What is its obsession with graphs anyway? This talk will walk through the what, the why and the how of GraphQL. By the end of this presentation we will have a working GraphQL server in Python that you can build and deploy at home!

Virtual: PyData Cyprus April 2021 将会有以下话题:

  • Forecasting challenges and the contributions of the M competitions
  • MIY: Model it Yourself with ML Legobricks

Posa:

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

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

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


Comments


大妈的多重宇宙 - YouTube

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

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


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


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

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