~ 文章, Blog, 教程...

Worthy Read

Today we are pleased to announce the open-sourcing of Python Fire. Python Fire generates command line interfaces (CLIs) from any Python code. Simply call the Fire function in any Python program to automatically turn that program into a CLI. The library is available from pypi via pip install fire, and the source is available on GitHub.


文档在 google/python-fire: Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.

已经快 5000 星了... )

Type annotations are a precious tool (especially if used in combination with an advanced IDE like PyCharm) that allow us to: write clear and implicitly documented code, prevent us from invoking methods with wrong data types (ok, actually we can do whatever at runtime since Python is a dynamic language and type hints as the name suggests is just that: an hint) and get useful code suggestions and autocompletion.


简单的说, 追加各种 C++ 式的特性, 就是为了将 IDE 卖的更好... )

We will test a simple Linear Regression Model by passing it training data and expecting correct output for a new input.

I was very interested to see that Facebook recently open sourced a python and R library called prophet which seeks to automate the forecasting process in a more sophisticated but easily tune-able model. In this article, I’ll introduce prophet and show how to use it to predict the volume of traffic in the next year for Practical Business Python. To make this a little more interesting, I will post the prediction through the end of March so we can take a look at how accurate the forecast is.


Py+R 的一个实用库,或是说 PaaS


What happens if you close the generator instead of throwing an exception?


生成器关闭后... )

While Celery is well-maintained, it’s not easy to find examples of advanced patterns of real-world usage. Also it’s often been difficult to find solutions to issues that we’ve come across. So I want to share some of our experiences.


又一个重病芹菜依赖症团队的嗯哼... )

A little offtopic but enjoyed reading it. Do check

Postmates regularly does promotions where they offer free food and waive the delivery fee for certain restaurants. I recently realized that I could make this simpler by creating something that would track the Postmates website and notify me of deals.

Note - My college project 11 years back did the same thing using C++. Today if I were to attempt the same problem I might look at using mapreduce / spark.


作者用 C++ 作过, 现在用 py 来... )


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

A Python library for the Quantum Experience API

  • xweb
    • 86 Stars, 10 Fork

Web framework written in very little code.



文件比 bottle 多10倍, 文档比 bottle 少10倍...


Simple macOS menubar system monitor, written in Python3.6 + pyobjc.


用 py 3.6 进行 macOS 的菜单监察 )

A utility for disturbing standard output to keep Travis jobs alive.


github 的三级工具也出来了 )

make Ascii Art by Deep Learing


ai 的 ASCII 艺术创作...



Deep Q-Learning Network in pytorch.

Implements Scrabble. Also allows user to recover all game moves from given board and score list as well as brute-force find best move.


拼字游戏, 基于 AI )

A data processing engine and service. 一个数据处理引擎和服务

( ̄▽ ̄)




大妈的多重宇宙 - YouTube

点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

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

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


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