小书:软件设计实例
原文: PyCoder's Weekly - Issue #588
- 230802 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄.
- 230802 Zoom.Quiet(大妈) 用时 37 分钟 完成快译,
- Python 3.12 预览版:更直观、一致的 F 字符串
- REAL PYTHON
In this tutorial, you’ll preview one of the upcoming features of Python 3.12, which introduces a new f-string syntax formalization and implementation. The new implementation lifts some restrictions and limitations that affect f-string literals in Python versions lower than 3.12.
(是也乎:
)
- Python: 用 cProfile 分析一段代码
- ADAM JOHNSON
“When trying to improve a slow function or module, it’s always a good idea to profile it. Here’s a snippet for quickly profiling a section of code with Python’s cProfile module.”
- Python Quirks/ 怪癖
- NATHAN
A straight-out list of code snippets showing off some of the weird and unexpected behavior of your favorite language.
- 指导委员会宣布可选 GIL
- PYTHON.ORG
(是也乎:
来了, 终于来了...
)
探讨/吐糟
Discussions
NULL...
文章/教程/嗯哼
Articles, Tutorials and Talks
- Python 中的矢量 DB 入门
- DANIEL DOUBROVKINE
Vector databases are all the rage today, with LLMs driving their popularity. This article breaks down nine different choices in details including how you connect to them in Python. It even points you at a few others in case you need more.
- Python 中的套接字编程第 1 部分:处理连接
- REAL PYTHON
- COURSE
In this video course, you’ll learn how to build a socket server and client with Python. Along the way, you’ll get to know the main functions and methods in Python’s socket module, and you’ll implement a multi-connection server and client.
(是也乎:
)
- 通过 Postgres 和 Python 利用数据库
- REAL PYTHON
- PODCAST
Are you getting the most out of your Postgres database? What features could you leverage to improve your Python project? This week on the show, Craig Kerstiens from Crunchy Data is here to discuss getting the most out of Postgres.
(是也乎:
)
- 用 Rich Inspect 询问 Python 对象
- WILL MCGUGAN
You might know the Rich library as the terminal color tool, but it has a few utilities in it that are generally helpful in your code. This article shows you the inspect feature that gives you loads of info on an object.
- 用 SQL 和 Jupyter 的端到端数据应用程序
- PLOOMBER
This comprehensive course gives you a step-by-step introduction to building data applications using Python, SQL, and Jupyter notebooks. It even includes an introduction to visualization using plotly and others.
- Flood/洪水填充迷宫
- IAN WARD
This article shows you how to generate mazes using jupyter notebooks, numpy, matplotlib, and the scikit-image flood_fill function. It shows both a traditional square-cornered maze as well as a bendy labyrinth.
(是也乎:
仿生可以的...
)
- 文本编辑器数据结构
- CAMERON DACAMARA
This article details the different ways a text editor represents text in memory and the advantages of each. Unfortunately, the examples aren’t in Python, but there is plenty CS stuff to dig into here.
(是也乎:
只有开发过编辑器的人才知道的血坑...
)
- 软件设计实例
- THIRD-BIT.COM
This is CS 101 in a web friendly format. It covers the basic concepts of software design using examples, with a focus on self taught data scientists who want to bring their coding to the next level.
(是也乎:
WoW 叕一本实用小书...
)
- &= 的实际用途
- PETE FISON
- • Shared by Pete Fison
Can you already picture real use cases for this little Pythonic gem? Learn about the bitwise-and-equal operator and where it can be used.
- EuroPython 2023
- ŁUKASZ LANGA
Python’s Developer in Residence has starting blogging again and this week he sums up his experience at EuroPython 2023.
- Working With AJAX in Django
在 Django 中使用 AJAX
- YACINE ROUIZI
- • Shared by Yacine Rouizi
This article looks at how to perform GET, POST, PUT, and DELETE AJAX requests in Django with the Fetch API and jQuery.
(是也乎:
回归 jQuery 感觉... 这就是自制 htmx
)
- 运行不受信任的 Python 代码
- ANDREW HEALEY
Andrew wanted to play with some untrusted Python. Read how he used seccomp and setrlimit to build a Python sandbox.
(是也乎:
不是 Docker, 而是更加嵌合的控制沙箱... 当然, 都是有现成的...
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
-
training-code: Fine-Tuning/微调 因果语言模型
- GITHUB.COM/PYGMALIONAI
-
django-pgcrypto-fields: 用 Pgcrypto 进行 Django 加密
- GITHUB.COM/INCUNA
(是也乎:
Pg 本身值得视为一个应用平台...
)
-
- GTO76.GITHUB.IO
-
plotoptix: 基于 OptiX 的 Python 光线追踪
- GITHUB.COM/RND-TEAM-DEV
(是也乎:
)
- basaran: OpenAI 文本完成 API 的 OSS 替代方案
- GITHUB.COM/HYPERONYM
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
Weekly Real Python Office Hours Q&A (Virtual)
- August 2, 2023
-
- August 3, 2023
-
Melbourne Python Users Group, Australia
- August 7, 2023
-
- August 8, 2023
-
- August 11 to August 14, 2023
-
- August 11 to August 13, 2023
历史上这周
- 2022: 蠎周刊 PyCoder 536
- 2021: 蠎周刊 483
- 2020: 蠎周刊 430
- 2019: 蠎周刊 379
- 2018: 蠎周刊 328
- 2017: 蠎加载 135
- 2016: 蠎加载 84
- 2015: 蠎周刊 177
- 2014: Issue 126
- 2013: 空缺
- 2012: Issue 25: Rise
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
- @Chaos42DAMA - YouTube
- VLog
- 恢复各种嗯哼...
- Zoom.Quiet’s Chaos42 | Substack
- 古早:新闻组式写作
- 欢迎订阅, 包含当前周刊
- LDS❤️💀🤖
- 播客:小宇宙
- 收集各种嗯哼...
_~~&`~_
\/ / ^ ◵ \ \/
'_ ⏝ _'
| '--#--' <
...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