原文: PyCoder's Weekly - Issue #412
- 200318 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
- 200318 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- 最关键的 Python 代码指标
- STEVE DOWER
“Code metrics are a popular way to analyse the complexity of our software. For some reason, we are attracted to single-figure summaries of quality, whether it’s lines of code, cyclomatic complexity, or the Pylint score. Personally, I think using these are about as valuable as judging another person based on one of their visible or measurable characteristics.”
(是也乎:
对 圈复杂度 们的叕一次私人反击, 但是, 资本将重构一切.
)
- 用 PyGame 作 2D 卷轴游戏
- REAL PYTHON
- video
In this step-by-step course, you’ll learn how to use PyGame. This library allows you to create games and rich multimedia programs in Python. You’ll learn how to draw items on your screen, implement collision detection, handle user input, and much more.
(是也乎:
卷轴式游戏从无到有...
)
- 机器学习十大 Python 软件包
- ACTIVESTATE
- sponsor
The field of data science is rapidly growing and relies heavily on Machine Learning; with hundreds of ML libraries, Python has become the language of choice for most engineers. Check out ActiveState’s list of the top 10 ML packages to learn →
(是也乎:
一直低调赚钱的 ACTIVESTATE , 发布的 Python 发行版本可以说是最稳定的一支; 他们心目中的 ML 模块是:
#10 Matplotlib
#9 Natural Language Toolkit (NLTK)
#8 Pandas
#7 Scikit-learn
#6 Seaborn
#5 NumPy
#4 Keras
#3 SciPy
#2 Pytorch
#1 TensorFlow
嗯哼, 有两个纯粹可视化模块...
以及, TF 完胜 PyTorch ...
)
- Django 项目新治理模型
- DJANGOPROJECT.COM
The Django core team, the Django Technical Board, and the Board of Directors of the Django Software Foundation have held their deliberations and voted to accept Django Enhancement Proposal (DEP) 10. Learn what the adoption of DEP 10 means for Django now and in the future.
- 嫑乱打日志
- NIKITA SOBOLEV
What makes a good log? When should you log something, and when is logging overkill? In this opinion piece, Nikita Sobolev argues that logging isn’t always best-practice in an application and discuss some alternatives that might make better sense from a business perspective.
- 针对 Django 服务层
- JAMES BENNETT
“[On the] recommendation to add a ‘service layer’ to Django applications. The short version of my opinion on this is: it’s probably not what you want in Django apps.”
-
- PYCON.BLOGSPOT.COM
-
Monty Python 的 "Ministry of Silly Walks" 可以教导我们如何进行同行评审
- JENNIFER OUELLETTE
(是也乎:
Monty Python 真的是人类历史上最伟大的喜剧团体了...
)
讨论
Discussions
NIL
文章,教程和嗯哼
Articles, Tutorials and Talks
- 文档即是建立社区的一种方式
- MELISSA MENDONÇA
Why is it so difficult to write good documentation? Why are documentation authors for projects often invisible? In this article, Melissa Mendonça investigates the answers to these questions and describes a new NumPy Enhancement Proposal that aims to restructure the NumPy documentation, build a documentation team, and diversify the contributor base.
(是也乎:
说的没错, 可是现在人们不看文字了, 这又怎么办?
)
- 研究人口动态的框架
- DUSTIN MCINTOSH
“World Wandering Dudes is a simulation framework in which you initiate a ‘world’ which consists of a ‘field’ and a set of ‘creatures’ (dudes). The field has food on it. Each day, the creatures run around gathering the food which they need to survive and reproduce.”
- 如何在 Python 中进行二分法搜索
- REAL PYTHON
Binary search is a classic algorithm in computer science. In this step-by-step tutorial, you’ll learn how to implement this algorithm in Python. You’ll learn how to leverage existing libraries as well as craft your own binary search Python implementation.
(是也乎:
真蟒也开始算法细节的嗯哼了..
)
- 用 defaultdict 处理字典键丢失
- REAL PYTHON
Learn how the Python defaultdict type works and how to use it for handling missing keys when you’re working with dictionaries. You’ll also learn how to use a defaultdict to solve problems like grouping or counting the items in a sequence or collection.
(是也乎:
新型内建数据结构, 最大的问题只是不兼容老代码而已
)
- 向 Django 开发者介绍 SQLAlchemy ORM
- DENIS OREHOVSKY
- • Shared by Denis Orehovsky
The Django ORM and SQLAlchemy are two of the most popular Python ORMs, but they have some pretty significant differences. Explore how common actions work in each framework, including transactions, models, queries, and dealing with the N+1 problem.
(是也乎:
Django 内置的 ORM 是最好的.对于 Django 而言.
)
- 用 Python 和 AWS 进行 HTTP 异步攻击
- EMILE FUGULIN
“A couple of months ago, I was at work waiting patiently for some documentation to go live about a new type of attacks against modern web applications called HTTP Desync attacks. Here is the story of my findings in gunicorn!”
(是也乎:
AWS 的问题以及应对,永远不会缺乏关注者
)
- 为毛 Iterable 为空时 all() 返回 True?
- CARL JOHNSONS
Does it make sense for all() to return True for an empty list? Is “all unicorns are blue” a true statement? Does shaving your dog contradict the statement “all mammals have fur?” You’ll have to read to find out!
- 麻烦的活动记录模式
- CAL PATERSON
“How inappropriate data access patterns massively slow down programs and how the same problems arise with RESTful APIs.”
(是也乎:
看起来又是篇为 RPC 复辟叫好的文章.
)
- WebRTC: 可用示例
- PAWEŁ FERTYK
Learn how to implement a simple video chat application in Python and JavaScript that leverages WebRTC.
- Python Twisted 的异步 API 调用初学者指南
- MOSHE ZADKA
(是也乎:
Twisted 的好,不仅仅在她很知名, 还在她是真的与时俱进的活的框架, )
- Itertools 模块简介
- FLORIAN DAHLITZ
- • Shared by Florian Dahlitz
(是也乎:
叕一则对迭代工具包的介绍, 其实, 如此大力的宣传, 并不一定有效, 毕竟 Python 是过程型脚本语言, 不是纯函式语言哪
)
好物
Interesting Projects, Tools and Libraries, Projects & Code
-
tortoise-orm: 受 Django 启发的异步ORM
- GITHUB.COM/TORTOISE
-
- GITHUB.COM/KARLICOSS
(是也乎:
叕一个 IPython notebook 的再制品?
)
- NCLS: Python 的嵌套包含列表
- GITHUB.COM/BIOCORE-NTNU
- • Shared by Endre Bakken Stovner
(是也乎:
开始对常用数据结构死扣内存/CPU 效率了... 这说明, Python 已经进入 盛年 )
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
- ⋅ EuroPython 2020 and COVID-19
- July 20-26
- in Dublin,
- Ireland.
EuroPython 2020 is still scheduled
(是也乎:
欧洲就是奔放哪... )
PyData statement on COVID-19 and Spring 2020 PyData events.
- ⋅ PyData COVID-19 Response
- March 22 to March 30, 2020
(是也乎:
乖的...
)
- ⋅ MoscowPythonConf++
- March 27 to March 28, 2020
(是也乎:
熊国才不怕什么病毒
)
- ⋅ PyCon SK 2020
- Rescheduled to
- September 11–13 2020
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
- Academic-nCoV/2019-nCoV Wiki
- github
(是也乎:
文科生的战斗, 虽然没办法象 wuhan2020 们那样快速组织工程师, 先于国家完成各种实用系统;
但是, 文科生通过大量海外报道的浏览/对比/翻译/报道/...
可以帮助人们通过真实世界的反应, 来更好的理解当前状态.
而且, 一个完全没有技术基础的文科团队, 自然通过 github 完成所有协同, 实在..感动 -> github 太好用了.
)
PS:
NN 3956
好文笔,感叹号年度配额: 1/3
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
核心成员: PyChina (订阅号: PyChinaOrg)
本地组织:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
蟒营™Python入门班 第6期 马上截止报名:
- 报名截止 2020.3.22
- 正式开课 2020.3.29
- 按时结束 2020.5.10
蟒营™式 原创课程服务:
伴你重享学习乐趣
Powered by: Zoom.Quiet / 昧因科技®
本文由博客一文多发平台 OpenWrite 发布;