FastAPI 0.72.0 来也

原文: PyCoder's Weekly - Issue #508

pycoder

  • 220119 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
  • 220119 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.

“It’s quite possible you’re not familiar with this formal term, but you are probably familiar with the syntax: the square brackets used for indexing lists and tuples (sequence[4]), accessing the value of a specified dictionary (dictionary["key"]), etc. To cover this topic we will break up into three parts: general subscriptions, slicing, and multiple arguments.”

(是也乎:

老爹真的是在这对符号中玩出花儿了...

)

Pipenv is a packaging tool for Python that solves some common problems associated with the typical workflow using pip, virtualenv, and requirements.txt. In this course, you’ll go over what problems Pipenv solves and how to manage your Python dependencies with it.

(是也乎:

Pipenv

)

Learn how Probabilistic Programming Languages (PPLs) work by building a simple one in Python.

(是也乎:

之前 50 行已经可以构造出不得了的东西了,现在 70行...

)

The Python community elected its fourth steering council in December 2021. In this article, you’ll catch up on the results of the election as well as news about new maintenance releases of Python and about end-of-life for Python 3.6.

(是也乎:

叕一个永远不发布 1.0 的好东西

)


探讨/吐糟

Discussions

This Twitter thread explores concerns about using the IPython REPL with autoformatting enabled for education purposes and interactive math.

(是也乎:

恶心...不妥协的自动格式化, 对程序猿

)

(是也乎:

情怀, 只是情怀...

)


文章/教程/嗯哼

Articles, Tutorials and Talks

“Pip was caching a wheel built using CFFI and Python 3.11.0-alpha2 and was installing that same wheel for the now Python 3.11.0-alpha3 both on our local machines and in our test suite. By clearing the pip cache on our machines and our CI we were able to get a passing test suite.”

(是也乎:

pip 为什么要缓存上?

)

Would you like a simple command to launch your Python programs using v the newest version of the language installed on your machine? This week on the show, we continue our conversation with Brett Cannon. Brett discusses his project, the Python Launcher for Unix.

(是也乎:

PODCAST

运行时选择, 在 Python 一直是种幸福的苦恼, 选择太多, 这次又给出一堆值得对比体验的: Flit, pip-tools, venv, virtualenvwrapper , pdm , pyflow , pipenv, python-wasm, Pyodide ...

可能永远没有尽头...

)

In the final part of this tutorial series, you’ll continue to build out a social network with Django. You’ll wrap up by working with Django forms, learning how to display helpful error messages, setting up dynamic URLs in your app, and more.

(是也乎:

Django

)

Walk through the basics of pydbantic and discover how to create, query, update, and remove data from models. Review how pydbantic handles migrations after detecting any changes and how to integrate pydbantic with Redis for caching.

(是也乎:

叕一个专注数据关系自动调节的模块

)

“It turns out that it’s actually pretty easy to code in Python on the iPad, especially if you’re willing to work in Jupyter Notebooks. […] Here are five ways you can code in Python on any iPad right now.”

(是也乎:

其实还有中国原创的: QPython

)

An interview with Ned Batchelder about the interesting history of the Cog project and how you can use it to automate the work of generating text with arbitrary Python code.

(是也乎:

PODCAST

理论上可以生成一切其它代码...

)

Wrapping instance method in Python suffers from one giant gotcha—class instances don’t get garbage collected properly. This post explores that.

Stock market returns are heavily impacted by some events, like FOMC announcements, and we can use Pandas to understand this impact.

Take the Developer Nation survey, share your views and make an impact on the developer ecosystem. Plus, you get a chance to win cool prizes, licenses, gaming accessories, vouchers and many more.

(是也乎:

SPONSOR

赞助商的网页作的都很漂亮

)

“When testing Python code you may need a mock object. That’s okay! But what’s the best way to build a simple mock?”

(是也乎:

每个程序猿都有值得维护一生的 Makefile

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

淦, 根据口型, 自动识别并输出文字, 这是聋哑人的能力哪...

当然, 仅英文... )

(是也乎:

tplot

这是集成到 CLI 监察系统中关键能力, 问题只是, 有时, 想输出为文档就没闪和好办法, 原则上 Markdown 的代码引用就可以,

可惜, 等宽字体并不那么容易自动同步到领导浏览器上

)

(是也乎:

Masked

)

(是也乎:

击穿 类声明壁垒

)

(是也乎:

讲真, 能格式化, 就应该能进一步自动生成了...

)


📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心

(是也乎:

每次都感觉应该是 Northface

)


DAMA

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


PS:

PPS:

不觉中蟒周刊快译已经到了第10个年头

去年开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了...

问为什么:

[皱眉]每周新闻资讯 怎么能错过 
看看有什么新东西 
当有新的发现时:
    what f**k 还能这样玩? 还有这东西?
    每周开彩蛋[吃瓜]

无法同意更多... 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.


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

投稿/反馈邮箱:

askdama@googlegroups.com

(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


ZoomQuiet/大妈

就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

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

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


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


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

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->