PyCoder 545

Python 版 Rust/内置 linter clippy 来了 原文: PyCoder’s Weekly - Issue #545 221005 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 221005 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 用 Django Channels 和 WebSocket 构建实时聊天 MUHAMMED ALI Building stateful web applications can be tricky, unless you use a framework, of course. Django to the rescue! In this article, learn how to build a real-time chat app using Django Channels and WebSockets. 用 Python 生成二维码 JERRY ZHU QR codes are two dimensional bar codes that allow you to embed URLs in images. Learn how to make a QR code using the qrcode library. (是也乎: 奇怪知识总是在增长 ) 用 Django Ninja 构建鬼鬼祟祟的 REST API REAL PYTHON COURSE In this video course, you’ll learn how to use Django Ninja, a FastAPI inspired tool for turning Django views in REST API endpoints. With Ninja, you can quickly build API endpoints. (是也乎: ) 探讨/吐糟 Discussions ...

2022-10-05 · 4 min · 1819 words · ZoomQuiet

PyCoder 544

Python 3.12 目标发布 原文: PyCoder’s Weekly - Issue #544 220928 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220928 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 实在是非开发人员的效率工具 REAL PYTHON PODCAST Are you interested in using Python in an industry outside of software development? Would adding a few custom software tools increase efficiency and make your coworkers’ jobs easier? This week on the show, Josh Burnett talks about using Python as a mechanical engineer. (是也乎: ) 基于 Python 应用程序的 Heroku 替代方案 TESTDRIVEN.IO • Shared by Micheal Herman Learn about alternatives to Heroku and their pros and cons. Platforms discussed include Digital Ocean, Google App Engine, AWS, Azure, PythonAnywhere, and half a dozen more. (是也乎: Heroku 实在构造的太方便了, 除非官方作死, 否则, 很难上手后迁移… ) 在 Kubernetes 上运行 Django MOHAMED M EL-KALIOBY This in-depth, seven-part article covers all the ins-and-outs of getting Django running on Kubernetes in a Docker container. Django REST 3.14 发布 DJANGO-REST-FRAMEWORK.ORG Pandas 1.5 发布 PYDATA.ORG (是也乎: 随着Python 本身的加速, Pandas 也将越来越快… ) 征集提案: Synthetic Data Dev Conference GRETEL.AI • Shared by Will Jennings (是也乎: 元宇宙基础计算… ) 2022 年 Django 开发者调查发布 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2022-09-28 · 4 min · 1701 words · ZoomQuiet

PyCoder 543

dataclasses 值得使用 原文: PyCoder’s Weekly - Issue #543 220921 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220921 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 在 Python 中构建 Alexa 等效项 ANDREW HERSHY It’s not as difficult as you think to build an AI program that listens to speech and answers questions. You can make the magic happen in an afternoon by leveraging a few Python packages and APIs. Python SQLite 文档案例增补 REDOWAN DELOWAR • Shared by Redowan Delowar The official documentation of Python’s sqlite3 module is a little short on examples. This article lists various in-depth examples that cover the most commonly used APIs in the module. (是也乎: 反正还是直接 SQL 最标准了… ) 自定义 Python 列表: 从列表继承与 UserList REAL PYTHON In this tutorial, you’ll learn how to create custom list-like classes in Python by inheriting from the built-in list class or by subclassing UserList from the collections module. (是也乎: ) Python 3.11.0rc2 发布 PYTHON.ORG 探讨/吐糟 Discussions ...

2022-09-21 · 4 min · 1595 words · ZoomQuiet

PyCoder 542

Jupyter+git 问题已解决 原文: PyCoder’s Weekly - Issue #542 220913 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220913 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. List Comprehensions Are More Powerful Than You Think MARTIN HEINZ • Shared by Martin Heinz List comprehensions have a lot of depth. This article takes you beyond the basics and explains nested comprehensions, multiple conditionals, exceptions, breaking the loop, and more. (是也乎: 这在 Python一行流 (2021) 中进行了充分的讨论… ) Can Amazon’s CodeWhisperer Write Better Python Than You? BRIAN TARBOX • Shared by Adam Buggia Amazon’s CodeWhisperer is a machine-learning based coding assistant which is currently in beta. Learn about its capabilities and limitations. (是也乎: 可惜是 AWS only 的东西… ) Possible DoS Exposure in Large int to str Conversions GITHUB.COM/PYTHON “A Denial Of Service (DoS) issue was identified in CPython because we use binary bignum’s for our int implementation. A huge integer will always consume a near-quadratic amount of CPU time in conversion to or from a base 10 (decimal) string with a large number of digits. No efficient algorithm exists to do otherwise.” Django Bugfix Release: 4.1.1 DJANGO SOFTWARE FOUNDATION Python 3.10.7, 3.9.14, 3.8.14, and 3.7.14 Released CPYTHON DEV BLOG TensorFlow 2.10 Released TENSORFLOW.ORG 探讨/吐糟 Discussions ...

2022-09-13 · 4 min · 1602 words · ZoomQuiet