- 原文: Import Python Weekly Newsletter - Issue No 148
- 欢迎,
**来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-)**

## 该读

~ 文章, Blog, 教程...

- AWS Lambda 简化功能实现
- aws lambda

A Step by Step Guide with Code Snippets for Packing Your Python 2.7 Function for AWS Lambda.

(`是也乎:`

从 Lambda 发布以来 AWS 就一直在折腾有关教程 但是, 和 Heroku 的海量友好文章相比, 内部工程师写的就一直非常嗯哼了...

)

- 如何对机器学习代码进行单元测试
- testing, machine learning

Over the past year, I’ve spent most of my working time doing deep learning research and internships. And a lot of that year was making very big mistakes that helped me learn a lot about not just about ML, but about how to engineer these systems correctly and soundly. One of the main principles I learned during my time at Google Brain was that unit tests can make or break your algorithm and can save you weeks of debugging and training time.

(`是也乎:`

对 AI 的单元测试也必须是 AI 了?

)

- Zulip 1.7: Python 构造的开源团队聊天工具
- new release

Zulip is the world’s most productive team chat software, an alternative to Slack, HipChat, and IRC. Zulip combines the immediacy of chat with the asynchronous efficiency of email, and is 100% free and open source software.

(`是也乎:`

叕一个 Slack 的嗯哼...

~ Zulip 价格 ~ 为什么选择Zulip ...

)

- 学习树数据结构
- tree, data structure

This post is an attempt to we better understand the Tree Data Structure and clarify any doubts about it. We will learn about what is a tree, examples of it, its terminology, how it works, and a technical implementation (a.k.a code!)

- 跟踪你的数据新闻
- journalism

Do you really know how you ended up with those results after analyzing the data from Public Source?

(`是也乎:`

虽然都是对公开数据的分析结果 但是,你真的保证人家分析过程中没有嗯哼? )

- 超越 Python 惯用法
- idiomatic

Note - If you have read Writing Idiomatic Python - By Jeff Knupp. You might want to read what Oleksandr has to say in this post. Personally I learned a lot from the book and recommend it regularly to everyone. People don’t speak entirely in idioms unless they are totally off their rockers. Overusing idioms makes you seem more than self-confident, full of air, and frankly not playing with a full deck. It is fair to middling to spice your language with idioms a little bit, but build the whole speech entirely out of them is beside the point.

(`是也乎:`

因为上一个版本时间太久了, 所以, 作者认为应该升级了...一切为了 Py3

)

- TensorFlow 101
- tensorflow

TensorFlow is an open source machine learning library developed at Google. TensorFlow uses data flow graphs for numerical computations. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. In this post we will learn very basics of TensorFlow and we will build a Logistic Regression model using TensorFlow.

(`是也乎:`

所以, PyTorch 在爆发...

)

- SciPy 发布 1.0.0
- new release

We are extremely pleased to announce the release of SciPy 1.0, 16 years after version 0.1 saw the light of day. It has been a long, productive journey to get here, and we anticipate many more exciting new features and releases in the future.

(`是也乎:`

用了16年, 才升级到 v1.0,对比隔壁3年飙到 v56 的大家... )

- Python 数据科学 手册
- azure, jupyter

This repository contains the entire Python Data Science Handbook, in the form of (free!) Jupyter notebooks.

(`是也乎:`

`azure`

?! 哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈...

为 M$ 的营销工程师点赞...

)

- Dramatiq: 简单的任务处理
- queue

Dramatiq is a distributed task processing library for Python with a focus on simplicity, reliability and performance.

(`是也乎:`

又双叒叕 一个分布式任务队列....

Dramatic 戏剧化的...惊喜或是相反

)

- Bayesian-Modelling-in-Python:
- Bayesian

Welcome to "Bayesian Modelling in Python" - a tutorial for those interested in learning how to apply bayesian modelling techniques in python (PYMC3). This tutorial doesn't aim to be a bayesian statistics tutorial - but rather a programming cookbook for those who understand the fundamental of bayesian statistics and want to learn how to build bayesian models using python. The tutorial sections and topics can be seen below.

In my talk at Clojure Conj I mentioned how a project from Oracle Labs named GraalVM might have to potential for Clojure to interop with Python on the same VM. At the time of the talk, I had just learned about it so I didn’t have time to take a look at it. Over the last week, I’ve managed to take it for a test drive and I wanted to share what I found.

(`是也乎:`

所以? Clojure 在拼命包容其它语言来给自己续命? )

