~ 文章, Blog, 教程...

Victor Stinner sees a need to improve Python performance in order to keep it competitive with other languages. He brought up some ideas for doing that in a 2017 Python Language Summit session. No solid conclusions were reached, but there is a seemingly growing segment of the core developers who are interested in pushing Python's performance much further, possibly breaking the existing C API in the process.


运行时性能爱好者们的嗯哼... )

Luigi is a Python module that helps you build complex pipelines of batch jobs. It handles dependency resolution, workflow management, visualisation etc. It also comes with Hadoop support built in.

Curated list of cheatsheets.



讲真, 图形的不如 ipynb 那种可运行的...


PyGotham is a New York City based, eclectic, Py-centric conference covering many topics. There’s a diverse speaker list, and some things which will be quite different. PyGotham attracts developers of various backgrounds and skill levels from the New York metropolitan area and beyond. Activities include two full days of talks, lightning talk sessions, and a social event.

Do not use /root/.pyenv/shims/python . Use direct python in pyenv.


其实, 更加 Pythonic 的方案是脱离 cron 使用 python 原生的定期任务模块 )

Build a naive Article Spell-checker in 10 Lines of Python Code.

Elizabeth is a Python library, which helps generate mock data. Part II of the tutorial we shared previously.

How to implement records, structs, and “plain old data objects” in Python using only built-in data types and classes from the standard library.





可下载的 pdf 版本幻灯: 10 awesome features

  • 高级解包 ~ 追加了变参数,以及更直觉的操作
  • 关键词参数 ~ 能模式匹配了
  • Chained 异常 ~ 能返回更多信息了
  • 更好的追踪子类 OSError
  • 一切都能迭代了
  • 更加严格的比较了 ~ 原先一切都能相互嗯哼不行了
  • yield from ~ 形式上更加明显进行嗯哼了
  • asyncio ~ 重点广告特性
  • 标准库追加了几个
  • Fun ~ 中文|emoji 变量/类/函式名,
  • 区分了 Unicode and bytes
  • 矩阵运算支持
  • Pathlib ~ 只希望 win 系统也相同支持的更加自然...


In this blog post, we’re going to get back to basics and walk through how to get started using Apache Kafka with your Python applications.

Picard is a cross-platform music tagger written in Python. This is a fairly old package.


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

NetBox is an IP address management (IPAM) and data center infrastructure management (DCIM) tool. Initially conceived by the network engineering team at DigitalOcean, NetBox was developed specifically to address the needs of network and infrastructure engineers.




因为 IPv6 了? )

A curated list of Machine Learning related surveys, overviews and books.

  • gain
    • 594 Stars, 29 Fork

Web crawling framework for everyone. Written with asyncio, uvloop and aiohttp. Everyone could write their own web crawler easily with gain framework. Gain framework provide a pretty simple api.




Geohash is a geocoding system invented by Gustavo Niemeyer and placed into the public domain. It is a hierarchical spatial data structure which subdivides space into buckets of grid shape, which is one of the many applications of what is known as a Z-order curve, and generally space-filling curves.





80 characters per line is waaaay too many. All Python programs should have at most six characters per line.


将一切程序转换为每行只有6个字符的可用脚本, 一种通过扩展空间来进行混淆的技术... )

  • Nodz
    • 37 Stars, 17 Fork

Nodz : Visualize your data - Free nodes based graph generator.



嗯哼?! Qt.. )

Deep Learning Pipelines provides high-level APIs for scalable deep learning in Python. The library comes from Databricks and leverages Spark for its two strongest facets: In the spirit of Spark and Spark MLlib, it provides easy-to-use APIs that enable deep learning in very few lines of code. It uses Spark's powerful distributed engine to scale out deep learning on massive datasets.


嗯哼, 热词合体... )

Apple CoreML example with scikit-learn

Get a full fake REST API with zero coding


通过一个 JSON 声明来完成 RESTfull 接口的伪服务 )

HTTP/HTTPS proxy in a single python script


单文件的代理器 )

An extremely well tested and commented red black tree implementation. Worth a look if you are studying the material.

Data validation and settings management using python 3.6 type hinting. Define how data should be in pure, canonical python; validate it with pydantic.


基于 Py3.6+ 的特性,实现的数据验证和设置管理 )

( ̄▽ ̄)

这是 StackOverflow 联合创始人 Jeff Atwood 注释的十戒。程序员普遍有很强的 ego,都应该看看本文,打印下来时刻提醒自己:)


Ten Commandments of Egoless Programming

源自 71 年神书: The Psychology of Computer Programming


  • 承认并接受你也会犯错
  • 你不是你的代码
  • 无论你有多少奇招, 别人都有更多
  • 获得共识前不要重写代码(<-- 不是重构)
  • 在尊重和耐心的前提下, 和菜鸟沟通
  • 世上唯一不变的是变化 (即, PM 是自然现象)
  • 真正的权威源自知识而不是立场 (呵呵...)
  • 为你坚信的战斗, 但得优雅的接受失败
  • 嫑作 "房间摆设" (悲惨工作三征兆:无闻/无关/不可测)
  • 批评代码而不是人

软件的人性化原则 是永恒的

( ̄▽ ̄) 可惜, 程序猿的边缘化也是永恒的...





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

订阅 substack 体验古早写作:

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


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