importpython-barnner.png

该读

~ 文章, Blog, 教程...

This is a super cool project build by Christian. Pyvisgraph builds a visibility graph given a set of simple obstacle polygons and find the shortest path between two points. Christian uses it at work for mapping vessel voyages.( Vessel as in ships ). Here are two blog post by him talking about the algorithm behind his code

https://taipanrex.github.io/2016/09/17/Distance-Tables-Part-1-Defining-the-Problem.html

and

https://taipanrex.github.io/2016/10/19/Distanlogce-Tables-Part-2-Lees-Visibility-Graph-Algorithm.html .

(是也乎:

example

可见性,以往用来寻找可以看见灯塔的安全航线的技术, 现在可以自动完成了.

)

Talking to technology has taken a whole new level since Amazon has announced their voice assistant Alexa and opened up their platform for developers to build custom bots just like when Apple announced about app store for developers to create and sell apps. Here I wanted to talk about the ease of building an Alexa skill using python which could be used as information provider to a attendee for a conference.

(是也乎:

Amazon 的语音助理 Alexa 平台化后, 当然就可以任性的调教了... )

Nick gives us quick tour of debugging in Python. print statements, logging, pdb, pdb++, Debugging from the REPL and more.

(是也乎:

再多的调试技巧,也无法弥补混乱的头脑写出的代码, 所以,亲!最重要的调试技巧就是保持充分的睡眠哪! )

Armin Ronacher's creator of Flask takes at length candidly about How it's difficult for him to grasp Asyncio , it's shortcomings, how David Beazley's live demo hacked up asyncio replacement is twice as fast as it. Curator's Note - Personally I learned Asyncio from the book Fluent Python. However once I went beyond the simple examples and try building something non trivial I ended up switching to golang and getting my job done faster. One key reason is the benchmark showed my asyncio's throughput was an order of magnitude slower, code required a lot of hand holding for a new developer.

(是也乎:

创造者分享了为什么人们理解了异步都都去用 golang 了... 这真是一个悲伤的故事. )

Common pitfalls to avoid when writing Python software

(是也乎:

py coding 时常见的错误 )

Easily share data across your company via SQL queries. From Grove Collab.

Daphne is a HTTP, HTTP2 and WebSocket protocol server for ASGI, and developed to power Django Channels. It supports automatic negotiation of protocols; there’s no need for URL prefixing to determine WebSocket endpoints versus HTTP endpoints. In this blog post Abu Ashraf shows us how to Deploy Django channels using Daphne.

(是也乎:

Channels 如此重要,又如此难用,所以, Django 创建了: ASGI 协议的专用服务器 Daphne )

Let's chat about working with dates and times in Python! We'll talk about parsing, formatting, timezones, and date arithmetic.

(是也乎:

简单的说,就是心塞,每次总感觉厂商有更加简洁的日期/时间处理手段的,,, 然而... )

I want to share some concepts and ideas about using Jupyter Notebook that I would like to know when I started.

(是也乎:

medium 越来越好用了,所以,也早已被 功夫网 认证了... )

In this post Haki Benita shows us how he extended Django admin to include two Button which perform action on a record/row. It's a well written step by step article to accomplish the task.

Are you searching for an easy way to stream media files from your LinuxBox to a Chromecast ? You can use Stream2chromecast, a simple Python script that makes the task of streaming media files to a Chromecast device ridiculously easy.

(是也乎:

WIDI 世界中,怎么可以少 Python 脚本?! )

Karlijn has written good article explaning what dataframes is and it's workings. If you don't know about Pandas and want to get a sense of what it's ?, then have a read.

KQ (Kafka Queue) is a light-weight Python library which provides a simple API to queue and process jobs asynchronously in the background. It is backed by Apache Kafka and designed primarily for ease of use.

(是也乎:

KQ 一个专用模块,可以 Pythonic 化的使用 Kafka )

This is the first featured recipe from the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python.

(是也乎:

来自 IPython Cookbook 的经典技巧 )

The benchmarks here do not try to be complete, as they are showing the performance of the languages in one aspect, and mainly: loops, dynamic arrays with numbers, basic math operations.

(是也乎:

看起来 Py3 已经快过 Py2.7 了... )

Pycon Pune 2017 is announced. To be held on February 16-19 2017. Visit the website to know more.

(是也乎:

又是一月就开始的...总结去年的当然早点开始好, 但是, PyConChian 的筹备节奏,我们只能程序猿节前后才可能折腾 )

项目

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

This is the code for the Stock Price Prediction challenge for 'Learn Python for Data Science #3' by @Sirajology on YouTube. The code uses the scikit-learn machine learning library to train a support vector regression on a stock price dataset from Google Finance to predict a future price. In the video, I use scikit-learn to build an ML model, but for the challenge you'll use the Keras library.

(是也乎:

基于 Keras 和 Google 财经的数据, 使用 scikit-learn 来完成预测 )

Interactive data exploration with Altair. Altair Widgets are a tool to easily allow to interact with Altair graphs in the Jupyter notebook.

(是也乎:

对 Altair 图表在 Jupyter 进行交互探索的工具

examples

)

Simple CLI wrapper for VirtualBox. Could be considered a Vagrant replacement in many cases.

(是也乎:

又一个对 VirtualBox 进行 CLI 包装的工具 )

A Django middleware that helps visualize your app's traffic in Kibana. In a nutshell, by using this middleware you need no more effort to stream your app's traffic in your ElasticSearch host(s) and use Kibana for visualizations around it.

(是也乎:

又一个重量级中间件, 可视化 Kibana 的工作流 )

Collection of algorithms in multiple programming languages. Including Python.

(是也乎:

算法的对比学习 )

是也乎


Comments

comments powered by Disqus