2021 Python Web Conference 视频发布
原文: PyCoder's Weekly - Issue #479
- 210630 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
- 210630 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- Python Redux 中的子类化
- HYNEK SCHLAWACK
Have you ever heard someone say that composition is better than inheritance? It’s an age-old conflict in object-oriented programming that’s been the impetus for numerous online debates. Author Hynek Schlawack, who describes himself as “firmly in the composition-over-inheritance camp” explains in this article how “Python is designed in a way that you can’t write idiomatic code without subclassing sometimes.”
(是也乎:
组合总比继承香? 看场景了, 如果要分包给印度弟兄们, 还是继承吧...
)
- Python 中的相关分析初步
- OLGA BEREZOVSKY
- • Shared by Olga Berezovsky
Correlation analysis is a useful part of exploratory data analysis. It can help you identify potential relationships between various features of your data. In this helpful guide, you’ll learn how to do correlation analysis in a pandas DataFrame. You’ll see how to display a correlation matrix as a heatmap and explore some guidelines for identifying when correlation might imply causation.
- 反转 Python 列表: 超越 .reverse() 和 reversed()
- REAL PYTHON
In this step-by-step tutorial, you’ll learn about Python’s tools and techniques to work with lists in reverse order. You’ll also learn how to reverse your list by hand.
(是也乎:
)
-
Python 3.9.6, 3.8.11, 3.7.11, and 3.6.14 现已推出
- CPYTHON DEV BLOG
-
2021 Python Web Conference 视频发布
- SIXFEETUP.COM
- • Shared by Laura Stephens
-
- PAPERCALL.IO
-
- REAL PYTHON
With CPython Internals: Your Guide to the Python 3 Interpreter, you’ll unlock the inner workings of the Python language, learn how to compile the Python interpreter from source code, and cover what you’ll need to know to confidently start contributing to CPython yourself.
(是也乎:
)
探讨/吐糟
Discussions
- Tkinter… 不错呢
Tkinter. Sometimes it seems like you either love it or hate it. While Tkinter doesn’t check all the boxes for every GUI, it definitely has its use cases. And the fact that it comes built into the Python standard library is a huge plus. This Reddit thread spreads some much-needed love for the library.
(是也乎:
当然了, NASA 至今都在快乐的使用...
当然还有 pysimplegui 们, 反正拼不过 Qt 们的广告, 就得靠程序猿口口相传了... )
文章/教程/嗯哼
Articles, Tutorials and Talks
- Django Rest Framework 内置权限类
- ŠPELA GIACOMELLI
- • Shared by GirlLovesToCode
Django REST Framework (DRF) is a full-featured framework built on top of Django for creating REST APIs. This article covers built-in permissions classes in DRF that you can use to restrict permissions on an API view. You’ll learn how to use each of the seven built-in classes, as well as how to restrict permissions globally or per object.
- Python 的比特币 从头开始之旅
- ANDREJ KARPATHY
This in-depth article from Tesla’s head of AI shows you how to create, digitally sign, and broadcast a Bitcoin transaction in pure Python, from scratch, and with zero dependencies. Along the way, you’ll learn quite a bit about how Bitcoin works under the hood.
- 一种管理 Python 应用程序中事务性消息的 API/电子邮件、短信、推送、应用程序内、Slack
- COURIER
- sponsor
Trigger event-based messages from your Python app in just a few lines of code. One API with endpoints for white-label branding, sophisticated automation rules, and an in-app inbox. Product can design messages with our drag and drop editor. 10k notifications free /mo with Courier →
(是也乎:
10万次/月 免费?
)
- 用 CSV 文件练习 Python 并使用 filter() 提取值
- REAL PYTHON
- podcast
Are you ready to practice your Python skills some more? There is a new set of practice problems prepared for you to tackle, and this time they’re based on working with CSV files. This week on the Real Python Podcast, David Amos is back, and he’s brought another batch of PyCoder’s Weekly articles and projects.
(是也乎:
尽可能用模块吧, 常见问题早已优雅解决过, 就别反复解决.
)
- 在 Python 中测量内存使用情况: 这很囧!
- ITAMAR TURNER-TRAURING
Measuring memory usage in Python is tricky. In this article, you’ll learn a simplified yet informative model for how memory works. You’ll explore two memory-resident and allocated memory and how to measure them with Python. Finally, you’ll explore the tradeoffs between the two methods for measuring memory.
- Functools: Python 高阶函数的威力
- MARTIN HEINZ
- • Shared by Martin Heinz
The functools module is one of the “hidden gems” of the Python standard library. This article takes you on a tour of everything in functools. You’ll learn how to implement caching, function overloading, and a whole lot more.
(是也乎:
毕竟是老爹得意之作, 如果忽略可读性的话, 值得大力使用.
)
- Python 内部函数
- REAL PYTHON
- course
In this step-by-step course, you’ll learn what inner functions are in Python, how to define them, and what their main use cases are.
(是也乎:
毕竟是老爹亲手写的, 值得好好使用
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- devops-exercises: DevOps 面试问题集
- GITHUB.COM/BREGMAN-ARIE
(是也乎:
1500+ QA
可以当成 面试题库来用了...
)
- ormar: 包含 Fastapi 和 Pydantic 验证的 Python 异步 Orm
- GITHUB.COM/COLLEREK
(是也乎:
ORM 也异步了? 基于 sqlalchemy 的... )
-
- GITHUB.COM/MITOGEN-HQ
-
play-online-chess-with-real-chess-board: 用 Python 和 OpenCV 使用真正的棋盘玩在线国际象棋
- GITHUB.COM/KARAYAMAN
(是也乎:
go 都解决了, chess 也就能 JS 了
)
-
- GITHUB.COM/CASSPOP
-
- GITHUB.COM/SCANAPI
- • Shared by Camila Maia
(是也乎:
自动化编写代码的东西越来越多了, 想不失业, 这种应用的编写技巧得上手了...
有小姐姐演示 https://www.youtube.com/watch?v=JIo4sA8LHco&t=2s
嘦事先定义:
endpoints:
- name: scanapi-demo # The API's name of your API
path: http://demo.scanapi.dev/api/ # The API's base url
requests:
- name: list_all_devs # The name of the first request
path: devs/ # The path of the first request
method: get # The HTTP method of the first request
tests:
- name: status_code_is_200 # The name of the first test for this request
assert: ${{ response.status_code == 200 }} # The assertion
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
⋅ Real Python Office Hours (Virtual)
- June 30, 2020
-
- July 5 – 10, 2021
-
- July 8, 2021
-
- July 26 – August 1, 2021
-
- September 17 – 20, 2021
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
(是也乎:
独创 logging + debug 模块
)
(是也乎:
老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:
)
- 如何持证 (SSL) 开车 — 蟒营™ 怂怼录
- UPYUN
(是也乎:
私人初体验, 现在 http/https 资源混用浏览器越来越傲娇了, 最好有工具可以统一迁移...
)
PS:
好文笔,感叹号年度配额: 2/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
Comments