Flask 结合 Vue
原文: PyCoder's Weekly - Issue #424
- 200610 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
- 200610 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- Python 中 Web 爬虫: 工具/技术和合法性
- REAL PYTHON
- podcast
Do you want to get started with web scraping using Python? Are you concerned about the potential legal implications? What are the tools required and what are some of the best practices? This week Kimberly Fessel is a guest on the Real Python Podcast to discuss her excellent tutorial created for PyCon 2020 online titled “It’s Officially Legal so Let’s Scrape the Web.”
(是也乎:
从 西部世界 中才知道 host 的另外含义.
)
- 用 Pydantic 进行 Pedantic 配置管理
- REDOWAN NAFI
- • Shared by Redowan Delowar
Dealing with multiple configuration files for a Python application can be stressful. Learn how to take the edge off with a custom workflow centered around the Pydantic library.
- 异步应该如何
- NIKITA SOBOLEV
- • Shared by Nikita Sobolev
- opinion
Sometimes synchronous and asynchronous code can look very similar. The only difference might be the use of async and await keywords. In this opinion piece, Nikita Sobolev argues that the potential for repeated code is a design fault of Python’s asyncio framework, and describes a solution that allows synchronous Python to execute asynchronous code.
- 我们的 Python Monorepo
- DAN HIPSCHMAN
Opendoor, a residential real-estate startup, has quite a few Python services. These services were spread across several git repositories, but Opendoor’s engineering team recently moved them all into a single monorepo. Learn about the challenges the team faced with many repositories and how they set-up their monorepo to solve their problems.
(是也乎:
反正 Google 将 Monorepo 玩出花了, 大家就认为 Monorepo 一定香.
其实, 呵呵...
)
- 在 Python 展平列表的最快方法
- CHRIS CONLAN
Explore six different was to flatten a list of lists in Python and how their performance compares. The fastest of the six methods mentioned might surprise you!
(是也乎:
其实吧, 一般撞不到这么邪的场景.
)
- 2020 年 Python 软件基金会董事会选举提名
- PYTHON.ORG
Ballots were sent out on June 8th.
讨论
Discussions
- 根据包含它们的范围对值进行分类
- STACK OVERFLOW
Avoid big if/else blocks by using the bisect module!
(是也乎:
bisect 模块很香.
)
- Can You Change the Value of the Integer 1 in Python?
- STACK OVERFLOW
Spoiler alert: yes! But you probably shouldn’t do that.
文章,教程和嗯哼
Articles, Tutorials and Talks
- Python Wheels 采用率超过90%
- PYTHONWHEELS.COM
Wheels are the new standard of Python distribution and are intended to replace “eggs.” This site shows the top 360 most-downloaded packages on PyPI showing which have been uploaded as wheel archives. As of today, 90% of the top Python packages are now available as wheels on PyPI.
(是也乎:
叕一次, Python 对卵管理有个新想法.
)
- 15个超赞 pytest 插件
- TESTANDCODE.COM
- podcast
pytest plugins are an amazing way to supercharge your test suites, leveraging great solutions from people solving test problems all over the world. In this episode of the Test & Code Podcast, Michael Kennedy and Brian Okken discuss 15 favorite plugins that you should know about.
(是也乎:
tox 绝对是个被忽视的仙品.
)
- Regular Expressions: Python中的正则表达式(第2部分)
- REAL PYTHON
In the previous tutorial in this series, you learned how to perform sophisticated pattern matching using regular expressions, or regexes, in Python. This tutorial explores more regex tools and techniques that are available in Python.
(是也乎:
不到万不得以, 能不用就不用->正则表达式
)
- 充分利用 Python Traceback
- REAL PYTHON
- video
Learn how to read and understand the information you can get from a Python stack traceback. You’ll walk through several examples and see some of the most common tracebacks in Python.
(是也乎:
Traceback 是个勤劳的模块.
)
- Python 社区采访->Kattni Rembor
- REAL PYTHON
Kattni Rembor is a creative engineer at Adafruit Industries. In this interview, she talks about her work developing CircuitPython and the role mentorship has played in her career to date. She also shares her advice for anyone looking to start their first hardware project using CircuitPython.
(是也乎:
发现外国技术人的眼光都很单纯, 配合一般都很另类的形象.
)
- Flask 结合 Vue
- JACE MEDLIN
- • Shared by Jace Medlin
Learn about three ways to combine Flask and Vue, the pros and cons of each, and some guidelines for when to use each method.
(是也乎:
Vue 终于走出国门了.
)
- Django Stripe 教程
- MICHAEL HERMAN
- • Shared by Michael Herman
Learn how to configure a new Django website from scratch to accept one-time payments with Stripe Checkout.
- 为什么在 Python 应更多使用 Enums
- FLORIAN DAHLITZ
- • Shared by Florian Dahlitz
Learn about Python’s Enum type and why you should consider using them in your own programs.
(是也乎:
Enums 比 Dict 有更好的形式和更多的操作. )
- Python 调试技巧s
- MARTIN HEINZ
(( ̄▽ ̄):
除了 print ,被迫上其它调试手段的 Pythonner 都是天使.
)
好物
Interesting Projects, Tools and Libraries, Projects & Code
- pydantic: 用 Python 类型提示进行数据解析和验证
- GITHUB.COM/SAMUELCOLVIN
(是也乎:
疯狂挖掘 Type Hints 用法的, 都是从 C++ 过来的?
)
- altair: 用于 Python 的声明性统计可视化库
- GITHUB.COM/ALTAIR-VIZ
(是也乎:
可交互自动用另外指定形式来动态展现选定区域数据.
)
-
- GITHUB.COM/FIZZADAR
-
- GITHUB.COM/FALCONRY
(是也乎:
早说过: 名称起的好, 项目活的了
Falcon
是个好名儿
)
- icl: 单行交互式记忆助手
- GITHUB.COM/PLAINAS
(是也乎:
叕一个终端增强工具, 智能提示各种 shell 历史指令
)
- falconify: 用于快速引导的 Falcon 微服务模板
- GITLAB.COM/RAPHACOSTA
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
NIL
(是也乎:
又一周空窗;
中国也已经接到有关通知, 允许线下集会申报了...
而且今年程序员节可能有超级大会.
)
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
101camp9py 在报名(能开发票 ;-)
课程规划:
开始报名 2020.5.31
报名截止 2020.6.21
正式开课 2020.6.28
课程结束 2020.8.09
详情 => 蟒营™ Python 入门班第9期
PS:
NN 4040
好文笔,感叹号年度配额: 1/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
Comments