PyPI叕开始整治...

原文: PyCoder's Weekly - Issue #574

pycoder

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

PyPI package maintainers can adopt a new, more secure “OIDC authenticated” publishing method that does not require long-lived passwords or API tokens to be shared with external systems.

In this tutorial, you’ll be exploring Python namespace packages: what they are, what they’re for, and how you can use them in your package systems. Along the way, you’ll create your own set of namespace packages and explore how you might be able to use them in your own projects.

(是也乎:

叕是一个传统艺能...只有代码足够大时, 才有感觉

)

This blog shows how Logan built a Python REPL augmented with ChatGPT. It details the application itself as well as speculating on software engineering patterns that might emerge in systems built on Large Language Models (LLMs).

(是也乎:

AliYUN 早已公测 3.11 的了... 看来各家对安全的定义果断不同;

)


探讨/吐糟

Discussions

(是也乎:

for 的表达式化?

)


文章/教程/嗯哼

Articles, Tutorials and Talks

“Dependency Injection (DI) is a design pattern that encourages loose coupling, maintainability, and testability within software applications.” Though more often associated with statically typed languages, the pattern can be applied with Python.

This article covers a variety of tools you can attach to your repo’s pre-commit hook to validate your code. Although the article is from a Django perspective, all but one of the tools covered is Django-agnostic.

(是也乎:

淦, 值得每个团队本地都部署一致上; 不过, VSCode 配套下, 每次 保存 时就激活更加效率?

)

This article shows you how to do rate limiting when dealing with repeated tasks within asyncio. It uses a thread pool and imap_unordered() to show you why the answer may not always be to use a Semaphore.

In this video course, you’ll learn how to use Python’s sum() function to add numeric values together. You’ll also learn how to concatenate sequences, such as lists and tuples, using sum().

(是也乎:

sum

信内建得永生

)

Google publishes a list of the Open Source packages it uses and secures within its own software supply chain. The list is made public so you can take advantage of their assessment.

(是也乎:

不是, 这是结局没有过程, 对于其它团队有什么参考价值?

不过, 可以肯定的是, 自行开发的不多, 加入上游开发的也不多..

)

The fastest way to read a CSV file into a Pandas DataFrame isn’t pd.read_csv(). This article shows you the alternative and how the result was bench-marked.

(是也乎:

除非数量大到一定程度... 否则...

)

XAR is an archiving format that can contain a tree of files. This article details how they can be used to package Python environments for deploy-ability.

(是也乎:

OCaml 重度用户为 Python 工程可复现构建的工具...

)

This article looks at where potential performance issues can occur in a Django application and how to address them in order to speed up your app.

(是也乎:

先功能后治理...

)

This article introduces you to the concept of Python modules and packages. How and where you use them and why you should.

(是也乎:

老爹当年一闪念, 今天慢慢深挖掘

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎: 这个很硬核了...加速 mouse ...

)

(是也乎:

叕一个死磕正则表达式的... 想通过自动生成来简化学习...

)

(是也乎:

已经放弃维护了...

)


📆🐍 活动/大会

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


历史上的这周


DAMA

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

            _~--^~_
        \) /  - ^  \ \/
          '_   v   _'
          > '-----' <

...act by ferris-actor v0.2.4 (built on 23.0303.201916)

PS:

Happy Pythoning!

Copyright © 2023 PyCoder’s Weekly, All rights reserved.

PPS:

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

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

问为什么:

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

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

所以++> 锈周刊 -> Weekly :: China


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

投稿/反馈邮箱:

askdama@googlegroups.com

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


ZoomQuiet/大妈

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

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

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


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...

任何问题

随时邮件提问可也:
askdama@googlegroups.com

-->