pythonista-weekly : Pyw 528

欢迎阅读《pythonista周刊》第528期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-528 翻译:Dustyposa 文章、教程与话题 Experimental APIs in Python 3.10 and the future of trust stores Let’s see the new APIs in action and how their addition could mean a bright future for trust stores in Python. Run a website off a Google Sheets Database, with Hugo 如何利用 Jupyter + Pandas、Hugo 静态网站生成器和 Netlify 主机从托管在 Google Sheets 的数据库中建立一个静态网站。 用Twilio语音和Python Flask创建一个冷战时期的数字站 在本教程中,你将学习如何建立一个 Python Flask 应用程序,将你选择的信息加密成一串数字。然后,你将通过 Python 辅助库使用 Twilio 语音 API 来接受一个来电,并以你能做到的最动听的声音向来电者读出编码信息。 用Python探索谷歌分析的实时数据 充分利用谷歌分析的所有功能和数据,使用其 REST API 和 Python。 Deliver Cleaner, More Secure Code with GitHub Codespaces Developing with GitHub Codespaces? SonarLint allows you to catch quality & security issues early in your Python code. Create your Codespace & install SonarLint for free from the VS Code marketplace. SPONSOR Introduction to GeoPandas: Analysing 311 call data GeoPandas 使得在 Pandas 中处理地理空间数据变得更加容易。它可以帮助你在 Pandas 中进行地理空间操作,并以一种漂亮的方式将你的地图可视化。这篇文章通过可视化旧金山的 311 服务电话,展示了 GeoPandas 的入门是多么容易。 python的map和filter的问题 … and how we might fix it. 用熊猫进行金融市场数据分析 使用Flask、request-oauthlib和pyjwt的SSO Python Jobs of the Week WANTED: Senior Python Developer 倦怠了吗?想和一个优秀的全球团队一起工作?Six Feet Up 需要有5年以上 Python 和 Unix/Linux 部署经验的工程师。具备 Terraform 和 Docker 知识者优先。 ...

2021-12-03 · 3 min · 1219 words · ZoomQuiet

PyCoder 501

咱..应该停止庆祝无能 原文: PyCoder’s Weekly - Issue #501 211201 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211201 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python/后绑定(Late-Bound)默认参数值 JAKE EDGE Python supports default values for arguments to functions, but those defaults are evaluated at function-definition time. A proposal to add defaults that are evaluated when the function is called has been discussed at some length on the python-ideas mailing list. Python 用 Dash 数据可视化 REAL PYTHON COURSE In this course, you’ll learn how to build a dashboard using Python and Dash. Dash is a framework for building data visualization interfaces. It helps data scientists build fully interactive web applications quickly. (是也乎: ) Rats in Doom: 啮齿类动物的新型 VR 设置 VIKTOR TÓTH A novel VR setup developed for rodents that lets rats play Doom. Uses Python for the controller interface. (是也乎: 真耗在游戏中… ) CPython Dev in Residence: 周报, November 22–28 ŁUKASZ LANGA A short review of try/except, exception handling in asyncio today, and the future of asyncio error handling. 探讨/吐糟 Discussions ...

2021-12-01 · 4 min · 1820 words · ZoomQuiet

pythonista-weekly : Pyw 527

