~ 文章, Blog, 教程...

Data exploration, manipulation, and visualization start with loading data, be it from files or from a URL. Pandas has become the go-to library for all things data analysis in Python, but if your intention is to jump straight into data exploration and manipulation, the Canopy Data Import Tool can help, instead of having to learn the details of programming with the Pandas library.


Canopy 有专用工具来加速,只是 Canopy 环境非常嗯哼...


Dropbox has several million lines of production code written in Python 2.7. As a first step towards migrating to Python 3, as well as to generally make our code more navigable, we are annotating our code with type annotations using the PEP 484 standard and type-checking the annotated code with mypy. In this talk we will discuss lessons learned and show how you too can start type-checking your legacy Python 2.7 code, one file at a time. We will also describe some of the many improvements we’ve made to mypy in the process, as well as some other tools that come in handy.


百万行代码级别的 py2->3 迁移经验分享...

有 Guido 座镇的项目都如此艰难,那么... py2 的确命不能绝也. )

Sanic is a Python3 framework built using the somewhat newly introduced coroutines, harnessing uvloop and based on Flask. However, it had an issue preventing it from utilizing multiple processes correctly.


又一个 web 应用框架 Sanic, 当然主要面向 py3 )

Objects in S3 contain metadata that identifies those objects along with their properties. When the number of objects is large, this metadata can be the magnet that allows you to find what you’re looking for. Although you can’t search this metadata directly, you can employ Amazon Elasticsearch Service to store and search all of your S3 metadata. This blog post gives step-by-step instructions about how to store the metadata in Amazon Elasticsearch Service (Amazon ES) using Python and AWS Lambda.


Lambda 哪, 神器,无主机微服务.


Communication with external services is an integral part of any modern system. Whether it’s a payment service, authentication, analytics or an internal one?—?systems need to talk to each other. In this short article we are going to implement a module for communicating with a made-up payment gateway, step by step.


教程揭示了一个支付网关接口的形成过程 )

When you’re beginning, it’s pretty easy to setup your Python environment on Unix. But in time things can get messy due to multiple versions, interpreters, utilities and projects.


果断 pyenv+iPython )

Iterables, iterators and generators are a key subject for effective Python usage, especially when processing large-scale data sets. Do you know why zip(*M) allows efficient traversal of a matrix M by columns? From the elegant for statement through list/set/dict comprehensions and generator functions, this talk shows how the Iterator pattern is so deeply embedded in the syntax of Python, and so widely supported by its libraries, that some of its most powerful applications can be overlooked by programmers coming from other languages.

One of the downsides is that despite the Python community’s attempts to make it an accessible tool for everyone, a lot of folks find the installation process daunting or confusing, including myself. Once I'd learned enough Python to tinker around, I didn't know where to "go" on my computer to write it or what to do next. Today I'll cover three ways to install Python on your Windows computer step by step.



图样图森破,俺推荐 Python(x,y)


It is simple wrapper of tabula-java and it enables you to extract table into DataFrame or JSON with Python. You also can extract tables from PDF into CSV, TSV or JSON file.


果断得通过中间纯数据文件转换. )

Almost two years ago Telegram let developers create bots quite painlessly. You can read an introduction about it on Telegram website. In this article we will create a simple bot in python, it’ll be hosted in Azure using Bottle framework. The bot will not do anything fancy, consider it as a template for your python based bots.


嗯哼?!是用 Bottle 开发的!?


Today I’ll try to explain how to hack TensorFlow to solve a simple regression problem.

Have you ever wondered how the CPython interpreter handles attribute access on a class or an instance of a class ?


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

A Sublime Text 3 plugin for Prettier


JS 世界的 gofm 也嗯哼出来了... )


简化 Wagtail drafts 共享

Tensorflow implementation of "Language Modeling with Gated Convolutional Networks"

Run a static part of the computational graph written in Chainer with Tensorflow

Flask 扩展, 追加 http2 服务推送功能.

( ̄▽ ̄)




comments powered by Disqus