蟒週刊-411-2020 應該如何享用 Jupyter?

原文: PyCoder's Weekly - Issue #411html

PyCoder

  • 200311 Zoom.Quiet(大媽) 用時 42 分鐘 完成快譯
  • 200311 Zoom.Quiet(大媽) 用時 17 分鐘 完成格式轉抄.

Who loves debugging things that only fail occasionally? Just me? Maybe you need to check out Andy Jones’ extract() function that 「magically」 extracts a caller’s environment into an IPython interpreter session. Mix in a little post-mortem debugging with Jupyter’s %debug magic command, and you’ll be painlessly debugging finicky code in no time.git

(是也乎:github

神奇的過後驗屍,
extract() 能將調用者環境裝配人 Jupyter 進行細緻的檢驗.web

)express

In this first of a three-part blog post, LJ Miranda surveys the data science landscape and discusses the forces that push data science tools to evolve.後端

(是也乎:session

一個系列, 剛剛發佈第一篇,
1: 數據科學的筆記本
/2: 2020個人筆記本
/3: 筆記本的將來..數據結構

是的, 筆記本從實體的, 到電腦形態, 如今又是一種可計算文檔的指代了...

其實, 對 Jupyter 的發展是看好的, 可是, 對其最終產品形態不明朗,
由於 notebook 形式很是創意的將 開發/調試/筆記/發行 很好的揉合在一塊兒;
惟獨沒對運行時有考慮...這就比較尷尬了...

Jupyter

)

A core maintainer of the popular psycopg2 PostgreSQL adapter for Python discusses breaking changes he would like to see in a hypothetical pyscopg3 project, including better query/parameter separation, more sensible context manager behavior with connections, and async support.

(是也乎:

psycopg3

當你們大規模從 MySQL 遷移到 Pq , 各類模塊就大發展起來了...

)

In this tutorial, you’ll become an Alexa Python developer by deploying your own Alexa skill. You’ll build an application that users will interact with using voice commands to Amazon Alexa devices. Your skill will respond back with a random joke when invoked by the user!

(是也乎:

Alexa

Amazon 全家桶開發環境...

)

「PyCon continues to closely monitor the Coronavirus (also known as COVID-19) situation. As of March 6, PyCon 2020 in Pittsburgh, Pennsylvania is scheduled to take place.」

(是也乎:

PyCon 官方還在使用 BLOGSPOT.COM,
最先也最穩定的 blog 服務.

)

討論

Discussions

An epic Twitter thread. It’s still active almost two weeks later, with tons of heavyweights chiming in.

(是也乎:

哦...Windows 永遠的編程之敵.

)

Stefan Pochmann investigates memory allocation for three methods of creating a list from an iterable a: list(a), [x for x in a], and [a]. The last method, [a], always overallocates memory for the list.

文章,教程和嗯哼

Articles, Tutorials and Talks

「GitHub’s own CI called GitHub Actions has been out of closed beta for a while and offers generous free quotas and a seamless integration with the rest of the site. Let’s have a look on how to use it for an open source Python package.」

(是也乎:

GitHub 進入 微軟後, 果真一定上了雲,
那麼 AWS Lambda 對標物也就來了...

只是, 剛剛開始, 一切都會有的.

)

As the adoption of asynchronous Python grows, the ability to reliably test asynchronous code is increasingly important. In this tutorial, Dino Costa shows you how to leverage Future objects in Python 3.7 and the AsyncMock object added in Python 3.8 to easily test asynchronous functions.

Syntactic unification is the process of solving equations between symbolic expressions. Unification has applications in type systems and logic programming. In this article, Cassie Jones shows you how to implement a unification algorithm in just 30 lines of Python!

(是也乎:

呵..JONES, 語法問題不在系統, 而在人...

)

In this beginner tutorial, you’ll learn how to define and call your own Python functions. You’ll also learn about passing data to your function, and returning data from your function back to its calling environment.

「Everyone’s insistence on getting rid of Python 2 is magically transforming all of this perfectly functional and useful Python 2 code we have from an asset to a liability. You can imagine how I feel about that.」

(是也乎:

想正直替代 Python2 ? 還早...

)

Django URLs expect to send a response back to a user. Where does that response come from? A Django view. This article looks into the fundamentals of views and how to use them in your project.

Gradient descent is one of the most fundamental optimization techniques used in machine learning. Learn the ins and outs of gradient descent by implementing it from scratch in Python.

(是也乎:

Gradient Descent

梯度降低前因後果...

)

「Here’s what happens when you build around Python, Gunicorn, Gevent, and web requests instead of something more sensible.」 Although pessimistic, this was an interesting read.

(是也乎:

一個悲觀而有趣的觀點...

)

Learn how Python main functions are used and some best practices to organize your code so it can be executed as a script and imported from another module.

(是也乎:

main

真蟒, 開始加大短視頻的輸出了...

)

Real Python and PyCoder’s own David Amos guest hosts Python Bytes, talking about PEP 614, macOS menu bar apps with Python, test coverage, and more.

(是也乎:

真蟒 和 PyCoder 聯合出品..
不過, 是真感受 老爹 退休後, EPE 的接受加速了.

)

Shipping dependencies for your scripts as a single file, built with shiv.

(是也乎:

shiv

這個實用,算是最簡潔的一種發行形式了...

Using Pandas from .shiv/_lib-pandas_23b2…d2/site-packages/pandas 

Python path:
                                                Path
0                                  ~/bin/_lib-pandas
1                              /usr/lib/python38.zip
2                                 /usr/lib/python3.8
3                     /usr/lib/python3.8/lib-dynload
4  ~/.shiv/_lib-pandas_23b2bb7d64c26139950435a64d...

除了首次運行要解開和加載有點兒慢, 其它沒什麼不一樣.

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

posthog

針對開源項目的自動化分析;
收集並可視化網站/app 的全部事件, 以便輔助決策...
基於 Django.

)

(是也乎:

covid

能夠說是 wuhan2020 的模塊版.

)

?? 活動/大會

Events, MeetUp 真的是全球線下活動組織中心

(是也乎:

PyMNTos

常常活動的 MeetUP, 場地也很是親切...

)

DAMA

❤️ Happy Pythonic ;-( 大媽私人無責任播報)

(是也乎:

nCoV 最新海外信息

文科生的戰鬥, 雖然沒辦法象 wuhan2020 們那樣快速組織工程師,
先於國家完成各類實用系統;

可是, 文科生經過大量海外報道的瀏覽/對比/翻譯/報道/...

能夠幫助人們經過真實世界的反應, 來更好的理解當前狀態.

並且, 一個徹底沒有技術基礎的文科團隊, 天然經過 github 完成全部協同,
實在..感動 -> github 太好用了.

)

PS:


NN 3949

好文筆,感嘆號年度配額: 1/3


ZoomQuiet/大媽

就是四處 是也乎,( ̄▽ ̄) 的那個大媽:

私自嗯哼: ZoomQuiet (訂閱號: ZoomQuiet42)
公開課程: 蟒營 (訂閱號: Mainium)
全國大會: PyChina (訂閱號: PyChinaOrg)
本地社區: 
    GDG珠海 (訂閱號: GDG-ZhuHai)
    TFUG珠海 (訂閱號: ZH_TFUG)
歷史吐糟: Chaos42 (訂閱號 PythoniCamp)

蟒營™Python入門班 第6期 已開始報名:

  • 報名截止 2020.3.22
  • 正式開課 2020.3.29
  • 按時結束 2020.5.10

報名表

蟒營™式 原創課程服務:

伴你重享學習樂趣

蟒營™:Py入門班/圖譜

Powered by: Zoom.Quiet / 昧因科技®

本文由博客一文多發平臺 OpenWrite 發佈;
相關文章
相關標籤/搜索