周刊
各种来源的…
background
世界高速变化
goal
定期 review 一周以来主要变化
trac
汇集各种渠道的周刊, 以及自己每周内省小结吧…
refer.
…TBD
各种来源的…
世界高速变化
定期 review 一周以来主要变化
汇集各种渠道的周刊, 以及自己每周内省小结吧…
…TBD
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 ...
欢迎阅读《pythonista周刊》第510期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-510 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Complete Python 3 Ethical Hacking: Beginner To Advanced! In This Complete Python 3 Ethical Hacking Course You Will Learn To Code 10+ Penetration Testing Tools From Scratch! 文章、教程与话题 The Baked Data architectural pattern Baked Data 模式对于静态网站生成器来说有很多优点,并且可以避免大多数的限制。用 Baked Data ,数据就是应用被部署时的一部分。任何时候内容改变,一个新的站点包括内容的更新就会被部署上。非常适合于以内容为导向的站点,每天内容都会更新几次内容。比如博客,文档网站,项目网站-任何内容又一小部分作者编辑的地方。 Moment of Inertia For ANY 3D Object In Python 学习如何用两种不同的方式找到 3D 对象转动惯量。第一种技术从数学上定一个 3D 对象,并且通过评估积分来获得转动惯量的张量。第二种技术通过加载一般的 3D 物体的坐标来评估张量。 A Natural Language Processing (NLP) Primer 使用 Python 的常见 NLP 任务概述。 介绍 Triton: 用于神经网络的开源 GPU 编程 Triton 是一个开源的像 Python 的编程语言,让没有 CUDA 经验的研究人员编写高效的 GPU 代码——大多数情况下和专家能够编写的代码达到同样的水平。Triton 能够轻松的充分使用硬件的性能。 用 Pandas 1.3 的 new string dtype来节省内存 在 Pandas 1.3 中,有一个新的选项可以在大量的字符串上也节省内存,只需要简单的改变成一个新的 column 类型。让我们看看如何做到。 Python’s Operator Module 中不为人知的特性 在 Python 不太常见的的 operator 模块的帮助下,使你的代码更快、更简洁、更易读、更实用。 Python PDF 处理指南 在这个教程中,学习用 Python 在 PDF 上的各种各样的操作,例如: 提取以及添加页面,文本,图片,表格,水印以及其他。 如何用 Python 和 Tweepy 制作一个Twitter Bot 一个 reply-to-mention Twitter bot 可以在被用关键词 mentioned 的情况下用自动生成的图片回复每条 tweet 。 Python’s Import System 这个视频展示了 Python import 系统(import protocol) 的细节,涉及 models 和 packages (常规以及命名空间 packages) Building CLIs in Python with Click 在这篇指南中,你将学习如何创建你自己的可以传递上下文命令行界面,命令可以接受必传参数和可选参数,以及嵌套命令。 Demystifying boto3 How to Use Any AWS Service with Python. Testing the diff 好的单元测试是以最小的范围为重点,并尽可能地将功能与外部干扰隔离。在这篇文章中,我们展示了一个看似无害的测试是如何被误导的,并没有真正捕捉到你所期望的。然后我们展示如何通过 “测试差异 “来改进它。 Comical Data Visualization in Python Using Matplotlib 如何在 Matplotlib 中进行好玩的可视化?使用 Netflix 电影和电视节目数据集进行解释。 Django and Postgres 高效的分页 本文将帮助你了解 Django 的分页限制,并提供三种替代方法来提高你的应用程序的性能。在此过程中,你会看到每种方法的权衡和使用情况,这样你就可以决定哪种方法最适合你的应用程序 Playing around with streamlit dashboards Moving SciPy to the Meson build system How to Create a Price Comparison Tool With Python BeautifulSoup ...
给问题自动生成代码… 原文: PyCoder’s Weekly - Issue #483 210728 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210728 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python’s 集合: 专门数据类型自助餐 REAL PYTHON Python has a number of useful data types beyond the built-in lists, tuples, dicts, and sets. In this tutorial, you’ll learn all about the series of specialized container data types in the collections module from the Python standard library. Learning the collections module is a great way to level up your Python programming knowledge! (是也乎: ) 将 Scipy 迁移进 Meson 构建系统 RALF GOMMERS In accordance with PEP 632, distutils will be deprecated in Python 3.10 and in Python 3.12 it will be removed. This posed a big problem for SciPy, since it’s build system depends on NumPy’s distutils module — an extension of Python’s built-in distutils. The SciPy maintainers set out to find a new build system and settled on Meson, which solves a number of build issues and even scores a 4x speed-up on build times! Python’s Operator 模块的未知功能 MARTIN HEINZ • Shared by Martin Heinz Have you heard of Python’s operator module? It includes functions for common operators, including mathematical operators like +, -, *, and /, and well as operators for getting items from dictionaries and accessing object attributes. The operator module might seem confusing at first glance. This article explores why it exists, what benefits you get from it, and when it makes sense to use it in your code. Python Software Foundation Fellow 2021/Q2 成员 PYTHON SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...
欢迎阅读《pythonista周刊》第509期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-509 翻译:Dustyposa 文章、教程与话题 Python中最重要的3个傅里叶变换 本视频深入研究了 sympy 和 scipy 库,以了解 python 中的傅里叶分析,并具体研究了1.傅里叶变换,2.傅里叶数列,以及3.离散傅里叶变换。离散傅里叶变换。 用AlphaFold进行高精度的蛋白质结构预测 Nature 杂志发表了 AlphaFold 的最新情况,这是一种采用机器学习的计算方法,用于高精确度地预测全链蛋白质结构。 Beautiful ideas in programming: generators and continuations 这篇文章总结了作者在尝试深入理解编程中的两个重要概念时的心得。Python 的生成器和 Scheme 的 continuation。 namedtuple in a post-dataclasses world namedtuple 已经存在了很久,随着时间的推移,它的便利性使它的使用远远超出了它最初的目的。随着数据类现在覆盖了这些用例的一部分,人们应该把 namedtuple 用于什么?在这篇文章中,我们将通过几个真实代码的例子来看看这个问题。 使用Django的指南(第二部分)。GeoDjango、PostGIS和Leaflet 一个快速入门指南,使用基于 Python 的网络框架 Django 创建一个网络地图,使用其模块 GeoDjango,PostgreSQL 数据库及其空间扩展 PostGIS 和 Leaflet,一个用于互动地图的 JavaScript 库。 Monitor your home’s temperature and humidity with Raspberry Pis and Prometheus 在 Raspberry Pi 上用 Python 测试一个 Prometheus 应用程序,收集温度传感器数据。 Making Sense Of Settings 所有的 Django 应用程序都需要进行配置,以便正常运行。在这篇文章中,我们将深入探讨 Django 如何让您使用设置模块来配置您的项目。我们还将探讨如何更有效地使用设置。 Complete Glossary of Keras Neural Network Layers (with Code) Learn the purpose and instantiation for Core layers, Pooling layers, Preprocessing layers, etc. ...