- Sublime Text 用户应该用的 7 高能快捷键
- sublime, offtopic

Through my career as a software developer, I have appreciated one text editor the most, Sublime Text. I began with writing code in Notepad++ long long time ago, then tried IDEs as well but nothing came as close to working smoothly as Sublime Text. This blog is also written using Sublime Text.

(`是也乎:`

港真 subl 的新logo 很丑... )

Why are we offering cloud Jupyter notebooks? If you use Jupyter or IPython notebooks for your business or for working on assignments or research work, you are probably familiar with the challenges that come with setting up a stable Jupyter system on a machine.

(`是也乎:`

可是谁敢用? )

- 用 python/pandas 将嵌套 JSON 数据转换为 CSV
- code snippets

(`是也乎:`

常见常用却从未形成统一转换思路的问题...

如同大自然的伟力, 总是一边堆高挖深, 另一边同时在尝试抹平... )

- python-clustering-exercises
- scikit

Exercises for k-means clustering with Python 3 and scikit-learn as Jupyter Notebooks, with full solutions provided as notebooks and as PDFs. These exercises teach the fundamentals of k-means using some great real-world datasets, including stock price movements, measurements of fish and seed dimensions.

- 在 Python 中生成狭缝扫描图像 - Make Art with Python
- image processing

Slit-scan photography is a technique where a slit is moved between the camera and the subject. It’s effect lets the viewer see a tiny slice of a movement, through time.

(`是也乎:`

基于

折腾出的:

对现实图片进行计算获得全新的嗯哼

)

I was once a huge fan of FSMs (Finite State Machines) as a mechanism to keep track of states. Automata theory is the basis of class of computational problems solvable by discrete math. I had used fysom in the past but this time I wanted something home grown. I was able to write complex language parse in a couple hours using only 200 lines of code.

(`是也乎:`

FSM 的 DSL 制造技术

)

:-p

(`是也乎:`

Because we count from 0. #Python #pythonprogramming #jokes

嗯哼 没毛病..

)

## 好物

~ 包/模块/库/片段...

- babybuddy
- 422 Stars, 14 Fork

A buddy for :baby: Helps caregivers track sleep, feedings, diaper changes, and tummy time to learn about and predict baby's needs without (as much) guess work.

(`是也乎:`

Django 完成的奶爸指挥器

)

- progressive_growing_of_gans
- 411 Stars, 36 Fork

Progressive Growing of GANs for Improved Quality, Stability, and Variation

(`是也乎:`

)

- flask-webpack-cookiecutter
- 42 Stars, 2 Fork

Auto builds the foundation for a production ready Flask+Webpack application

(`是也乎:`

另一个传统实用工具方向 ~ 用框架的扩展框架来拓展框架的能力... )

- deepvoice3
- 35 Stars, 5 Fork

Tensorflow Implementation of Deep Voice 3.

- hacktoberfest-projecteuler
- 21 Stars, 147 Fork

This repo contains solutions for projecteuler problems in multiple languages. Specially created for newcomers to contribute as part of Hacktoberfest Challenge.

- skip-gram-pytorch
- 17 Stars, 0 Fork

A complete pytorch implementation of skip-gram.

(`是也乎:`

叕一个完备的 PyTorch 实现 skip-gram 的实例

)

- circleci.py
- 9 Stars, 0 Fork

Python Wrapper around the CircleCI API.

(`是也乎:`

传统实用工具手造思路... )

- Pyava
- 6 Stars, 0 Fork

A simple emulator launcher written in Python.

(`是也乎:`

只是为了玩游戏...

)

- Alexa-wisdomQuotes
- 1 Stars, 0 Fork

Enabling Alexa to get quotes from Wikiquote.org.

### (￣▽￣)

- oldj/pyheatmap: python heat map library
- 国货 heatmap 生成

只需要给出散点数据, 自动生成漂亮的热力图

关键响应非常敏捷, 10.1 长徦期间嗯哼了一下, 立即追加了两个功能: pyheatmap/test.py at 31d80c89529e194e743e3125d56a189712186c55 · oldj/pyheatmap

神奇的是作者同时果断也是位 SiFi 作家: 地球上的背包客 - Backpackers_on_Earth.pdf

屌炸天的 Jupyter 能力扩展思路...

## 是也乎

- 171028 Zoom.Quiet 42 分钟完成快译
- 171028 Zoom.Quiet 用时 7 分钟完成格式化.

## Comments