蠎加载 99
原文: Import Python Weekly Newsletter - Issue No 99 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 因长期运行而使用困难的数据如何激活在 Python core-python Jeff Knupp author of one of my favorite Python books “Writing Idiomatic Python” talks why Python is terrible for writing long-lived programs dealing with complicated data structures. He then goes to compare it with Go Programming languages where the datatype and data modeling has to be done before hand ( we are talking about complex nested data structures ) . Curator’s Note - If you are interested in golang do check out http://importgolang.com a weekly go programming newsletter. (是也乎: 当然的,和 golang 进行了对比,然后… ) Email API from SendGrid Sponsor Reliably deliver your emails with a quick and simple API or SMTP integration. Try for Free. Curator’s Note - Python and Django integration for sendgrid https://github.com/sendgrid/sendgrid-python and https://github.com/RyanBalfanz/django-sendgrid respectively. You can send 12,000 emails per month free. (是也乎: 一个实用的服务,值得关注的赞助商… 免费的话, 2K/月, 对小应用足够了 ) 用 Python 开发可扩展应用 scalability David Rodriguez attended the Udacity course: Developing Scalable Apps in Python - App Engine course and took these notes on building scalable apps. (是也乎: 可扩展应用本质上是个架构而不是语言问题… 当然,笔记在 docs.google 中,嗯哼. ) 用 Splinter 在 Python 中自动化 Web 测试 testing, automation Splinter is just an abstraction layer on top of Selenium and makes easy to write automation tests for web applications. This is a brief introduction to Splinter. (是也乎: 测试呢,最终还是得统一为 DSL, 当然,如果这个 DSL 和目标程序使用的相同,是最好的了. ) 命令行上的 HTTP 响应后端 code snippet httstat https://github.com/reorx/httpstat provides a HTTP response breakdown on command line. This saves you having to open up a browser and look at a visual network response waterfall. (是也乎: 目测是一个现成的无头浏览器的值守? ) 命令行上高速 Django 开发技巧 django David shares his list of command line alias for Django development. Curator’s note - Caution making alias for dot and double dot. keyboard opensource project Take full control of your keyboard with this small Python library. Hook global events, register hotkeys, simulate key presses and much more. (是也乎: PyHook 之后, 又一键盘控制模块,期望是跨平台兼容的…嗯哼,可怜的 M$ ) Monkey-patching 又一 Python 实例方案 core-python, monkey patching Dynamically adding or overwriting an instance method in Python is rarely needed, but it’s a good excuse to explore interesting aspects of the language that aren’t always well known: the descriptor protocol, types.MethodType and partial function applications. (是也乎: 猴补丁 ~ 方便了程序猿,逼死编译器的好物,令 Py 的加速大业又多一层壁垒 ) Django Model Managers django, models Model Managers (and custom QuerySets) are really useful. If you find yourself doing some complicated queryset logic over and over again, you can put that logic in one place and just refer to it with a simple name. (是也乎: 对于死也只用 SQL 的人来说,不存在哪… ) Django 在 instagram - Carl Meyer django, video Instagram operates at a scale unprecedented and is one of the largest users of Python/Django. In this video Carl talks about Django usage @instagram . What modification they made to Django and Why ?, How Django usage evolved over the years at instagram and more. 用 PyCharm 通过 SSH 工作在远程机器上 pycharm This article shows us the remote interpreter feature of PyCharm. Useful for those using PyCharm and want to execute scripts on a remove machine where the environment / data resides. (是也乎: 嗯哼,这样的界面,哪儿有心思写代码哪… ) 好物 ~ 包/模块/库/片段… ...