Issue 455

PyCon US 2021 开始征集议题 原文: PyCoder’s Weekly - Issue #455 210113 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210113 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Code 2020 “Pytudes” 出现 PETER NORVIG Google researcher Peter Norvig goes through a suite of short Python programs and exercises for perfecting particular programming skills. (是也乎: CODE 这个活动坚持几年了? ) NumPy 教程: 用 Python 进入数据科学的第一步 REAL PYTHON Learn everything you need to know to get up and running with NumPy, Python’s de facto standard for multidimensional data arrays. NumPy is the foundation for most data science in Python, so if you’re interested in that field, then this is a great place to start. (是也乎: 等等, 大家难道不是通过 Pandas 们使用 NumPy 的? 直接用什么味儿? ) FastAPI 服务实施: 关注点的抽象和分离 CAMILLO VISINI • Shared by Camillo Visini This article introduces an approach to structure FastAPI applications with multiple services in mind. The proposed structure decomposes the individual services into packages and modules, following principles of abstraction and separation of concerns. (是也乎: 一个框架是否大火, 就看基于其上有多少种抽象架构? ) NumPy 视觉介绍和数据表示 JAY ALAMMAR • Shared by Python Bytes FM “In this post, we’ll look at some of the main ways to use NumPy and how it can represent different types of data (tables, images, text…etc) before we can serve them to machine learning models.” (是也乎: 好象凡事儿, 可视化后, 就可以轻易学到手… 很多时候可能正好相反 ) Python 用 Dash 开发数据可视化界面 REAL PYTHON 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. (是也乎: macOS 下最好的文档工具也叫 Dash… ) Reinventing the Python Logo: Interview With a UI Designer CARLO OCCHIENA UI designer Jessica Williamson redesigns the Python logo as a hobby project and receives 7000 upvotes on Reddit. Here’s an interview with her. (是也乎: 很同意, 原先象傻蛇, 现在象锐利超空间虫. ) PyCon US 2021: Call for Proposals Is Open PYCON.BLOGSPOT.COM 探讨/吐糟 Discussions ...

2021-01-13 · 5 min · 2109 words · ZoomQuiet

Issue 454

9小时没解决的BUG,休息好一刻钟就KO了 原文: PyCoder’s Weekly - Issue #454 210106 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210106 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 为 Python 放弃 Excel: 从旧版行业汲取的教训 AMY PENISTON Learn how Python is revolutionizing an industry that’s notoriously resistant to change and fraught with every programmer’s most dreaded tool: Excel spreadsheets. (是也乎: 不过, 现实是 秋叶的PPT 课程还是最好卖, 公司中, Excel 耍的好的都是 C*O ) 2020年 TIOBE 编程语言之王->Python TIOBE.COM For the fourth time, Python has won TIOBE’s Programming Language of the Year award. The award goes to the programming language that has gained the most popularity in one year, with Python rising by 2.01% in 2020. (是也乎: 感谢 COVID-19 ? 无数预测/分析都是用 Py 制作的, 当然, Guido 老爹入住 M$ 也是一种成圣仪式? 只是, Python 无论多好,我们自己无法用 Py 构造自己的睡后收入, 也只能是爱好而已. ) Python 幕后: Python 属性如何工作 VICTOR SKVORTSOV Take a deep dive into how Python attributes work, including a detailed analysis of the CPython code. 用 Tox 进行 Python 测试和打包的最佳实践 HYNEK SCHLAWACK How to ensure that your tests run code that you think they are running, and how to measure your coverage over multiple tox runs (in parallel.) (是也乎: tox 这工具, 俺知道有5年多了, 但是, 没见国内有人用过哪… 为什么? ) 用 Django REST Framework/DRF 构建 HTTP API REAL PYTHON course Django REST framework (DRF) is a toolkit built on top of the Django web framework that reduces the amount of code you need to write to create RESTful HTTP APIs. (是也乎: FastAPI 们比 DRF 重型框架们还是要更加嗯哼. ) Django 3.1.5 发布 DJANGO SOFTWARE FOUNDATION Python 3.10.0a4 可试玩 CPYTHON DEV BLOG PyPy 在 Mac 上寻求对 arm64 的支持 MOREPYPY.BLOGSPOT.COM SciPy 1.6.0 发布 PYTHON.ORG 探讨/吐糟 Discussions ...

2021-01-06 · 4 min · 1894 words · ZoomQuiet

Issue 453

