用 Pyodide 构建 SPA
原文: PyCoder's Weekly - Issue #532
- 220706 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
- 220706 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- 与 Bruce Eckel 一起探索函数式编程
- REAL PYTHON
- PODCAST
Would you like to explore the functional programming side of Python? What are the advantages of this approach, and what tools are built into the language? This week on the show, author Bruce Eckel talks about functional programming in Python.
(是也乎:
老戏骨 Bibliography - MindView Exceptional Learning Experiences 写了一系列 Think in 的高手; PS: 只是 Think in Python 一直拖欠没发表...
)
- 用 Pyodide 构建单页应用程序
- AMIR TADRISI
- • Shared by Amir Tadrisi
Pyodide leverages WASM to run Python in the browser. In this tutorial, you’ll learn how to build a Single Page Application using Python and Pyodide including how to manipulate the DOM and manage state.
(是也乎:
淦...这就已经有嵌入在 browser 中的 py 应用了...
amirtds/netflix-analysis-spa at part-1
https://netflix-analysis-spa.onrender.com
)
- 带有 arvo 的程序音乐创作
- SERGE-ÉTIENNE PARENT
By using the music21 and avro libraries you can create musical scores programmatically. This article runs you through the libraries you need and how to compose your own music.
(是也乎:
成调不成曲...
)
-
Django High Security 已发布: 4.0.6 and 3.2.14
- DJANGO SOFTWARE FOUNDATION
-
- PYTORCH.ORG
探讨/吐糟
Discussions
- 真正能对职业生涯有帮助的证书??
- HACKER NEWS
(是也乎:
什么认证最值得? 银行存款过亿?
)
文章/教程/嗯哼
Articles, Tutorials and Talks
- 构建站点连接检查器
- REAL PYTHON
- COURSE
In this video course, you’ll build a Python site connectivity checker for the command line. While building this app, you’ll integrate knowledge related to making HTTP requests with standard-library tools, creating command-line interfaces, and managing concurrency with asyncio and aiohttp.
(是也乎:
用 bash 也可以快速完成一个...
)
- 实践中的 Python 堆栈/队列和优先级队列
- REAL PYTHON
In this tutorial, you’ll take a deep dive into the theory and practice of queues in programming. Along the way, you’ll get to know the different types of queues, implement them, and then learn about the higher-level queues in Python’s standard library. Be prepared to do a lot of coding.
(是也乎:
)
- 即插即用 Python 开发
- IVO HOUBRECHTS
- • Shared by Houbie
Most Python projects require quite some tooling to be installed on your laptop before you can build them. Why isn’t it just as easy as npm install? Learn how pyprojectx can add reproducible, plug-and-play builds to your Python projects.
(是也乎:
.toml ...
)
- 机器学习代码和系统中的设计模式
- EUGENE YAN
“Design patterns are not just a way to structure code. They also communicate the problem addressed and how the code or component is intended to be used.” This article describes several patterns often found in machine learning code.
- Python 中处理日期和时间的 5 个层次
- YANG ZHOU
From the basics of getting the current date and time, to becoming a master of time zones and date formatting, this article shows you what you need to know about dates and times in Python.
(是也乎:
时间太重要, 以至我们将之折腾到自己都混乱了...
)
- 在 Google Cloud Platform 上运行 Django 应用程序
- TOBIASZ KĘDZIERSKI
- • Shared by Tobiasz Kędzierski
The Cloud may be worth considering for your next Python project, but it can be complex to configure. This article shows you how to run a basic Django app on the Google Cloud Platform.
(是也乎:
GCP 虽好, 可惜不存在...
)
- 10 个 Python 图像处理工具
- PARUL PANDEY
An overview of some of the most commonly used Python libraries that provide an easy and intuitive way to transform images. Includes info on Pillow, OpenCV, SimpleITK, and more.
(是也乎:
多数都是老朋友, 就 SimpleITK 比较面生
)
- 重新索引 DataFrame 时保留列类型
- CHRIS ARIZA
- • Shared by Chris Ariza
Reindexing DataFrames in Pandas can lead to undesirable degradation of columnar types; StaticFrame offers alternatives that solve this problem.
- recipe 推荐系统
- DUARTE O.CARMO
Using a 160k recipe library and some basic food preferences, you can build a recipe recommendation system with Python, embeddings and FAISS.
(是也乎:
... if simple is good - why complicate?
扎心了...
作者的网站非常 极简...
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- MostMinimalWebFramework: 100 LOC Web 框架
- GITHUB.COM/KADIRCANCETIN
(是也乎:
探索无依赖的最小 web 框架可以是什么样儿...
)
-
more-itertools: Routines for Iterables, 超越 itertools
- GITHUB.COM/MORE-ITERTOOLS
-
- GITHUB.COM/MIKSUS
(是也乎:
叕一个调度器, 不过, 倾向人性化, 而不是性能化, 无法将定期任务控制到 ms 级
)
- ast_elector: 查询您的 Python AST
- GITHUB.COM/GUILATROVA
- • Shared by Guilherme
(是也乎:
叕一个 AST 相关工具
)
- JSON to Pydantic: 将 JSON 对象转换为 Pydantic 模型
- JSONTOPYDANTIC.COM
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
- July 6, 2022
-
Weekly Real Python Office Hours Q&A (Virtual)
- July 6, 2022
-
- July 7, 2022
-
- July 7, 2022
-
- July 9 to July 11, 2022
-
- July 9 to July 10, 2022
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
- Zoom.Quiet’s Chaos42 | Substack
- 古早:新闻组式写作
- 欢迎订阅
(是也乎:
谈崩了, 之前通过 ACM 会员可以每年 $25 享受 O'REILLY 在线图书馆服务...现在没了
)
PS:
PPS:
不觉中蟒周刊快译已经到了第11个年头
开始有小伙伴加入承担 pythonisa
周刊的翻译,
从来没提醒过, 可就这么默默坚持下来了...
问为什么:
[皱眉]每周新闻资讯 怎么能错过
看看有什么新东西
当有新的发现时:
what f**k 还能这样玩? 还有这东西?
每周开彩蛋[吃瓜]
无法同意更多
...
很多社区贡献看起来辛苦,
其实受益最多的,
就是主动承担者也.
好文笔,感叹号年度配额: 1/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
Comments