PyO3 ~ 被 Py 氧化的 Rust

原文: PyCoder's Weekly - Issue #505

pycoder

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

In this step-by-step tutorial, you’ll learn what Zip imports are and how to use them in Python. You’ll learn to create your own importable ZIP files and make them available for use. Finally, you’ll learn how to use the zipimport module to dynamically import code from ZIP files.

(是也乎:

传统手工艺, 发布应用发行版

Imports zip

)

Different formats and code snippets to make a large amount of network requests locally, with controls for rate limiting and error handling.

Shortcut Provides Speedy Task Management, Reporting, and Collaboration for Software Teams Shortcut is project management built for developers. Whether you’re a startup that iterates quickly by providing every engineer with a free pallet of Red Bull, or a large org that has strict ship dates to hit, give us a try for free → SHORTCUTSPONSOR

(是也乎:

aiohttp 的硬广

)

package>=7 vs package>=7,<8: Should you be adding upper bounds to dependency version constraints in Python packages?

sing a profiler or debugger in CPython can have a severe impact on performance. Slowdowns by an order of magnitude are common. This PEP proposes an API for monitoring of Python programs running on CPython that will enable monitoring at low cost.


探讨/吐糟

Discussions

(是也乎:

面向阅读的工程?

tiangolo (Sebastián Ramírez) 被推

tiangolo

必然是德国人哪...

)

(是也乎:

因为...懒?

)


文章/教程/嗯哼

Articles, Tutorials and Talks

“The Taichi Programming Language is an attempt to extend the Python programming language with constructs that enable general-purpose, high-performance computing. It is seamlessly embedded in Python, yet can summon every ounce of computing power in a machine — the multi-core CPU, and more importantly, the GPU.”

(是也乎:

Taichi

少见的 太极 宣传文章哪, 这的确是国产知名物理引擎.

)

XGBoost is an open-source implementation of gradient boosting designed for speed and performance. However, even XGBoost training can sometimes be slow. There are quite a few approaches to accelerating this process like changing tree construction algorithm leveraging cloud computing, and distributed XGBoost.

(是也乎:

)

“When you are creating command-line applications in Python, you probably heard of argparse, which is a great library for exactly doing this, and it is even included in Python’s standard library. But have you ever tried to create tests for a command-line application?”

How do you order movie end credits? “This is surprisingly hard to answer. Pick any two films and you’ll find conflict in how screen credits are ordered. There are so many minor disagreements, in fact, that a human can’t hope to reconcile them.”

(是也乎:

字幕

电影工业的强大可见一斑...

)

“ConfZ is a new configuration management library for Python. It is based on pydantic, which makes it perfect to use together with FastAPI.”

Why previous versions of Pyodide had a low recursion limit and how the upcoming version 0.19 supports a much higher one.

(是也乎:

叕一个追求简洁的图表库, 最终都会被现实打败...

)

Taking full advantage of Google Analytics features and data using its REST API and Python.

(是也乎:

凡是能和 C 流畅交流的, Python 也都能掺合进来

PyO3 ~ 被 Py 氧化的 Rust

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

嗯哼? poetry 就这么上位了?

jupyter-lab

几乎叕一个 VSCode 平台了...

)

(是也乎:

primify

也是刚需了... 效率够的话, 就可以在终端里用 ASCII-art 看电影了

)

(是也乎:

武断数据? ~ 将数据发送到危险环境再取回时必要操作是什么?

这个模块的名字很屌, MJ 范儿

ItsDangerous )


📆🐍 活动/大会

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


DAMA

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

(是也乎:

老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:

Bilibili

)


PS:

PPS:

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

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

问为什么:

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

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


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

投稿/反馈邮箱:

askdama@googlegroups.com

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


ZoomQuiet/大妈

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

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

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


Comments



自怼圈/年度番新

DU22.4
关于 ~ DebugUself with DAMA ;-)
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:


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


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

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:

追问

任何问题, 随时邮件提问可也:
askdama@googlegroups.com