从一千万Jupyter Notebooks中发现… 原文: PyCoder’s Weekly - Issue #453 201230 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 201230 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 用 nvc++ 和 Cython 在 GPU 上加速 Python ASHWIN SRINATH Python on GPUs has become a big topic for processing big data and scientific computing. In this article from the NVIDIA Developer Blog, you’ll learn how to leverage C++ in Python using Cython and the nvc++ library. There’s even a real-world example that illustrates the Jacobi method to solve a heat equation. 从 Github 下载了 10,000,000 Jupyter 笔记本: 学到的东西 ALENA GUZHARINA The JetBrains Datalore team downloaded ten million Jupyter Notebooks and analyzed them to determine things like which languages were the most popular, what kinds of content are in notebook cells, and how consistently notebooks can be reproduced. It’s a fascinating look into trends in data science technology! (是也乎: 千万级别的 Jupyter 流行度分析. 这很 JetBrain ) Django 管理员自定义 REAL PYTHON course Learn how to customize Django’s admin with Python. You’ll use AdminModel objects to add display columns, calculate values, link to referring objects, and search and filter results. You’ll also use template overriding to gain full control over the admin’s HTML. 解答布尔运算 BRETT CANNON In the latest entry to his series on syntactic sugar, Brett Cannon explores boolean expressions. You’ll learn how boolean expressions “short circuit” and, as an unexpected bonus, a peek into how CPython “cheats” at variables. 值得了解:2020年十大Python库 ALAN DESCOINS This listicle is full of Python projects that you really should know about! Each library on the lists was launched or popularized in 2020 and has seen steady maintenance since its launch. Lots of great projects here! (是也乎: Typer 绝对是惊喜, 作为 FastAPI 的 CLI 版本, 感觉只是游戏之作, 但是, 在 CLICK 之上, 融合 FastAPI 的气质, 立即大热… 当然, 俺还是用 Invoke(来自 Febric 的习惯…) tryolabs.com 每年总结 top10 模块, 已经有年头了, 品味没毛病. ) 2020 年 Real Python 创作回顾 REAL PYTHON podcast It’s been quite the year! The Real Python team has written, edited, curated, illustrated, and produced a mountain of Python articles this year. This year-end wrap-up shares a collection of articles that showcase a diversity of Python topics. (是也乎: 有妺 ;-) 真蟒年回顾… Tkinter 居然还是主流… ) Pandas 1.2.0的新功能 PYDATA.ORG 探讨/吐糟 Discussions ...

2020-12-30 · 5 min · 2382 words · ZoomQuiet

Issue 452

Python 3.10a3 发布 原文: PyCoder’s Weekly - Issue #452 201223 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 201223 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 软件基金会 2020 募捐 PYTHON.ORG “COVID-19 has changed all aspects of our lives and is reshaping our future. Nonprofits like the PSF are having to rebuild. With PyCon 2020 and 2021 happening virtually, the PSF is faced with potentially losing $1.2 million USD of expected revenue for those two years. This fundraiser is critically important and the money raised will help the PSF support the tools and initiatives that Pythonistas use everyday.” (是也乎: Pythonistas 年度咨文, 值得动员日本分部漫画化. 将今年损失的 120万$ 找回来. ) 建立自己的国际象棋引擎 ANDREW HEALEY Writing your own chess engine is a great way to explore computational complexity and combinatorial aspects of programming. Not to mention it’s pretty fun! Follow along with this reflection on how one coder created his own Chess engine from scratch. (是也乎: 反正, 没人折腾 go 的. ) 用 Python pickle 模块序列化对象 REAL PYTHON course Learn how you can use the Python pickle module to convert your objects into a stream of bytes that can be saved to a disk or sent over a network. You’ll also learn the security implications of using this process on objects from an untrusted source. (是也乎: 等等, 官方已经不推荐用 pickle 了哪.. ) Python 真的是瓶颈吗? ANNA ANISIENIA Python is slow. From one perspective, that is. But what are the true bottlenecks in the data engineering/data processing space, and how does Python compare to other technologies when those factors are considered? (是也乎: 工具的瓶颈并不是工程的, 人思想的瓶颈才一直是. ) 用 PyQt 的 QThread 防止 GUI 冻结 REAL PYTHON In this step-by-step tutorial, you’ll learn how to prevent freezing GUIs by offloading long-running tasks to worker QThreads in PyQt. (是也乎: 其实, 就是 Qt 不得不接管系统的各种职责在完成自我控制. ) Python 3.10a3 发布 PYTHON.ORG See what changes Python 3.10 will bring 新指导委员会选出ed TWITTER.COM/PYBLOGSAL 探讨/吐糟 Discussions NONE ...

2020-12-23 · 4 min · 1768 words · ZoomQuiet