给 个体企业家/Solopreneur 的建议
原文: PyCoder's Weekly - Issue #598
- 231011 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄.
- 231011 Zoom.Quiet(大妈) 用时 37 分钟 完成快译,
- Python的 tuple 数据类型:通过示例进行深入探讨
- REAL PYTHON
In Python, a tuple is a built-in data type that allows you to create immutable sequences of values. The values or items in a tuple can be of any type. This makes tuples pretty useful in those situations where you need to store heterogeneous data, like that in a database record, for example.
(是也乎:
)
- 学到的关于用 Python 构建 CLI 工具的知识
- SIMON WILLISON
In this blog post, Simon covers many of the things he has learned over the years when writing command-line tools in Python. He talks about the different kinds of command line arguments and tools that will help you process them.
(是也乎:
...一致性就是一切
是的, 嘦发现好的形式, 就一定要坚持应用在所有场景中...
...Click 使得构建遵循这些约定的 CLI 工具变得异常简单和高效
好框架已经为你准备好了一切.
)
- Python 3.12: 有什么没在头条新闻
- BITE CODE
There has been plenty of coverage about the changes in Python 3.12, this article tries to show what fell through the cracks. It talks about performance, pathlib improvements, and a few other changes.
-
- PYTHON SOFTWARE FOUNDATION
-
- CPYTHON DEV BLOG
-
- PALLETSPROJECTS.COM
-
已发布 Django 安全版本:4.2.6、4.1.12 和 3.2.22
- DJANGO SOFTWARE FOUNDATION
探讨/吐糟
Discussions
- 给 个体企业家/Solopreneur 的建议?
- HACKER NEWS
文章/教程/嗯哼
Articles, Tutorials and Talks
- 类型提示:为未使用的测试参数传递 Any
- ADAM JOHNSON
When you create a function to match an interface, it often needs to accept parameters that it doesn’t use. Once you introduce type hints, testing such functions can become a little irksome as Mypy requires all arguments to have the correct types. This article covers a technique to avoid that work.
- Python 基础:读取和写入文件
- REAL PYTHON
- COURSE
In this video course, you’ll learn how to move data back and forth between your Python programs and external software by reading and writing files. You’ll practice reading and writing data stored in the CSV file format, one of the most widely supported file formats for transferring tabular data.
(是也乎:
Python Basics 已经是真蟒 的品牌图书+课程了... )
- Python 类型提示: pyastgrep 案例研究
- LUKE PLANT
Previously, Luke wrote an article about what was involved in adding Type Hints to parsy. This follow-on article tackles the effort on a project with different challenges: pyastgrep.
- 供应链安全角度看 Python 3.12.0
- SETH LARSON
Seth is the Security Developer-in-Residence at the Python Software Foundation and this article is part of his on-going effort to document and improve the release process and tools. Associated HN discussion.
(是也乎:
首位基金会驻场安全开发人员的报告...
)
- 抽象摘要的幻觉检测
- EUGENE YAN
Abstractive summary is an AI task that rephrases and condenses text content into a summary. This article is a deep dive into how to ensure correctness and the math involved in ensuring fluency, coherence, relevance, and consistency.
This tutorial shows you how to do discourse analysis on news using Python through The Guardian’s API. You’ll see how to access content across years and perform topic analysis with sentence embedding.
- 测量 Python 执行时间的 5 种方法
- JASON BROWNLEE
There are several ways to measure the passing of time in Python, especially when determining the performance of your code. Read on to learn five functions from the time module and how to use them.
(是也乎:
分别基于...
time.time()
time.perf_counter()
time.monotonic()
time.process_time()
time.thread_time()
)
- Python-特定 设计模式
- DIMITRIJE STAMENIC
This is a third article in a series on design patterns in Python, with this one talking about a variation on singletons, a pattern that uses dynamic function binding, and sentinels.
(是也乎:
还是要对真正流畅的开发姿势抽象, 才能得到实用的模式
)
- 掌握使用 FastAPI 的集成测试
- ALEX JACOBS
This article shows you how to use MongoMock and MockS3 to power your integration tests on a FastAPI based project.
(是也乎:
各种 Mock 技巧...
)
- Django 中使用 GeoDjango 和 PostGIS
- ADEYINKA ADEGBENRO
- • Shared by Manuel Weiss
This article shows how to use GeoDjango and PostGIS to work with geospatial data in Postgres.
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
-
- GITHUB.COM/FINOS
-
- GITHUB.COM/ZQQQQZ2000
-
- GITHUB.COM/BENJIE-GIT
- • Shared by Mike McLeod
(是也乎:
反正, Flutter 们并没彻底解决这个问题...
)
- reverse_argparse: 告诉用户他们运行了什么
- GITHUB.COM/SANDIALABS
- • Shared by Jason M. Gates
(是也乎:
好吧, 这个简单要求其实真的不简单...
)
- leaptable: 管理表格数据上由 LLM 支持的代理
- GITHUB.COM/PETERWNJENGA
(是也乎:
Excel 已经嵌入 Python 了, 马上 LLM 也一样...
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
- October 9 to October 13, 2023
-
Weekly Real Python Office Hours Q&A (Virtual)
- October 11, 2023
-
- October 12 to October 13, 2023
-
- October 13 to October 15, 2023
-
- October 13 to October 14, 2023
-
- October 16 to October 21, 2023
-
- October 16 to October 20, 2023
-
- October 21 to October 22, 2023
历史上这周
- 2022: 蠎周刊 PyCoder 546
- 2021: 蠎周刊 493
- 2020: 蠎周刊 440
- 2019: 蠎周刊 389
- 2018: 蠎周刊 338
- 2017: 蠎加载 145
- 2016: 蠎加载 94
- 2015: 蠎周刊 187
- 2014: Issue 136
- 2013: Issue 88 ~ asyncio
- 2012: 空缺
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
- 大妈的多重宇宙 - YouTube
- @Chaos42DAMA
- 恢复各种嗯哼...
- Zoom.Quiet’s Chaos42 | Substack
- 古早:新闻组式写作
- 欢迎订阅, 包含当前周刊
_~-~∽~_
\/ / ◕ ♡ \ (/
'_ △ _'
\ '--+--' \
...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/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
全职嗯哼: 大妈的多重宇宙 - https://www.youtube.com/@Chaos42DAMA
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开社群: 蟒营 (订阅号: Mainium)
as 创始组织者:
CPyUG (mailling-list: python-cn@googlegroups.com)
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
AIGC珠海
Comments