蟒周刊428Pylance-VSCode-全新-Python-支持扩展

2次阅读

共计 6182 个字符,预计需要花费 16 分钟才能阅读完成。

原文: PyCoder’s Weekly – Issue #428

  • 200708 Zoom.Quiet(大妈) 用时 42 分钟 实现快译
  • 200708 Zoom.Quiet(大妈) 用时 37 分钟 实现格局转抄.

  • 公布 Pylance: Visual Studio Code 对 Python 疾速 / 功能丰富的语言反对

    • SAVANNAH OSTROWSKI

Pylance is a new Python language server for VS Code based on Microsoft’s Pyright static type checking tool. With Pylance, you get type information in function signatures and when hovering on symbols, auto import suggestions, type checking diagnostics, and so much more!

(是也乎:

官网推出更加弱小的 Python 反对扩大,
更多的剖析, 更多的提醒, 以及更多的内存抢占 ….

俺是什么 Py 反对扩大都不装置的.

)

  • Python 异步框架: 超过开发者部落

    • TOM CHRISTIE

In light of some recent and, at times, heated discussions regarding asynchronous programming in Python, Django Rest Framework’s creator Tom Christie calls on the community to embrace a more collaborative spirit.

(是也乎:

在异步大浪中, 没有人原意和同步粘边儿.

)

  • 敞开文件的相同观点

    • ARIC COADY
    • opinion

You’ve may have heard that the“right”way to open a file in Python is to use the open() function inside of a with statement. But is that always the right choice?

  • Flask 我的项目设置: TDD/Docker/Postgres/…

    • LEONARDO GIORDANI

Learn one way to set-up a Flask project, including how to handle project requirements, configuration and environment variables, writing and running tests, and containerizing the application with Docker. When you’re done reading part one at the link above, check out part two.

  • Django 入门第 2 局部: 用户治理

    • REAL PYTHON

In this step-by-step tutorial, you’ll learn how to extend your Django application with a user management system, complete with email sending and third-party authentication.

(是也乎:

)

  • 用 FastAPI 和 Heroku 部署和托管机器学习模型

    • MICHAEL HERMAN
    • • Shared by Michael Herman

Getting machine learning models into production is an often-overlooked topic. Learn how to serve a model in just a handful of lines of Python using FastAPI and Heroku.

(是也乎:

FastAPI 是好的,
Heroku 就嗯哼了 …

)

  • 2020 年 Python 软件基金会董事会选举回顾及后续

    • ERNEST W. DURBIN III

(是也乎:

DURBIN 三世, 这名字大气哪.
)

  • Python 3.9.0b4 已可测试

    • CPYTHON DEV BLOG

探讨

Discussions

  • Python 语言外围是什么?

    • HACKER NEWS

Last week we featured Brett Cannon’s article with the same title. Well, the post has generated quite a discussion on Hacker News.

(是也乎:

上周触发的大探讨还在持续

)

  • 为什么 NaN 值使 min() 和 max() 对程序敏感?

    • STACK OVERFLOW

How NaNs compare to numerical values and the implications of that in min() and max() might be surprising.

  • 为毛 f-Strings 存在时人们还要用 format()?

    • REDDIT

f-Strings aren’t exactly a drop-in replacement for .format().

(是也乎:

显性和隐性调用,
个别为了治理, 还是显性来的明确.

)

文章, 教程和嗯哼

Articles, Tutorials and Talks

  • 谎话的迷宫

    • MOSHE ZADKA

What should you do after watching 1986’s puppet-laden musical fantasy Labyrinth? Code up the guard scene in Python, of course! After you read Moshe’s solution to the infamous“Two Door Riddle”at the link above, check out Glyph Lefkowitz‘s“professionalized”version of the code.

(是也乎:

Python 始终没来到过艺术界

)

  • 大量内存开销: Python 中的数字以及 NumPy 如何提供帮忙

    • ITAMAR TURNER-TRAURING

In Python, everything is an object. Even numbers. While this has advantages, objects have a memory overhead that might be unexpected. While this overhead is often negligible, it might be the difference between 8GB and 35GB in extreme cases.

  • 用 StaticFrame 代替 Pandas 的十个理由

    • CHRISTOPHER ARIZA
    • • Shared by Christopher Ariza

For those coming from pandas, StaticFrame offers a more consistent interface and reduces opportunities for error. This article demonstrates ten reasons you might use StaticFrame instead of Pandas.

  • 如何用 Python 筛选器

    • KATHRYN HANCOX

Python’s built-in filter() function can be used to create a new iterator from an existing iterable with certain elements removed based on some criterion.

  • 考虑 Pandas: Python 数据分析是正确的办法

    • REAL PYTHON
    • podcast

Are you using the Python library Pandas the right way? Do you wonder about getting better performance, or how to optimize your data for analysis? What does normalization mean? This week Hannah Stepanek joins the podcast to discuss her new book“Thinking in Pandas”.

(是也乎:

正确的路线 …

所有都应该在内存中.

)

  • 面向对象编程 (OOP) 在 Python 3

    • REAL PYTHON

In this freshly updated OOP tutorial, you’ll learn all about object-oriented programming in Python. You’ll learn the basics of the OOP paradigm and cover concepts like classes and inheritance.

(是也乎:

嗯哼? 特意看了一下日期 …
2020 了, 还要忽悠 OOP 嘛?

)

  • 教程: 基于 If-Else 条件将列增加到 Pandas DataFrame

    • CHARLIE CUSTER
    • • Shared by Charlie Custer

