pythonista-weekly : Pyw 481

欢迎阅读《pythonista周刊》第481期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-481 翻译:Dustyposa 新闻 PyCon Us 2021 Call for Proposals PyCon US 2021 的演讲、教程和海报征集活动已经正式开始。 PEP 648 – Extensible customizations of the interpreter at startup 系统管理员,重新打包解释器的工具以及一些库需要在启动时自定义解释器的各个方面。 这通常是通过 sitecustomize.py 为系统管理员实现的,而库则依赖于利用 pth 文件。 该 PEP 提出了一种以更加用户友好和结构化的方式实现相同目的的方法。 ...

2021-01-08 · 4 min · 1518 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

pythonista-weekly : Pyw 480

欢迎阅读《pythonista周刊》第480期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-480 翻译: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 文章、教程与话题 完整教程:利用机器学习进行性别预测 学习如何使用 TensorFlow 2 训练模型,使用 FastAPI 将其公开为 API,然后使用 Flutter 为 iOS 和 Android 构建客户端应用。 Flask - A list of useful “HOW TO’s” 一个为Flask开发者提供提示和功能的精选列表:authentication, SQLAlchemy, JSON, redirects. Cyberpwned 用 50 行 Python 代码搞定 Beating Cyberpunk 2077’s 的小游戏。 NumPy Illustrated: NumPy视觉指南 补习你的 NumPy ,或者从头开始学习。 区块链与Python 一个关于用 Python 创建一个简单的区块链的系列。 String Interning in Python 每一门编程语言都以表现力为目标, Python 也不例外。在这篇文章中,我们将深入研究 Python 的内部结构,并找出 Python 是如何使用一种名为 String Interning 的技术使其解释器具有高性能的。 Recreating grep in Python 一个关于如何制作 Python CLI 工具的例子。 Building My Own Chess Engine 探索国际象棋的计算复杂性。Python 中的代码片段,所以你也可以这样做。 Production Machine Learning Monitoring: Outliers, Drift, Explainers & Statistical Performance A practical deep dive on production monitoring architectures for machine learning at scale using real-time metrics, outlier detectors, drift detectors, metrics servers and explainers. 用Python自动实现SQL注入 这篇文章向你展示了如何用 Python 自动进行 SQL 注入。 如何用Python创建一个基于AI的全自动交易系统 端到端项目:获取数据、训练模型、下单、获得通知。 用OpenCV和Python检测ArUco标记 在本教程中,你将学习如何使用 OpenCV 和 Python 检测图像和实时视频流中的 ArUco 标记。 使用PyTorch JIT优化模型 这篇文章向你展示了 JIT 是如何工作的,重点是使融合优化成为可能的部分,并从一个很高的层面进行了深入的实验,试图展示一些内部的工作原理。 Python微服务Web应用程序(与React、Django、Flask)–完整教程 使用 Python 微服务可以让你把你的应用程序分解成更小的部分,这些部分相互通信。这可以使根据流量来扩展应用程序变得更简单。此外,关注点的分离使得一次只对应用的一个部分进行工作变得更容易。 使用TIG协议栈监控Python中的网络调用 用Python和Scikit-learn进行OPTICS聚类 使用Py.test的五个理由 ...

2020-12-24 · 3 min · 1209 words · ZoomQuiet