Flask 结合 Vue

原文: PyCoder's Weekly - Issue #424

pycoder

  • 200610 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 200610 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.

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.”

(是也乎:

podcast

从 西部世界 中才知道 host 的另外含义.

)

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.

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.

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 一定香.

其实, 呵呵...

)

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!

(是也乎:

Flatten

其实吧, 一般撞不到这么邪的场景.

)

Ballots were sent out on June 8th.

讨论

Discussions

Avoid big if/else blocks by using the bisect module!

(是也乎:

bisect 模块很香.

)

Spoiler alert: yes! But you probably shouldn’t do that.

文章,教程和嗯哼

Articles, Tutorials and Talks

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.

(是也乎:

Wheels

叕一次, Python 对卵管理有个新想法.

)

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 绝对是个被忽视的仙品.

)

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.

(是也乎:

不到万不得以, 能不用就不用->正则表达式

)

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

Traceback 是个勤劳的模块.

)

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.

(是也乎:

Interview

发现外国技术人的眼光都很单纯, 配合一般都很另类的形象.

Kattni

)

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 终于走出国门了.

)

Learn how to configure a new Django website from scratch to accept one-time payments with Stripe Checkout.

Learn about Python’s Enum type and why you should consider using them in your own programs.

(是也乎:

Enums 比 Dict 有更好的形式和更多的操作. )

(( ̄▽ ̄):

除了 print ,被迫上其它调试手段的 Pythonner 都是天使.

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

疯狂挖掘 Type Hints 用法的, 都是从 C++ 过来的?

)

(是也乎:

altair

可交互自动用另外指定形式来动态展现选定区域数据.

)

(是也乎:

早说过: 名称起的好, 项目活的了

Falcon

是个好名儿

)

(是也乎:

叕一个终端增强工具, 智能提示各种 shell 历史指令

)

📆🐍 活动/大会

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)

RPP


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->