欢迎阅读《pythonista周刊》第527期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-527 翻译: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 文章、教程与话题 Data Analysis with Python for Excel Users 学习如何使用 Python 和 Pandas 进行数据分析。如果您有使用 Excel 的经验,这个课程将特别有帮助,但这不是必须的。学习如何 使用 Python、Pandas 和 Jupyter Notebook 创建透视表,处理数据,并进行可视化。 Minimax algorithm and alpha-beta pruning 这篇文章将从初学者的角度教你了解最小化算法和 α-β 修剪。 在Python中使用JavaScript风格的异步承诺 当你比较 Python 和 JavaScript 的异步代码时,你可能认为它们非常相似,因为它们都使用了异步/等待模式。实际上,两者之间有很大的区别,在我看来,这使得 JavaScript 的异步模式优于 Python 的。你想知道区别是什么,以及如何使 Async Python 像 Async JavaScript 一样工作吗?请观看或继续阅读以了解详情 ThreadPoolExecutor vs. ProcessPoolExecutor in Python 你可以将 ThreadPoolExecutor 用于绑定 IO 的任务,将 ProcessPoolExecutor 用于绑定 CPU 的任务。在本教程中,你将发现 ThreadPoolExecutor 和 ProcessPoolExecutor 之间的区别,以及何时在你的 Python 项目中使用它们。 Functional Programming in Python 在这个演讲和现场演示中,我们将探讨函数式编程的好处,以及 Python 如何使其变得简单。 恶意软件模仿签名的PyPI流量的新型渗出技术 在这篇文章中,我们将分享我们最近发现并向 PyPI 维护者披露的11个新的恶意软件包的细节(他们及时删除了这些包)。基于我们的最新发现,在这篇文章中,我们强调了 Python 恶意软件开发者为了避免被发现并留在存储库中以感染尽可能多的机器而使用的一些更先进的技术。 在Python中使用协议的静态鸭子类型化 Python 中的协议提供了一种很好的方式来使用鸭子类型,同时仍有一些静态类型保证。你可以为你的函数定义契约,而不用太在意输入的实际类型。 The fastest way to share your notebooks - announcing NotebookSharing.space 由于我们的目标是以最快的方式上传您的笔记本并与他人分享,因此不需要注册或用户账户。只要上传你的笔记本,获得链接,并以你想要的方式分享它。 Calling Rust from Python using PyO3 这篇文章给你一个关于 PyO3 的简短介绍,然后讨论几个用 Rust 编写并从 Python 中调用的例子函数。 DevOps in academic research 我学到的一些东西支持传染病流行病学家。 Best practices for containerizing Python applications with Docker 这篇文章描述了用 Docker 容器化 Python 应用程序时的6个最佳实践。 Web Development with Python and Vue.js Components 这篇文章描述了我们如何利用 Vue.js 来加强我们的网络应用。 Replicating Minecraft World Generation in Python Using Voronoi diagrams and a lot of Perlin/Simplex noise. Python中可观察性的7个关键部分 了解为什么可观察性对 Python 很重要,以及如何在你的软件开发生命周期中实现它。 Python中的CT扫描和断层扫描重建 本视频介绍了计算机断层扫描领域的基本分析重建技术。它手动展示了背投和过滤背投的工作原理,然后给出了 skimage 库中的相 应函数。 ...

2021-11-26 · 3 min · 1474 words · ZoomQuiet

PyCoder 500

500期了…从第一期开始没中断快译 原文: PyCoder’s Weekly - Issue #500 211124 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211124 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 新闻: 10 月有哪些新变化? REAL PYTHON The Python community gave a warm welcome to Python 3.10 in October 2021. In this article, you’ll catch up on some big events that happened this past month, including Python being named TIOBE’s most popular programming language. (是也乎: ) 请忽略所有 Web 性能测试/包括这篇 MIGUEL GRINBERG • Shared by Caleb Hattingh ”[…] measuring web application performance is incredibly complex […] In this article you can see the results of my effort in understanding and fixing this benchmark, re-running it, and finally arriving at a shocking revelation.” (是也乎: 这才是一视同仁, 所有性能评测都不值得看, 包含作者自己这篇 ;-) 是的, 没有 Django ) 用 Python AI 构建神经网络进行预测 REAL PYTHON COURSE In this step-by-step course, you’ll build a neural network from scratch as an introduction to the world of artificial intelligence (AI) in Python. You’ll learn how to train your neural network and make accurate predictions based on a given dataset. (是也乎: 一个 step by step 的开始很重要. ) 用协议在 Python 中引入静态鸭子类型 DAAN DEBIE Protocols in Python provide a nice way to use duck typing while still having some static type guarantees. You can define contracts for your functions without caring too much about the actual types of your inputs. Minimax Algorithm and Alpha-Beta Pruning RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão The minimax algorithm and alpha-beta pruning can be used to implement AIs to play games. This tutorial will teach you about the minimax algorithm and alpha-beta pruning, from a beginner’s perspective. PyPI 用户反馈: PyPI 团队功能 PYPI TEAM The PyPI team is seeking feedback from teams using PyPI. If you use PyPI as a team, consider responding to the (short) poll form at the link. (是也乎: 只有一个原意: 恢复 pip search 并持续加速, 至少和中国高铁同步 ) Django 4.0 Release Candidate 1 发布 DJANGO SOFTWARE FOUNDATION CPython Dev In-Residence 周报, November 15–21 ŁUKASZ LANGA 探讨/吐糟 Discussions ...

2021-11-24 · 5 min · 2379 words · ZoomQuiet