importpython-barnner.png

该读

~ 文章, Blog, 教程...

Imagine in your company slack team there's this person (we'll call him Jeff). Everything that Jeff says is patently Jeff. Maybe you've even coined a term amongst your group: a Jeffism. What if you could program a Slack bot that randomly generates messages that were undeniably Jeff?

(是也乎:

西乔精确的预测了相同的 bot 在微信中诞生后导致人类灭亡的故事 )

Learn how to use Python’s ternary operator to create powerful “one-liners” and enhance logical constructions of your arguments.

(是也乎:

必须有, 不过,何必? )

Byterun is a Python interpreter implemented in Python. Through my work on Byterun, I was surprised and delighted to discover that the fundamental structure of the Python interpreter fits easily into the 500-line size restriction. This chapter will walk through the structure of the interpreter and give you enough context to explore it further. The goal is not to explain everything there is to know about interpreters—like so many interesting areas of programming and computer science, you could devote years to developing a deep understanding of the topic.

(是也乎:

这几乎就是 PyPy 的诞生机制...

PS: 500行内 已经成为 github 中包含最多脑洞的可用项目了... )

Note from curator - I met Alex at Pycon Singapore / Py APAC as it was called then, I found him inspirational. We sat down and talked about Java developer's obsession with design patterns. It was a blast. I wonder if he would remember. Here is a podcast where he is interviewed. Alex Martelli has dedicated a large part of his career to teaching others how to work with software. He has the highest number of Python questions answered on Stack Overflow, he has written and co-written a number of books on Python, and presented innumerable times at conferences in multiple countries. We spoke to him about how he got started in software, his work with Google, and the trends in development and design patterns that are shaping modern software engineering.

(是也乎:

Alex 是 Stack Overflow 中有关 Python 问题回答最多的人. 采访中分享了很多在 google 以及软件工程上的体验 )

A Django site that integrates with Tesseract to provide an OCR service.

Tutorial on how to use messages framework.

Wow 3.x isn't far behind. Couple of years may be. I see more and more companies using 3.x series for newer projects.

(是也乎:

基本上差了一个量级... Py3 和 Py2

juanpabloaj

)

GeoViews is a new Python library that makes it easy to explore and visualize geographical, meteorological, oceanographic, weather, climate, and other real-world data. GeoViews was developed by Continuum Analytics, in collaboration with the Met Office. GeoViews is completely open source, available under a BSD license freely for both commercial and non-commercial use, and can be obtained as described at the Github site.

(是也乎:

BSD 许可的 GeoViews 是一个完备的地理数据分析/展示相关的库. 可以轻巧的生成可互动的地理相关可视化图谱!

cell8

以上这图就是一行代码:

url = 'https://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi'

gv.WMTS(url, layer='VIIRS_CityLights_2012', crs=crs.PlateCarree(), extents=(0, -60, 360, 80))

)

This week we welcome Reinout van Rees (@reinoutvanrees) as our PyDev of the Week! Reinout is the creator / maintainer of zest.releaser. He has a nice website that includes a Python blog that you might want to check out. I would also recommend checking his Github page to see what projects he’s a part of. Note - We have been including Reinout van Rees blogposts for long time now in importpython. Here you can know more about the person behind the blog.

(是也乎:

又一位 van ;-) zest.releaser 的作者, 带大家如何分析一位程序猿的网络数据 )

Whenever I am doing analysis with pandas my first goal is to get data into a panda’s DataFrame using one of the many available options. For the vast majority of instances, I use read_excel , read_csv , or read_sql . There are multiple methods you can use to take a standard python datastructure and create a panda’s DataFrame. For the purposes of these examples, I’m going to create a DataFrame with 3 months of sales information for 3 fictitious companies.

(是也乎:

享受 Pandas 的便利,第一步就是将数据倒入为 DataFrames ... )

Go find how many you can answer

(是也乎:

发布的网站倒是值得关注: datacamp.com 在线自学 R/Py 进行数据科学研究... )

Mike Driscoll's second book Python 201: Intermediate Python is out.

(是也乎:

Python201_cover20160330_sm

mousecovertitlejpg_sm2

嗯哼,封面很有爱... )

At PayPal, we write and deploy our fair share of Python, and we wanted to devote a couple minutes to our story and give credit where credit is due. For conclusion seekers, without doubt or further ado: Continuum Analytics’ Anaconda Python distribution has made our lives so much easier. For small- and medium-sized teams, no matter the deployment scale, Anaconda has big implications. But let’s talk about how we got here.

(是也乎:

历史原因... snake_esc_sm

)

cssdbpy is a simple SSDB client written on Cython. Faster standart SSDB client.

Get an understanding of how to dockerize your Django application, using the Gunicorn web server, capable of serving thousands of requests in a minute.

(是也乎:

dockerize ~ 又一个新词儿 )

While using Python's os.path module in a project, I got the idea of using it to do a quick-and-dirty check for what drives exist on a Windows system. Actually, not really the physical drives, but the drive letters, that may in reality be mapped any of the following: physical hard disk drives or logical partitions of them, CD or DVD drives, USB drives, or network-mapped drives.

Note I haven't personally gone through the video series, the no of upvotes and views looks pretty decent. Please make your own judgement.

活动

~ Upcoming Conference / User Group Meet

项目

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

基于 Stanford Natural Language Inference (SNLI) 使用神经网络进行计算 和/或

又一个 slack 机器人, 自动从 commandlinefu.com 获得结果

word2vec Google News model slimmed down to 260k English words

The pyh2o module provides Python binding for the H2O HTTP server. Currently this is a toy project, PRs are welcome to make it useful. Think of high performance, interaction with asyncio, etc.

DAMA

~ 无责任推荐

是也乎


Comments

comments powered by Disqus