蠎加载 78
原文: Import Python Weekly Newsletter - Issue No 78 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… Instagram 的 Python 服务效能提高 performance Instagram currently features the world’s largest deployment of the Django web framework, which is written entirely in Python. We initially chose to use Python because of its reputation for simplicity and practicality, which aligns well with our philosophy of “do the simple thing first.” But simplicity can come with a tradeoff: efficiency. Instagram has doubled in size over the last two years and recently crossed 500 million users (是也乎: Instagram 已经是世界上最大的 Django 功能集群, 用户应该也是最多 5亿了.. ) Python wats code snippet A “wat” is what I call a snippet of code that demonstrates a counterintuitive edge case of a programming language. (The name comes from this excellent talk by Gary Bernhardt.) If you’re not familiar with the language, you might conclude that it’s poorly designed when you see a wat. Often, more context about the language design will make the wat seem reasonable, or at least justified. (是也乎: 通过一段反直觉的代码, 来展示 Py 的伟大 ) Coconut - 简单,优雅的 Pythonic 函式编程 Coconut is a simple, elegant, Pythonic functional programming language that compiles to Python. Since all valid Python is valid Coconut, joining the over 30,000 people already using Coconut will only extend and enhance what you’re already capable of in Python. (是也乎: 自从世界从了 冯氏 体系后, 函式派从来就没有停止过也怀念. 又一个在 Py 身体上进行的 Lisp 还魂术… ) 在 Statsd 和 Consul 支持下从 Docker 中运行 Py3 的 REST 应用 REST Today, I’m going to go over setting up a very simple way to spin up a Python Falcon REST service that reports to Statsd as well as registering as a service with Consul along with setting up health checks. I’ve borrowed some ideas/code from several places and changed as needed. (是也乎: 基于 Falcon 的 Docker 运行时镜像的建立实战 ) Pigar 梦幻般的工具, 可以用来生成你的 Python 项目, 以及其它. (是也乎: 终于出现 pip 的二级工具了, 配合 pyenv 应该真正笑醒… 等等! 还是国人作品, 点赞! ) Django 1.10 beta 1 发布 django, release As part of the Django 1.10 release process, today we’ve released Django 1.10 beta 1, a preview/testing package that represents the second stage in the 1.10 release cycle and an opportunity for you to try out the changes coming in Django 1.10. 错过了 pycon, 最应该看什么来补 ? - Reddit Discussion video Discussion on Reddit on Pycon talk recommendations. 最合算的高可用 Django 部署 - Roland van Laar django Roland build an educational website that needed to be high available on a tight budget. Nice write up on how to achieve it. BeginnersGuide/NonProgrammers - Python Wiki resource If you’ve never programmed before, the tutorials on this page are recommended for you; they don’t assume that you have previous experience. If you have programming experience, also check out the BeginnersGuide/Programmers page. This section is hosted on the Python website and is well curated and maintained. 80 Python 课程的 策划名单 resource Learn Python online – A curated list of courses on Python 如何在 Ubuntu 16.04 的 Apache 用 mod_wsgi 发布 Django 服务? - DigitalOcean installation In this guide, we will demonstrate how to install and configure Django in a Python virtual environment. We’ll then set up Apache in front of our application so that it can handle client requests directly before passing requests that require application logic to the Django app. We will do this using the mod_wsgi Apache module that can communicate with Django over the WSGI interface specification. (是也乎: 虽然 OC 的文档一向非常的有爱, 但是, mod_wsgi 上古神器,还有必要用嘛!? ) 行者访问 Katharine Jarmul interview This interview with Pythonista Katharine Jarmul focuses on data work. A couple of events provide context. Katharine is presenting a talk titled “How Machine Learning Changed Sentiment Analysis, or I Hate You, Computer ????” at this year’s Sentiment Analysis Symposium, July 12, 2016 in New York, following which she’s offering a class, Learn Big Data Wrangling with Python, July 13-14, also in New York. (是也乎: 是时候通过 Py 的大数据分析来自行评估家庭爱情残余量了… ) Python 中的简单类型检验 code snippet Code snippet to check types. 活动 ~ Upcoming Conference / User Group Meet ...