~ 文章, Blog, 教程...

On this tutorial we learned how to scrape millions of reviews, analyze them with pre-trained classifiers within MonkeyLearn, indexed the results with Elasticsearch and visualize them using Kibana. Machine learning makes sense when you want to analyze big volumes of data in a cost effective way. The code repository is here -


以 tripadvisor 为数据源! 也就是说这世界上部分信息早已经开放了... )

The unittest module now includes a mock submodule as of Python 3.3. It will allow you to replace portions of the system that you are testing with mock objects as well as make assertions about how they were used. A mock object is used for simulating system resources that aren’t available in your test environment. In other words, you will find times when you want to test some part of your code in isolation from the rest of it or you will need to test some code in isolation from outside services.


除非实在难以架构, 否则尽可能使用真实测试对象吧 )

Altair is a declarative statistical visualization library for Python.


基于 Pandas 的数据表 )

Set up Persistent Database Connections, Turn Cached Loading on, Store the Sessions in Cache, Keep the Application and Libraries Separate, Store All Templates in One Place, Install HTML5 Boilerplate, Monitor and Control Processes using Supervisor.


随着 Django 的高速发展, 这类最佳实践将是永无止境的 )

Today we're proud to open source the documentation that describes how the Django Code of Conduct committee enforces our Code of Conduct. This documentation covers the structure of Code of Conduct committee membership, the process of handling Code of Conduct violations, our decision making process, record keeping, and transparency.

I always wondered that. Here is a reddit discussion on the same.


因为作者当初睡着了... )

This post is about creating a machine that writes its own code. More or less. Introducing GlaDoS Skynet Spynet. More specifically, we are going to train a character level Long Short Term Memory neural network to write code itself by feeding it Python source code. The training will run on a GPU instance on EC2, using Theano and Lasagne. If some of the words here sound obscure to you, I will do my best to explain what is happening.


简单的说, 这就是 西乔 的 beta cat 的构建方法 )

This article will go over the details of how to create a RESTful API with Flask and Flask-RESTful. In Part 1 we will go over the API basics and how to implement a simple API. In Part 2 we will expand into advanced use cases powered by Flask-RESTful. All code that will be show is readily available on this repository.


虽然 Flask 比 Django 轻便很多倍,但是,依然... )

Running Python Apps in the Browser by Almar Klein was a pretty interesting talk for me. See what interest you. Youtube channel.


如何在 浏览器 中运行 Py 应用!?这个视频值得关注. )

In a nutshell, a Middleware is a regular Python class that hooks into Django’s request/response life cycle. Those classes holds pieces of code that are processed upon every request/response your Django application handles. is a 3rd party tool for Python that is used for measuring your code coverage. It was originally created by Ned Batchelder. The term “coverage” in programming circles is typically used to describe the effectiveness of your tests and how much of your code is actually covered by tests. You can use with Python 2.6 up to the current version of Python 3 as well as with PyPy.


虽然没收入官方内建库, 但 已经是事实上最常用的覆盖测试模块 )

In this tutorial we'll see a trivial example of how to do a ajax website with django. Good for students looking to learn the basics of Django/Ajax and see how it works.

Gitter is like slack for developers. They have active Python, Django channels. Have a look.

Python has emerged as one of the most popular language for programmers in financial trading, due to its ease of availability, user-friendliness and presence of sufficient scientific libraries like Pandas, NumPy, PyAlgoTrade, Pybacktest and more. Zipline is a Python library for trading applications that powers the Quantopian service mentioned above. It is an event-driven system that supports both backtesting and live-trading. In this article we will learn how to install Zipline and then how to implement Moving Average Crossover strategy and calculate P&L, Portfolio value etc.


可能是最好的股票交易管理平台 )


~ Upcoming Conference / User Group Meet


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

Electron App around PokemonGo-Map

Live visualization of all the pokemon in your area

Python/asyncio 完成, 很快的 PostgreSQL Database 客户端库

An evolutionary knowledge-based fuzzer


没看明白是作什么的, 但是,看起来很高级, 又一个 AI 相关的开发库. )

zhihu-terminal using python2.7.


'''...更重要的是以后在实验开着命令行就不会被老板和同学发现我是在刷知乎了哦。。''' 无法同意更多!



A curated list of awesome packages, articles, and other cool resources from the Wagtail community.


Wagtail 就是 Django 实现的 wordpress...不过, 生态还早... )

Get top images from any subreddit

asyncio 基础上对标准库 的替代



~ 无责任推荐




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

订阅 substack 体验古早写作:

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


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