If you’re new to pandas, you might be tempted to add a column to a DataFrame based on a condition using an if statement. But there’s a better way!

  • Darts: 用 Python 简化工夫序列

    • JULIEN HERZEN

Darts is a new library from Unit8 that offers a single package for end-to-end machine learning on time series.

好物

Interesting Projects, Tools and Libraries, Projects & Code

  • EasyOCR: 即用型 OCR,反对 40 多种语言,包含中文,日文,韩文和泰文

    • GITHUB.COM/JAIDEDAI

(是也乎:

42 国语言 OCR 反对.

Afrikaans (af), Azerbaijani (az), Bosnian (bs), Simplified Chinese (ch_sim), Traditional Chinese (ch_tra), Czech (cs), Welsh (cy), Danish (da), German (de), English (en), Spanish (es), Estonian (et), French (fr), Irish (ga), Croatian (hr), Hungarian (hu), Indonesian (id), Icelandic (is), Italian (it), Japanese (ja), Korean (ko), Kurdish (ku), Latin (la), Lithuanian (lt), Latvian (lv), Maori (mi), Malay (ms), Maltese (mt), Dutch (nl), Norwegian (no), Polish (pl), Portuguese (pt),Romanian (ro), Slovak (sk) (need revisit), Slovenian (sl), Albanian (sq), Swedish (sv),Swahili (sw), Thai (th), Tagalog (tl), Turkish (tr), Uzbek (uz), Vietnamese (vi)

)

  • python-keyboard: 由 Python 驱动的手造双模键盘

    • GITHUB.COM/MAKERDIARY

(是也乎:

嗯哼? 当初定制键盘厂商曾经硬核到这种水平了?

–> python-keyboard: 手焊的、跑 Python 的 USB + 蓝牙双模键盘

)

  • static-frame: 具备自对准标记轴的一维和二维计算的不可变数据结构

    • GITHUB.COM/INVESTMENTSYSTEMS

Calculations With Self-Aligning, Labelled Axes

  • isort: 用于对导入进行排序的实用程序

    • GITHUB.COM/TIMOTHYCROSLEY
  • darts: 一个易于操作和预测工夫序列的 Python 库

    • GITHUB.COM/UNIT8CO

(是也乎:

嗯哼, 这名起的 … 太纠缠了.
)

  • pygooglenews: 如果 Google 新闻具备 Python 库

    • GITHUB.COM/KOTARTEMIY

(是也乎:

如果 …

)

  • guietta: 制作简略 Python GUI 的工具

    • GITHUB.COM/ALFIOPUGLISI

(是也乎:

叕一个 GUI 框架呈现,
是否针对最终用户的 GUI 框架沉闷,
阐明一个技术生态开始向终端市场歪斜了?

等等, 只是 Qt 的一种包裹?

)

  • texthero: 从零到雄奇 的文本预处理 / 示意和可视化

    • GITHUB.COM/JBESOMI

(是也乎:

文本俊杰 ~ Pandas 的方面方言.

)

  • ether-automaton: 基于生命游戏制作丑陋像素动画

    • GITHUB.COM/ETHER-AUTOMATON
    • • Shared by anfederico

(是也乎:

彩色动画版 生命游戏.

)

  • strongtyping: Python 函数运行时类型查看装璜器

    • GITHUB.COM/FELIXTHEC

(是也乎:

运行时测验, 永远 bigger 不够哪.

)

  • django-pgtrigger: Postgres 触发器与 Django 模型集成

    • GITHUB.COM/JYVEAPP
    • • Shared by Wes Kendall

(是也乎:

好象当初对 Pg 上心, 才是政治正确的姿势.

)

???????? 流动 / 大会

Events, MeetUp 真的是寰球线下流动组织核心

  • ⋅ SciPy 2020 (Virtual Conference)

    • July 6 to July 13, 2020
  • ⋅ PyMNTos (Virtual Meetup)

    • July 9, 2020
  • ⋅ Python Atlanta (Virtual Meetup)

    • July 9, 2020

(是也乎:

中国也曾经接到无关告诉, 容许线下集会申报了 …

而且往年程序员节 (10.24) 可能有超级大会.
)

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

101camp10py 开始报名


课程布局:
    报名截止 2020.7.20
    正式开课 2020.7.26
    课程完结 2020.9.06

详情 => 蟒营™ Python 入门班第 10 期

揭示: 首周报名再优惠 420 元.

PS:

  • 首发: Issue 428 ~ 蠎周刊 ~ 会集寰球蠎事儿 ;-)
  • 订正: issue-428.md

NN 4068

好文笔, 感叹号年度配额: 1/3

投稿 / 反馈邮箱:

askdama@googlegroups.com

(邮件列表地址,
当成失常邮件发送邮件就好, 不必注册, 不必翻越 …)


ZoomQuiet/大妈

就是到处 是也乎,(~▽~) 的那个大妈:


擅自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 开创组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG 珠海 (订阅号: GDG-ZhuHai)
        TFUG 珠海 (订阅号: ZH_TFUG)

蟒营®编程思维提高班 Python 版 第 10 期 报名:

  • 7.1~7 第一周报名, 统惠 420 元
  • 报名截止 2020.7.20
  • 正式开课 2020.7.26
  • 课程完结 2020.9.06

蟒营®原创课程服务:

伴你重享学习乐趣 

蟒营®: 编程思维提高班 Python 版

  • 自怼圈
  • 蟒周刊

Powered by: Zoom.Quiet / 昧因科技®

本文由博客一文多发平台 OpenWrite 公布;

正文完
 0