551-560¶
Issue #551 Refactoring Python Code, Chrome Extensions, Asyncio, and More Nov. 15, 2022¶
Cite
flastapi: FastAPI-like Interface Plugin for Flask
GITHUB.COM/MAARTEN-DP
感觉功能不太完备,应该有其他更完善的api插件
Issue #552 WebAuthn, Mastodon, Python 3.12, and More Nov. 22, 2022¶
Cite
Python 3.12.0 Will Remove Long-Deprecated Items HACKER NEWS
打不开,算了
Cite
Parallelization in Python: The Easy Way
The article introduces parallelization in Python using multiprocessing.Pool() in combination with the map() function and processing pipelines.
MARCIN KOZAK • Shared by Marcin
进程池
Issue #553 Python + Power BI, Parallel Loops, Fast Testing, and More Nov. 29, 2022¶
Cite
[Always Use closed, open) Intervals
“Intervals or ranges pop-up everywhere in the programming world. The classic example is picking a start and end date, like you would when booking an AirBnB or a flight. Have you ever wondered why they are always implemented as [closed, open) as opposed to [closed, closed]?”
FERNANDO HURTADO CARDENAS
简单的一篇博客,介绍了几个用闭开区间的原因,有一定的道理
Issue #554 Comprehensions, pathlib, Guido Interview, and More Dec. 6, 2022¶
Cite
lumi: Nano Framework to Convert Functions Into a REST API
GITHUB.COM/TANMOY741127
有点意思,直接把函数注册成api,看样子是支持http和rpc两种协议
from lumi import Lumi, RequestMethod
app = Lumi()
def add(a, b):
return a+b
app.register(add, request_method=RequestMethod.PUT) # Register function for PUT method
app.register(add, request_method=RequestMethod.PATCH) # Register function for PATCH method
app.runServer()
Issue #555 Python Through Stories, Parallelism Control, Mastodon Bot on AWS, and More Dec. 13, 2022¶
Cite
Make Beautiful QR Codes in Python
QR codes don’t have to look ‘industrial’ and they’re trivially easy to create in Python. This article focuses on personal, social, and human applications for the trusty old QR code.
PETE FISON • Shared by Pete Fison
segno
这个库
Issue #556 Build Systems, PEP 701, Python in ChatGPT, and More Dec. 20, 2022¶
Cite
PEP 701: Syntactic Formalization of F-Strings
This Python Enhancement Proposal describes the formalization of a grammar for f-strings, allowing a reduction in the underlying parser code complexity and providing future features like comments in multi-line f-strings.
PYTHON.ORG
优化fstring的pep,尝试去掉现有的一些限制
Cite
faqtory: Generate GitHub Flavored FAQ.md Documents
GITHUB.COM/WILLMCGUGAN
自动生成FAQ
Issue #557 Best of PyCoder's 2022 Dec. 27, 2022¶
Cite
Python 3.11: Cool New Features for You to Try
Python 3.11 is out! In this article, you’ll explore what Python 3.11 brings to the table. You’ll learn how Python 3.11 is the fastest and most user-friendly version of CPython yet, and learn about improvements to the typing system and to the asynchronous features of Python.
REAL PYTHON
运行速度更快,添加新的TypeHint,
Cite
A First Look at PyScript: Python in the Web Browser
In this tutorial, you’ll learn about PyScript, a new framework that allows for running Python in the web browser with few or no code modifications and excellent performance. You’ll leverage browser APIs and JavaScript libraries to build rich, highly interactive web applications with Python.
REAL PYTHON
https://github.com/pyscript/pyscript
Cite
konsole: Readable, Pleasing Console Output
GITHUB.COM/APPAREBIT • Shared by Robert Grimm
优化日系显示,支持字体粗细、颜色,错误traceback之类的功能
Issue #558 Real Python 2022 Wrap Up, Classifying Virtual Envs, PyTorch Compromised, and More Jan. 3, 2023¶
Cite
The Return of Lazy Imports for Python
PEP 690 proposes the ability to delay when modules are imported, possibly providing performance improvements. The PEP has gone through a series of versions and there has been much discussion of the consequences. This article gives the latest info on the proposal.
JAKE EDGE
确实是一个非常好的pep,但是牵扯到的问题太多了,还要考虑向前兼容,要想最终被接受还是有点困难的
https://pep-previews.readthedocs.io/pep-0690/
Cite
Building Desktop Apps With Electron & Django Electron allows you to build desktop applications using web stack technologies. This article shows you how to take a Django project and Electron-ify it. IVAN YU
一看是HTTP通讯就感觉悬了
Issue #559 bpython, perf and Python 3.12, Packaging Binaries, and More Jan. 10, 2023¶
Cite
Cross Platform GUI Framework Based on HTML/CSS
GITHUB.COM/SCRIPTIOT • Shared by dragondjf
evue,感觉html JavaScript python vue都搞上去了,看着东西可是不少,就是是个私人项目,star还比较少,观望一下
Issue #560 Prototype Pollution, PEP 703, 2022's Most Popular, and More Jan. 17, 2023¶
Cite
PEP 703: Making the GIL Optional in CPython
This PEP proposes changes to the CPython build process that would allow you to build a GIL-less interpreter. This kind of interpreter would not be ABI compatible with the GIL-based one, and the programmer would become responsible for some locking situations in C-extensions. If implemented, this would lead the way to being able to operate without the GIL in cases where backward compatibility issues are not important.
PYTHON.ORG
去GIL任重道远
Cite
PyChatGPT: Python Client for the Unofficial ChatGPT API
GITHUB.COM/RAWANDAHMAD698
二次开发欣欣向荣