周刊
各种来源的…
background
世界高速变化
goal
定期 review 一周以来主要变化
trac
汇集各种渠道的周刊, 以及自己每周内省小结吧…
refer.
…TBD
各种来源的…
世界高速变化
定期 review 一周以来主要变化
汇集各种渠道的周刊, 以及自己每周内省小结吧…
…TBD
原文: Import Python Weekly Newsletter - Issue No 120 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 介绍 NoDB - S3 的 Pythonic 对象存储 aws, s3, datastore Pythonic object store based on Amazon’s S3 static file storage. NoDB isn’t a database.. but it sort of looks like one! It sort of does for databases what Zappa did for web servers. That’s a bit of a stretch, but it’s a step in that direction. It’s mostly useful for prototyping, casual hacking, and (maybe) even low-traffic server-less databases for Zappa apps! (是也乎: Zappa 的动力根本. ) 为 Dummies 创建语言 parsing, PyParsing In this article I will explain how to go from nothing to a functioning, extensible language, using Python and PyParsing. (是也乎: 如何从头构建一门语言? 使用 PyParsing, 傻瓜都能… ) Zen of Python core-python Know more about the Zen of Python (是也乎: 必须推荐中文版本译集了: 蠎之禅 ) 数据争吵101: 用 Python 来获取/操纵/可视化 NBA 数据 data science This is a basic tutorial using pandas and a few other packages to build a simple datapipe for getting NBA data. Even though this tutorial is done using NBA data, you don’t need to be an NBA fan to follow along. The same concepts and techniques can be applied to any project of your choosing. This is meant to be used as a general tutorial for beginners with some experience in Python or R. 谦卑的 Python Book Bundle books, nostarch Humble Bundle By No-Starch. Python Books presented by No Starch Press (pay what you want and help charity) (是也乎: 好书一堆才 1$ ) 如何用 Twilio, Python 和 Google 自动化我的婚礼 automation (是也乎: 是的 google 手机+SMS 服务 ) Kim: 又一个 JSON 序列化和编组框架 serialization Kim is a feature packed framework for handling even the most complex marshaling and serialization requirements. Web framework agnostic - Flask, Django, Framework-XXX supported!, Highly customisable field processing system, Security focused, Control included fields with powerful roles system, Handle mixed data types with polymorphic mappers, Marshal and Serialize nested objects. 你可以通过分析一百万 Yelp 评论来了解食物? spaCy, topic modeling A Quick Link Previewer for Mattermost 使用Python中的长时间内存网络进行时间序列预测 machine learning The Long Short-Term Memory recurrent neural network has the promise of learning long sequences of observations. In this tutorial, you will discover how to develop an LSTM forecast model for a one-step univariate time series forecasting problem. (是也乎: 内存便宜到应该视作硬盘了 ) PyBites – 如何写一个带有可选参数的装饰器? 大图机器学习: Classifying Text with Neural Networks and TensorFlow machine learning Python 中的异步编程 async (是也乎: 美女作者 ) Python 中的高级 web 抓取 scraping Python TensorFlow 教程 - 构建神经网络 - 探险机器学习 tensorflow 好物 ~ 包/模块/库/片段… ...
原文: Import Python Weekly Newsletter - Issue No 119 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 一分钟就能将 PEP8 通过 flake8 嗯哼成 git pre-commit hooks flake8, pep8, git Helpful for small Python teams to enforce PEP8 compliance by not allowing commits that aren’t PEP8 compliant. Takes only a minute to read and implement. 5 大功率令我们不得不从 Py -> Go golang It Compiles Into Single Binary, Static Type System, Performance, You Don’t Need Web Framework For Go, Great IDE support and debugging. Curator’s Note - I disagree with not needing a web framework. Having shipped a moderatly size golang web app I missed not being able to make it in Django all the way. Also if you looking to learn go do check out the newsletter http://importgolang.com (是也乎: 能编成单一执行文件; 静态类型系统; 性能; 不用 web 框架; 优良的 IDE 调试支持; ~ 好吧,看来又是一位被 Django 虐过的 gg ) 用 Google BigQuery 更好了解 Python 生态系统 github, bigquery (是也乎: 是的必须的, 前提是海量数据先有了,而且清洗好了. ) 理解 Pandas 的变换功能 pandas 用以构建 REST API 的 Flask 终极扩展 flask Flask-REST-JSONAPI is a flask extension for building REST APIs. It combines the power of Flask-Restless and the flexibility of Flask-RESTful around a strong specification JSONAPI 1.0. This framework is designed to quickly build REST APIs and fit the complexity of real life projects with legacy data and multiple data storages. Python 编码面试挑战 python, interview Huge update! Interactive Python coding interview challenges (algorithms and data structures). 对, Python 很慢, 但俺不在乎 productivity profile 和 pstats - 性能分析 profile The profile module provides APIs for collecting and analyzing statistics about how Python source consumes processor resources. 基于 Python 的类实现 Unix tee-样 功能 code snippet The Unix tee commmand, when used in a command pipeline, allows you to capture the output of the preceding command to a file or files, while still sending it on to standard output (stdout) for further processing via other commands in a pipeline, or to print it, etc. (是也乎: 这位同学, 没有享受过 tee 命令带来的快感吧? 你的人生不完满哪. ) 每周聊 Python: 和别人一起学编程 video Django Weblog: Django 1.11 发布 django This version has been designated as a long-term support (LTS) release, which means that security and data loss fixes will be applied for at least the next three years. It will also receive fixes for crashing bugs, major functionality bugs in newly-introduced features, and regressions from older versions of Django for the next eight months until December 2017. (是也乎: 又一个 LTS 版本…可以放心使用 3年, 足够搞崩又一个新公司了 ) 好物 ~ 包/模块/库/片段… ...
原文: Import Python Weekly Newsletter - Issue No 118 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 和 Python 一起来玩 猴子补丁 monkey patching Monkey patching is about replacing attributes of a Python thing with other attributes. Let’s use the word “thing” very loosely and have some fun. (是也乎: …. unless you really want to. ;-) 讲真, 能作, 和应该作,完全不同, 老老实实平平淡淡干干净净的写代码是最好的了… ) 通过 Zipkin 在 Python 应用中引入分布式跟踪 monitoring, distributed Distributed tracing is the idea of tracing a network request as it travels through your services, as it would be in a microservices based architecture. The primary reason you may want to do is to troubleshoot or monitor the latency of a request as it travels through the different services. (是也乎: 主要面向微服务…跨进程/主机/机房… ) 如何在 Python 中使用 Numpy 描述符统计 numpy, statistics The descriptive statistics we are going to calculate are the central tendency (in this case only the mean), standard deviation, percentiles (25 and 75), min, and max. 介绍 Pandas 进行数据分析 - 101 pandas pandas is a software library written for the Python programming language for data manipulation and analysis. (是也乎: 讲真 Pandas 真的很好用, 前提是数据清洗的要好… ) Google Cloud 上的 GPU 上跑 Jupyter notebooks docker, jupyter In a previous post, I listed out the steps to run Jupyter notebooks on GPU instances on GCP Compute Engine. It turns out, there is a much easier and more flexible way. Using Docker containers. (是也乎: GUP 在 GCP 中已经成为一个实体对象可以创建了, 然后 CUDA 的协助下, Jupyter 就能跑了… ) 说,这是什么? TensorFlow TensorFlow In this article, we will walk through an intermediate-level tutorial on how to train an image caption generator on the Flickr30k data set using an adaptation of Google’s Show and Tell model. We use the TensorFlow framework to construct, train, and test our model because it’s relatively easy to use and has a growing online community. (是也乎: 其实, 一切都被部署在云端了, 具体怎么来的,谁也不知道, 反正 google 知道, 大家用的越多, 他们就识别的越快… 然后, 再也没有公司能赢的了 google 了. ) Python 中用 感知散列 进行重复图像检测 image processing Jetsetter has hundreds of thousands of high-resolution travel photos, and we’re adding lots more every day. The problem is, these come from a variety of sources and are uploaded in a semi-automated way, so there are often duplicates or almost-identical photos that sneak in. And we don’t want our photo search page filled with dupes. (是也乎: 所谓 dHASH, 将 –> 劣化为 来加速对比 ) 用 Python 管理 corn 任务 cron Luigi: 一个 ExternalProgramTask 示例 – 将 JSON 转换为 CSV luigi I’ve been playing around with the Python library Luigi which is used to build pipelines of batch jobs and I struggled to find an example of an ExternalProgramTask so this is my attempt at filling that void. 如何用 Selenium 嗯哼 Python - 完整教程 Selenium (是也乎: Windows 中的 Eclipse+PyDev 的依赖…弃疗… ) Tutorial: Using MTurk together with AWS Lambda aws 用 MicroPython 和 NodeMCU 构建 IoT 启动电源 IOT 在 Python 中从 bytes 到 strings 然后再回来 core-python (是也乎: 反正这段公案是可以长长久久说下去的… ) 理解 Python3 中的类和实例变量 core-python (是也乎: 反正都不一样了… ) 音频应用程序音频信号处理(Python,NumPy,SciPy,Matplotlib等) Audio About this course: In this course you will learn about audio signal processing methodologies that are specific for music and of use in real applications. We focus on the spectral processing techniques of relevance for the description and transformation of sounds, developing the basic theoretical and practical knowledge with which to analyze, synthesize, transform and describe audio signals in the context of music applications. (是也乎: 又一大课程 ) PyData Tel Aviv Meetup: 闪电演讲 - Pandas tips & tricks pandas, video Pandas tips and tricks video (是也乎: 特拉维夫 聚会,当然的有 Youtube 自动生成的字幕, 足够快速嗯哼… 全程单手 Jupyter 演示下来, 没有幻灯.. ) 好物 ~ 包/模块/库/片段… ...
原文: Import Python Weekly Newsletter - Issue No 116 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 如何从内存中恢复丢失的 python 源代码? core-python I used “git checkout –” on the wrong file and managed to delete the code I had just written… but it was still running in a process in a docker container. Here’s how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6 (是也乎: 可怜的人… ) PEP 308 以及为毛俺依然恨 Python core-python I’m not a Python guy, but it seems that every job I’ve had has slowly pushed me into doing more and more Python until I end up doing nothing but Python all day. And I hate doing Python all day. (是也乎: 简单的说怼数学计算时,被 Py 的任性怒了… ) python 的怪代码 code snippets Code snippets that makes you wonder what’s happening? (是也乎: 所谓活久见… ) MetPy:驯服天气与Python - 剧集100 podcast What’s the weather tomorrow? That’s the question that meteorologists are always trying to get better at answering. This week the developers of MetPy discuss how their project is used in that quest and the challenges that are inherent in atmospheric and weather research. It is a fascinating look at dealing with uncertainty and using messy, multidimensional data to model a massively complex system. Django 周刊 30 newsletter If you use Django framework and want to keep updated with what’s happening in the Django world, check out django weekly 有效的 Python 学习姿势 video When learning a programming language, how do you know whether the effort you’re putting in is working or whether you’re wasting your time?. We’ll be chatting with Michael Herman and Evan Moore about techniques you can use to be more effective during your Python learning adventures. (是也乎: 关键就是得有一套靠谱的不依赖其他人的明确自己作的是否对的指标 ) 从 past 引入 bytes_literals Intel 的 Python 发行版提供数学能力的大提升 intel The still-in-beta Python distribution uses Math Kernel Library to speed up processing on Intel hardware. (是也乎: Intel 这么博爱… ) 客户数据驱动灯光秀 IOT Fast_Multi_Style_Transfer-tf Implementation of Google Brain’s A Learned Representation For Artistic Style in Tensorflow. You can mix various type of style images using just One Model and it’s still Fast. (是也乎: TF 中艺术风格的嗯哼 ) 诊断并修复 Python 中的内存嗯哼 debugging, memory leaks One thing we’ve learned from building complex software for the cloud is that a language is only as good as its debugging and profiling tools. Logic errors, CPU spikes, and memory leaks are inevitable, but a good debugger, CPU profiler, and memory profiler can make finding these errors significantly easier and faster. (是也乎: CPU 中的问题追踪,马上也将过渡到 TPU 的了… ) Python 中拟合高斯过程模型 numpy, stats k 最近邻 machine learning 使用Python和Django Rest Framework创建生产就绪的API - 第3部分 django (是也乎: 上期说的 google 的 fire 也是相似的嗯哼 ) 干掉你的Python代码与装饰 decorators 如何使用Python编写Collectd插件? collectd, monitoring deployments Collectd is a system statistics collection daemon. It gathers a lot of information about the system it’s running on, and passes it on to a software that can process and visualize that information, e.g. Grafana. Collectd already brings along a lot of built-in plugins to gather information about the system load, the network traffic, available entropy, various sensors, etc. But sometimes there’s a value that you want to log which is not covered by an existing plugin. (是也乎: SCM 一直是 Python 的擅长领域… ) 好物 ~ 包/模块/库/片段… ...