pythonista-weekly : Pyw 436

欢迎阅读《pythonista周刊》第436期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-436 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): 使用 Datadog 监控你的python指标,日志,集群分析。使用Datadog的应用分析,可以深入任何纬度并且能找到你所需要的信息,来进行动态诊断和快速故障排除。[马上跟踪你的python应用吧!免费试用14天哦!]( ...

2020-02-15 · 6 min · 2840 words · ZoomQuiet

Issue 407

Guido 老爹义劝快乐的为 Python 提贡献吧 原文: PyCoder’s Weekly - Issue #407 200205 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200205 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. 通过比较流行的项目模板了解 Python 工具的最佳实践 JONAS KEMPER “Use Flake8, pytest, and Sphinx in your current Python project. Also evaluate pre-commit, black, and Pylint. For your next project, consider adding poetry and Dependabot.” (是也乎: 老爹对结果呛声指点更加实在的… @gvanrossum You missed mypy. Simpler docs use markdown, not ReST (Sphinx). Black is overrated unless your team argues over style a lot. You don’t need Pylint if you’re using flake8. Never heard of poetry or dependabot. And you should use a CI solution, e.g. Travis-CI, to run your tests. ) ...

2020-02-12 · 6 min · 2744 words · ZoomQuiet

pythonista-weekly : Pyw 435

«««< HEAD 欢迎阅读"pythonista周刊"第434期. Let us start ||||||| merged common ancestors 欢迎阅读《pythonista周刊》第434期。Let us start ======= 欢迎阅读《pythonista周刊》第435期。Let us start 7c6594c1870a78f2c9fcdac66e7eab89c8e10c35 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-435 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): python开发者都需要的Vettery Vettery是一个招聘网站,它改变了人们应聘或者雇佣的方式. 准备好换工作地方了吗?免费制作简历,你的薪资你说了算,现在就和顶级雇主的HR联系吧! ...

2020-02-08 · 5 min · 2433 words · ZoomQuiet

Issue 406

值得收藏的22个最常用 Python 模块 原文: PyCoder’s Weekly - Issue #406 200205 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200205 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. 如何下架 Python 2 从而提升开发人员幸福感 BARRY WARSAW “Now that LinkedIn engineering has fully embraced Python 3, we no longer have to worry about supporting Python 2 and have seen our support loads decrease. We can now depend on the latest open source libraries and tools, and free ourselves from the constrictions of having to write bilingual Python.” (是也乎: LinkedIn 的故事教导我们… ) Python " != " 不是 " is not “: 对象对比在 Python REAL PYTHON In this quick and practical tutorial, you’ll learn when to use the Python is, is not, == and != operators. You’ll see what these comparison operators do under the hood, dive into some quirks of object identity and interning, and define a custom class. (是也乎: 好可爱的插图, 油号不匹配真的会出大事儿的 ) 适用 Python 的简洁代码概念 RIGEL DI SCALA “Software engineering principles, from Robert C. Martin’s book Clean Code, adapted for Python. This is not a style guide. It’s a guide to producing readable, reusable, and refactorable software in Python.” 世界上 22 个最常用的Python软件包 ERIK-JAN VAN BAAREN “As a starting point, I took a list of the most downloaded Python packages on PyPI over the past 365 days. Let’s dive in and find out what they do, how they’re related, and why they rank so high!” (是也乎: 最具价值的模块, 多数没收录在内建中: Urllib3; Six(2->3 自动兼容); botocore, boto3, s3transfer, awscli (云厂商专用模块); Pip;Python-dateutil;Requests; S3transfer;Certifi(SSL 支持模块我); Idna(民族文化); PyYAML(越来越常用的); Pyasn1;Docutils;Chardet; RSA; Jmespath(叕一个 JSON 支持); Setuptools;Pytz;Futures; Colorama;Simplejson; 都是百万级别的下载量… ) 2020 我将如何测试 JAMES BENNETT “Everything I’m currently doing for testing my personal [Python] projects, and the reasoning for why I do things the way I do.” Interesting read if you’re looking to optimize your testing setup. (是也乎: 私人项目才玩的起高科技哪, 越是大项目, 越应该选择无聊的技术桟. ) Django 安全笑柄发布: 3.0.3, 2.2.10, and 1.11.28 DJANGOPROJECT.COM Fixes CVE-2020-7471: Potential SQL injection via StringAgg(delimiter) (是也乎: Django 现在分裂为几个大产品线,是否正确, 还有待市场检验. ) Pandas 1.0.0 新特性 (稳定版) PYDATA.ORG (是也乎: 等了10多年的 1.0 版本 ) 讨论 Discussions ...

2020-02-05 · 4 min · 1995 words · ZoomQuiet