~ 文章, Blog, 教程...

doctest tests source code by running examples embedded in the documentation and verifying that they produce the expected results. It works by parsing the help text to find examples, running them, then comparing the output text against the expected value. Many developers find doctest easier to use than unittest because, in its simplest form, there is no API to learn before using it.


这是进入测试最简单的形式, 但是,对于单元测试而言,并没有什么用, 只有设计精良的可测试代码, 对接口类的测试才 hold 的住... )

If you like this newsletter and you are on twitter you want to follow getpy. Daily get selected ( 4 - 5 ) tweets super relevant to Python.


类似的通过 SNS 进行友好的技术新闻订阅的服务/工具/插件 有很多, 残念的是都在墙外...


We deploy all Django applications with Gunicorn and Supervisor. I personally prefer Gunicorn to uWSGI because it has better configuration options and more predictable performance. In this article we will be deploying a typical Django application. We won't be using async workers because we're just serving HTML and there are no heavy-lifting task in background.

What you see here is an early version of the book.

Today, services built on Python 3.5 using asyncio are widely used at Facebook. But as recently as May of 2014 it was actually impossible to use Python 3 at Facebook. Come learn how we cut the Gordian Knot of dependencies and social aversion to the point where new services are now being written in Python 3 and existing codebases have plans to move to Python 3.5.


PyCon 上的分享,有关 fb 工程师为了 py3 作出的种种折腾...

值得嘛?!.... )

Covered in this episode: Test Fixtures, Subcutaneous Testing, End to End Testing (System Testing) . Curator's note - Of all the podcast out there pythontesting is my fav podcast.


细思恐极, 又一个硬核技术的播客.... )

Simple tutorial with code snippets on zip.

Welcome back! In this series of blog posts we are wrapping the awesome OnionScan tool and then analyzing the data that falls out of it. If you haven’t read parts one and two in this series then you should go do that first. In this post we are going to analyze our data in a new light by visualizing how hidden services are linked together as well as how hidden services are linked to clearnet sites. One of the awesome things that OnionScan does is look for links between hidden services and clearnet sites and makes these links available to us in the JSON output. Additionally it looks for IP address leaks or references to IP addresses that could be used for deanonymization.


网络安全实战系统分享,以分析 Onion 网络为实例讲解... )

How to deploy Django app on Google Cloud

In the four years since its initial release, many words have been spilt introducing conda and espousing its merits, but one thing I have consistently noticed is the number of misconceptions that seem to remain in the (often fervent) discussions surrounding this tool. I hope in this post to do a small part in putting these myths and misconceptions to rest.


Conda 是个传奇的 Python 发行版, 但是,在宣传中形成了很多误解,所以,作者... )

It's a website to help you choose what movie you and your family/friends should watch together. Here is the code for the software


开源了一个为家人自动推荐电影的网站代码.. )

September is back and it's for the Montreal Python community to gather again and share exciting new technologies and projects. This month, our friends from Ubisoft are welcoming us into their offices and are going to present to us how they are using Python and how they scaling it at large to powered some of their games.

Although type comments work well enough, the fact that they're expressed through comments has some downsides. The majority of these issues can be alleviated by making the syntax a core part of the language. Read the PEP to know more. I think it is a very exciting PEP.


为了语言的运行性能修订语言形式本身, 嗯哼.... )

Learn when and why you'd glue strings together using concatenation, interpolation, or other methods.


~ Upcoming Conference / User Group Meet


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

  • Young
    • 187 Stars, 20 Fork

充满了爱心的全功能 Python 制造论坛



简单的说国产 weibo 的 py 再制品; 基于 mongodb/NodeJS/Elasticsearch/Ejabberd ...嗯哼...


  • srez
    • 133 Stars, 4 Fork

Image super-resolution through deep learning. This project uses deep learning to upscale 16x16 images by a 4x factor. The resulting 64x64 images display sharp features that are plausible based on the dataset that was used to train the neural net.



基于神经网络的深度学习,完成从 16x16pix 的微型图片中还原出大图片... )

curl 状态可视化工具



嗯哼, 在宽屏电脑上, CLI 的能力永远在底估...


  • NSC
    • 36 Stars, 5 Fork

Neural Sentiment Classification


神经网络来分析情感倾向...当然也可以训练为分析理论的左右倾向 )

  • yapi
    • 10 Stars, 1 Fork

Python Youtube Data API v3

易用的, Pythonic 的完全的 IMAP 客户端库

登录后可方便的访问 google 后台的各种数据


别的不说, 这种项目名简直了... )

Now even your pet rock can parse JSON.


又一个可以玩 JSON 的模块 )

A helper to get EXPLAIN or EXPLAIN ANALYZE OUTPUT for django queryset.

The ultimate in python interview preparation and coding practice.


用以面试准备的终极代码集, 嗯哼 )


~ 无责任推荐




关于 ~ DebugUself with DAMA ;-)
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:

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


**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 扫描预约入群, 学员每满 42 人即启动新一期训练营 ;-)
  • 101camp22.7
  • + 任何问题, 随时邮件提问可也: