Twisted 21.7.0 发布
原文: PyCoder's Weekly - Issue #484
- 210804 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
- 210804 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- Python 和 REST APIs: 与Web服务交互
- REAL PYTHON
In this tutorial, you’ll learn how to use Python to communicate with REST APIs. You’ll learn about REST architecture and how to use the requests library to get data from a REST API. You’ll also explore different Python tools you can use to build REST APIs.
(是也乎:
现代西方, 所有场景中, 不出现黑人就不政治正确, 黄色人种嘛背景中有就好...
)
- Launchpad 现, 跑在 Python 3 上
- COLIN WATSON
Python 2 was sunsetted over a year ago, but many folks still find themselves maintaining large Python 2 codebases. The Launchpad team recently finished porting their entire codebase to Python 3, and this article reflects on that process, discusses some of the difficulties they encountered, regressions that occurred, and provides a number of lessons they learned throughout the process. If you are in a position of porting a Python 2 codebase to Python 3, definitely check this out.
(是也乎:
不易哪, 好象 PyPI 至今还在 Py2 上跑着呢?
)
- PEP 665: 为Python项目指定安装要求
- PYTHON.ORG
There’s a new PEP in town, and this one deals with improving how installation requirements are specified in Python projects. The PEP is still in Draft status.
(是也乎:
30年后, Python 终于开始为项目部署时考虑了.. )
- Twisted 21.7.0 发布
- TWISTEDMATRIX.COM
(是也乎:
ರ_ರ_
上古神器, 继续更新ing...
)
- Django Bugfix : 3.2.6 发布
- DJANGO SOFTWARE FOUNDATION
探讨/吐糟
Discussions
- Do Coders 如何从文档中使用整个库?
How do you learn a new library? Do you start with the docs? What do you do if the documentation is lacking? Or do you first search for video lessons or written tutorials?
(是也乎:
作人呢就是为了开心, 不开心时, 多读读文档就能更加不开心了...
)
文章/教程/嗯哼
Articles, Tutorials and Talks
- Python’s ChainMap: 有效地管理多个上下文
- REAL PYTHON
In this step-by-step tutorial, you’ll learn about Python’s ChainMap and how to use it to group multiple dictionaries together and manage them as a single one. ChainMap is handy when you need to manage multiple scopes and contexts and define access priorities.
(是也乎:
)
- 用 Python&Django 处理每秒 100 个请求
- DAVID FISCHER
The folks over at Ethical Ads recently broke their ads out of the codebase for Read the Docs, where it had been served from a Django app as part of the Read the Docs code line up until 2019. They decided to use Python and Django for their application since the team already knew that stack well. This article compares the performance of hosting services and explains how they stress-tested their application to ensure the best performance at the right cost.
(是也乎:
在 100KC 时代, Python 从 100C 重新开始?
)
- 对你的 Python 代码开始动用调试器
- REAL PYTHON
- podcast
Are you still sprinkling print statements throughout your code while writing it? Print statements are often clunky and offer only a limited view of the state of your code. Have you thought there must be a better way? This week on the Real Python Podcase, Nina Zakharenko discusses her conference talk titled “Goodbye Print, Hello Debugger.”
(是也乎:
叕来推荐 Debugger 了, 不过, print 警车依然好用.
)
- Replit.web: 内置数据库和Auth支持的Python框架
- SPENCER POGORZELSKI
The folks over at replit have released a new Python web framework with built-in authentication and database support and, more interestingly, hosting. In a few lines of code, you can have a Python web app connected to a database, authenticating users, and hosted on replit. This could be a great tool for quickly building and hosting prototypes or experimental projects.
(是也乎:
看起来就是对自己 Repl DB 的广告模块...
)
- 用 Raspberry Pis 和 Prometheus 监控家中温度和湿度
- CHRIS COLLINS
Do you enjoy collecting and analyzing data, or are you looking for a fun project to improve your data skills? Do you also enjoy tinkering with hardware? Then this project might be a fun one for you to check out! Learn how to set up a RaspberryPi using Prometheus to collect and monitor temperature sensor data.
(是也乎:
等等, 那个 Prometheus ? 大炮打蚊子?
)
- 使用 sleep() 来编排 Python 正常运行机组
- REAL PYTHON
- course
Learn how to add time delays to your Python programs. You’ll use the built-in time module to add Python sleep() calls to your code. To practice, you’ll use time.sleep() when making an uptime bot that checks whether a website is still live.
(是也乎:
)
- 如何在 5分钟内停止 Django 应用
- MATTHEW FREIRE
This short yet informative tutorial explains how to Dockerize a Django application. The tutorial clocks in at less than a 10 minute read, but still finds time to explain why you should consider using Docker in your Django projects.
(是也乎:
继续努力到 5秒, 才有吸引力...
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- prometheus: Prometheus 监控系统和时间序列数据库
- GITHUB.COM/PROMETHEUS
(是也乎:
NoSQL 之后, NEWSQL 基本都是要: 支持 SQL 以及最好时序优先...
毕竟应对越来越复杂的数据之海, 只有时序是唯一不变的了...
等等,时间 也是相对的哪, 人类从现在开始就自学建筑地球时间轴霸权了?
)
-
BirdNET: Soundscape 分析与 BirdNET
- GITHUB.COM/KAHST
-
python-launcher: Python Launcher for Unix
- GITHUB.COM/BRETTCANNON
(是也乎:
cargo install python-launcher
嗯哼? Rust 软件仓库可以拿来干这种事儿?
这个终端效果很丰富了...
)
- connector-x: 将DB数据从加载到Rust和Python中的DataFrame/最快的库
- GITHUB.COM/SFU-DB
(是也乎:
以往嘦load 到 Python 就足够时尚, 后来最好同时 load 到 golang, 现在必须同时 load 到 rust 才 COOL;
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
⋅ Real Python Office Hours (Virtual)
- August 4, 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