pythonista-weekly : Pyw 505

欢迎阅读《pythonista周刊》第505期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-505 翻译: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 新闻 Sonatype Catches New PyPI Cryptomining Malware Sonatype has identified malicious typosquatting packages infiltrating the PyPI repository that secretly pull in cryptominers on the affected machines. DjangoCon US 2021 Call for Proposals DjangoCon US 2021 call for proposals for talks and tutorials is open until July 18, 2021. PyGotham TV Call for Proposals As an online-only event, PyGotham TV talks will be pre-recorded, should be 10 or 25 minutes long, and will be presented in a single track.The call for proposals is open until June 30, 2021. ...

2021-06-25 · 4 min · 1622 words · ZoomQuiet

Issue 478

FastAPI 和 Pydantic 的未来一片光明 原文: PyCoder’s Weekly - Issue #478 210623 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210623 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 如何用 Pandas 透视和绘制数据 STEFANIE MOLIN • Shared by Stefanie Molin One of the challenges of working with data is knowing how to manipulate the data format for a particular analysis. And there’s no single correct format. You need to know how to melt, pivot, and transpose data into a format that fits whatever you’re analyzing. If you enjoy this article, be sure to also check out Stefanie’s Pandas Workshop. (是也乎: 真.从来没在 Excel 中用过 数据透视表, 应该还是翻译的问题… ) FastAPI 和 Pydantic 的未来一片光明 SEBASTIÁN RAMÍREZ • Shared by Alex Mitelman Not long ago there was some chatter on the internet about a change in Python 3.10 that would impact Python projects that check types at runtime. The discussion centered around FastAPI and Pydantic and had some folks worried about the future of those projects. In this article, FastAPI’s creator explains what the discussion was all about and why the future of FastAPI and Pydantic remains bright. 用 Python 简化复数 REAL PYTHON In this tutorial, you’ll learn about the unique treatment of complex numbers in Python. Complex numbers are a convenient tool for solving scientific and engineering problems. You’ll experience the elegance of using complex numbers in Python with several hands-on examples. (是也乎: ) Ewa Jodlowska 将卸任 PSF 执行董事 PYTHON SOFTWARE FOUNDATION Psycopg 2.9 发布 PSYCOPG.ORG EuroPython 2021: 发布时间表 EUROPYTHON.EU Python 3.10.0b3 可用 CPYTHON DEV BLOG 探讨/吐糟 Discussions ...

2021-06-23 · 4 min · 1844 words · ZoomQuiet

pythonista-weekly : Pyw 504

欢迎阅读《pythonista周刊》第504期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-504 翻译:Dustyposa 文章、教程与话题 Building a WebAuthn Click Farm — Are CAPTCHAs Obsolete? How I built a click farm to “bypass” Cloudflare’s CAPTCHA killer with some cheap USB security keys, an Arduino, and a bit of python. 2nd Year Calculus, But in Python 本讲座将介绍二年级微积分的所有公式,以及如何用 Python 符号化地评估它们,不需要铅笔或纸张。 如何解决Python中的内存问题 这篇文章展示了我们如何诊断和修复 EvalML (开源 AutoML 库)中的一个内存问题。 Data Analytics Crash Course: Teach Yourself in 30 Days 该课程是对基于 Python 的数据分析的介绍。你将对 Python 的工作原理有一个基本的了解,使你能够自信地找到和处理数据源,并使用 Jupyter 环境从数据中获得洞察力。 Types in Python 鸟瞰 Python 3.x 中的类型化功能 New Features in Python 3.10 本讲座涵盖了 Python 中一些最有趣的新增内容–结构模式匹配、括号内的上下文管理器、更多的类型,以及新的和改进的错误信息。 使用PyCaret进行自动机器学习 用不到十行的代码就能使你的机器学习工作流程自动化。 Continuous integration for data science with pytest, Github Actions, and Hypervector 本指南概述了如何使用 Python 库 pytest、 Github 的持续集成平台 Actions 和 Hypervector –一个用于轻松构建数据科学测试夹具的 API,为数据科学功能建立一个自动检查,在每次针对项目打开拉动请求时运行。 如何用AWS Chalice创建CRUD REST API 了解如何利用 AWS Chalice 无服务器技术构建图书数据库 API。 Excel、Python和数据科学的未来 如果说无处不在的电子表格程序是通向数据科学的大门,那么 Python 旨在成为下一个步骤。 [用Redis、Flask和Docker实现API缓存 Step-By-Step] 你希望你的 API 更快、更稳定,并减少对服务器的请求?- 这就是缓存发挥作用的地方。本文告诉你如何在 Flask 上用 Redis 实现 API 缓存。 我如何在公共图书馆的Raspberry Pi 400上教授Python? 用Python编写快速的异步HTTP请求 ...

2021-06-18 · 3 min · 1145 words · ZoomQuiet

Issue 477

Excel+Py 就是数据科学的未来? 原文: PyCoder’s Weekly - Issue #477 210616 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210616 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Excel/Python 和数据科学的未来 MATT ASAY What’s the most widely used tool in data science? Is it pandas or NumPy? Is it the Python language itself? Not really. It’s Excel. You might argue that data scientists aren’t using Excel as their primary tool, and you might be right. But Excel enables non-technical users, like small business owners, to gain insights into their data. In this article, Anaconda CEO Peter Wang discusses his goal of making Python and PyData the “conceptual successor” to Excel. (是也乎: 对的, 无论 Jupyter 怎么折腾, 如果 Excel 嵌入 Python, 那么瞬间, 没 notebook 什么事儿了… ) 数据分析用实 SQL HAKI BENITA If you need to do some data analysis, what tool do you reach for first? Is it pandas? While pandas is great, it comes with some costs that you might not be aware of, including large memory overhead that can quickly get in the way of your projects. Using databases with SQL can alleviate memory issues. In this tutorial, you’ll learn how to do common data analysis tasks in SQL, which opens the door to mixing SQL and pandas to create lightweight programs that are also fast! (是也乎: SQL 永远的语言 ) Python 实践题: 解析CSV文件 REAL PYTHON In this tutorial, you’ll prepare for future interviews by working through a set of Python practice problems that involve CSV files. You’ll work through the problems yourself and then compare your results with solutions developed by the Real Python team. (是也乎: 常年手工解析 .csv 的俺… ) Jazzband 加入 PSF 财政赞助计划 JAZZBAND.CO 微软为加速 Python 专门开展招聘 TWITTER.COM/GVANROSSUM (是也乎: 嗯哼? 这个热点蹭得专业哪… ) Mypy 0.900 发布 MYPY-LANG.BLOGSPOT.COM (是也乎: 打死也不发布 1.0 党 ) 探讨/吐糟 Discussions ...

2021-06-16 · 4 min · 1839 words · ZoomQuiet