~ 文章, Blog, 教程...

When you ask for editor recommendations as a Python developer one of the top choices you’ll hear about is Sublime Text. In this post I’ll review the status of Python development with Sublime Text as of 2016.


subl 从一开始就和 py 纠缠在一起... )

This week we interviewed Peter McCormick and Francis Deslauriers about their work organizing PyCon Canada to provide a venue for Canadians to talk about how they are using the language. If you happen to be near Toronto in November then you should get a ticket and help contribute to their success.

asyncpg is a new fully-featured open-source Python client library for PostgreSQL. It is built specifically for asyncio and Python 3.5 async / await. asyncpg is the fastest driver among common Python, NodeJS and Go implementations.


Pg 输出全新的 py 客户端库,包含了最新的 py/node/go 的支持 )

Flake8 is a Python library that wraps PyFlakes, pycodestyle and Ned Batchelder’s McCabe script. It is a great toolkit for checking your code base against coding style (PEP8), programming errors (like “library imported but unused” and “Undefined name”) and to check cyclomatic complexity.


包含圈复杂度检测的代码风格工期 )

(Hopefully) the future of network protocols in Python. I think it's important to promote this approach to implementing network protocols, to the point that I have created a page at to act as a reference of libraries that have followed the approach I've outlined here. Basically what this means is that network protocol libraries will need to be rewritten so that they can be used by both synchronous and asynchronous I/O .


为了异步网络, 又一个协议包在冲进! )

Security is something we often ignore until it is too late. However, there are some things you can do right now that are easy to increase your security. Using django-admin-honeypot is one of those things you can do. It is super easy and provides you with the means of tracking who is trying to access your site.


Django 越来越全能了... )

The Django admin is a very powerful tool. We use it for day to day operations, browsing data and support. As we grew some of our projects from zero to 100K+ users we started experiencing some of Django’s admin pain points?—?long response times and heavy load on the database.


其实, 很久以前 Django Admin 当现成的 app 来使用就已经不是黑科技了... )

In this talk, Jess Bowden introduces the area of NLP (Natural Language Processing) and a basic introduction of its principles. She uses Python and some of its fundamental NLP packages, such as NLTK, to illustrate examples and topics, demonstrating how to get started with processing and analysing Natural Languages. She also looks at what NLP can be used for, a broad overview of the sub-topics, and how to get yourself started with a demo project.


对的, 也是很久之前, Py 就是自然处理的重要参与力量了, 毕竟对于非程序猿的科学家, 用 py 的阻力小很多... )

I setup a benchmark, which can be found here to compare Python datetime, Arrow, Pendulum, Delorean and udatetime on a performance level. I picked 4 typical performance critical operations to measure the speed of those libraries. Decode a date-time string, Encode (serialize) a date-time string, Instantiate object with current time in UTC, Instantiate object with current time in local timezone, Instantiate object from timestamp in UTC, Instantiate object from timestamp in local timezone.


嗯哼, 日期处理是又常用又头痛的一件事儿...这么多年过去了, 依然没有什么完美的形式来打动 guido 收入标准库... )

Mozilla recently decided to award $200,000 to Baroque Software to work on PyPy as part of its Mozilla Open Source Support (MOSS) initiative. This money will be used to implement the Python 3.5 features in PyPy. Within the next year, we plan to use the money to pay four core PyPy developers half-time to work on the missing features and on some of the big performance and cpyext issues.


銭虽然不多, 但是可以看出 Mozilla 对 rust 并不放心, 还在继续确保其它可能性 )

Katerina Kampardi is a Web Applications Developer from Greece who works as a freelancer. Like many aspiring developers, Katerina is self-taught and got her start with online tutorials. She later attended a Python Specialization. Today, she works on various Django projects as an independent developer.


~ Upcoming Conference / User Group Meet


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

使用 Neural Network 来进行灰度图像上色

深度学习库, 作为 TensorFlow 的一个高级接口

implementing deep dream on video

用 TensorFlow 的深度学习能力来图像修复

Facebook fastText 的 py 接口

基于 SportVU 日志数据, 可视化 NBA 比赛


spurs )


Naive bayes classifier implement with Python 2.7

Python 2.7 实现的 朴素贝叶斯分类器


Naive bayes 原理很简单, 困难的是在现实情景中合理识别先验条件 )


~ 无责任推荐




关于 ~ DebugUself with DAMA ;-)

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


任何问题, 随时邮件提问可也: