周刊
各种来源的…
background
世界高速变化
goal
定期 review 一周以来主要变化
trac
汇集各种渠道的周刊, 以及自己每周内省小结吧…
refer.
…TBD
各种来源的…
世界高速变化
定期 review 一周以来主要变化
汇集各种渠道的周刊, 以及自己每周内省小结吧…
…TBD
原文: Import Python Weekly Newsletter - Issue No 68 该读 ~ 文章, Blog, 教程… 有个 app 的念头? Sponsor Create a new app, free with Azure App Service, now. (是也乎: 可见 M$ 是有诚意的,只是一切必须透过 VS … 而且中国区指定世纪互联代理…呵呵… ) 基于 Falsk 创建可扩展/可容错的 REST 端服务 flask 展示如何用命令行工具,部署 Falsk 和 AngularJS 结合的应用到 IBM Bluemix® . 教程中, 选择了不同 Django, Pyramid, 或是 web2py 的框架, Flask, 因为更加小巧. 如果嘦一个 REST 接口服务,更加合用. 并展示了 REST 端服务如何在不同功能中进行多路复用. 15 则 Python 面试基本问题 interview 想获得 Python 职位? 首先得证明能用 Python 完成工作. 这里给出了一系列涵盖了 Python 语言相关的基础技能/问题. 只专注语言本身,没有涉及包/框架. 每个问题都有对应的教程, 希望得的上. Ruby vs. Python podcast Toptal 特别约专家 Damir Zekic 和 Amar Sahinovic, 来讨论这两个知名脚本语言的特性. 收听节目,还能投票反馈你的见解. (是也乎: PHP是最好的语言! ) 用 Django 创建公司前最希望知道的 11 件事儿: Computer Science, Math, and Statistics. 两年前创办了 Math & Pencil. 之前对 web 开发的经验基本为 0. 为了公司, 从头学习了HTTP, Javascript, AJAX, 以及 Django MVC. 虽然急促,但是技术桟是成熟的. 基于 D3.js, Backbone.js, Celery, Mongo, Redis, 等等一堆其它东西, 完成了数据科学相关的应用! 回顾写下来的代码, 认为这几件事儿,必须事先明确了. Christine Doig 写的 Data Science 漫游指南 data science 又一则 Hitchhickers Guide Slidedeck that shows tools needed to be productive as a data scientist. 将 Ember 和 Django 搞在一起: 待办应用演练 tutorial 教程包含 Django 的 JSON 接口服务,完成 CRUD 支持; 用 token 完成安全认证. 用 Watson TextToSpeech 创建语言警报和通知 IBM Watson 是自然语言处理和机器学习平台. 能从海量非结构数据挖掘出规律. 通过 Python 接口,可以快速完成 报警和通知系统. (是也乎: 目测不通中文.. ) 在 Azure 中构建 Django 应用 django, azure You will create an application using the Django web framework. You will create an application using the Django web framework (see alternate versions of this tutorial for Flask and Bottle). You will create the web app from the Azure Marketplace, set up Git deployment, and clone the repository locally. Then you will run the application locally, make changes, commit and push them to Azure. The tutorial shows how to do this from Windows or Mac/Linux. Curator Note - Our sponsor Azure is offering free $200 to use on Azure for Linux projects. Check it out.- http://goo.gl/fd17H9 简化 Segment 分析 Sponsor Segment 是可定制的数据平台, 开发者和分析师通过优雅的 API 同广泛的合作伙伴形成了兴盛的生态. 兼容 Python3 的关键字唯一参数传真修饰. code snippet Provides a very simple decorator (~40 lines of code) that can turn some or all of your default arguments into keyword-only arguments. You select one of your default arguments by name and the decorator turn this argument along with all default arguments on its right side into keyword only arguments. 和 NGINX 最大化 Python 性能, 第一部分 : Web 服务和缓存 nginx 所有人都希望自家网站和应用运行的更快. 可惜越来越多的流量以及冲击,总能引发宕机问题. 时常进入忙-崩-忙 的循环. 而且杯具的是,几乎所有崩溃问题都发生在业务增长的关键时刻. 这时就是 NGINX 大显身手的时刻了…. 依赖性注入在 Bottle/Flask 在一个 OOP 方式构成的系统中, 通常有两种类型的对象: 数据对象(存储数据) 和服务对象(操作数据). 例如, 有数据库在后端时,必然有服务对象和数据库进行交互… 深入 PyCharm 中的测试 pycharm 仅仅4分钟的视频中, 展示了 PyCharm 运行原生 pytest , 通过最近追加的 tox 支持,管理文档测试安全带, 并能理解本地配置… 甚至是用母语来表述的测试…. Python 3.6 的新特性 core python This article explains the new features in Python 3.6, compared to 3.5. 第52集 - Hypothesis 和 David MacIver podcast Writing tests is important for the stability of our projects and our confidence when making changes. One issue that we must all contend with when crafting these tests is whether or not we are properly exercising all of the edge cases. Property based testing is a method that attempts to find all of those edge cases by generating randomized inputs to your functions until a failing combination is found. This approach has been popularized by libraries such as Quickcheck in Haskell, but now Python has an offering in this space in the form of Hypothesis. 数据分析基础 II - 朴素贝叶斯网络 去年的文章中介绍了能简化复杂的概率计算的模型: 朴素贝叶斯. 在电子商务领域, 给用户的推广框功能,能预测用户最想买的商品. 实际应用中的效果不错. 这其实就是基于改进的 朴素贝叶斯网络 模型. 如何构建 Heroku 插件 Butter CMS 能协助我们快速构建/测试/发布 Heroku 插件. 针对年轻程序的教程开放注册了! pycon, community The Young Coders 工作坊, 通过游戏探索 Python 编程. 从基础的数据类型开始,快速体验基本语句, 然后就可以基于 pygame 的图书馆游戏结合构建自己的游戏了! 这次 PyCon 专门为儿童设立的全天教程活动! 推荐注册体验! 新书 ~ New Books ...
原文: Import Python Weekly Newsletter - Issue No 67 该读 ~ 文章, Blog, 教程… 和 Slack 一起更好的工作 Sponsor Slack 能将团队的所有消息聚集在一起的工具. 更少邮件/会议,嗯哼,作的更好. (是也乎: 其实,好象并不怎么得力… ) 应该如何准备 Python 面试 ? - Reddit Discussion. interview 自学编程,两年前开始用 Django, Bootstrap, Python, Javascript. 刚刚通知有个 Python 工程师的职位, 那么应该如何准备? 面向 Python 程序猿的 函式编程 介绍 core python 文章为已有 Python 编程经验的,给出了 函式编程 的介绍. Python 在 JavaScript | 特性! PyCharm 远程调试. pycharm 新功能展示 gif 动画, PyCharm 全桟用户应该看看 Python 3 中的类型比较 core python 如果在折腾 元编程, 一定发现需要一个类型排序. 不是对象,而是类型. 之前 Python2 的同类文章非常受欢迎, Eli Bendersky 又写出了面向 Python 3 的. Apache Kafka 生产者基线 - Java vs Jython vs Python benchmark 文章中,针对 Java, Jython 和 Python 进行了基线评测. 51 集 - Pyjion 和 Dino Viehland 以及 Brett Cannon podcast 为了提高 CPython 的性能, Dino Viehland 在暂定在 JIT 上进行改进. 他的公司 M$ , 决定赞助这一想法. 于是就有了 Pyjion 项目. 这集中,采访了核心成员,讨论了最新进展,以及一路上的困难. 当然,也跑题讨论了, 为什么 GIL 创造出来前,并没有想到这么可怕? 构建实时 apps Sponsor Syncano. Database. Backend. Middleware. Real-time. Support. Start for free! 用 Feather 进行数据标准化 pandas The 162 game marathon MLB season is officially underway. In honor of the opening of another season of America’s Pasttime I was working on a post that uses data from the MLB. What I realized was that as I was writing the post, I found that I kept struggling with inconsistent data across different seasons. It was really annoying and finally it hit me: This is what I should be writing about! Why not just dedicate an entire post to normalizing data! 如何扩展 Django: 超越基础 | DigitalOcean django 文章包含以下内容: 缓存技术, 包括用 Varnish 高速缓存整个儿网站, 或视图基础上进行缓存控制. 静态文件传送给 CDN 而不是 Django. 如何用 uWSGI 从网络服务器上运行 Django 来提高恬静. 最后,可以了解到如何尽可能多的分配内存给 应用程序. Python-lambda: 10分钟以内完成第一个 Python 的 Lambda 微应用 aws AWS Lambda 是种支持 Python/Jana/Node.js 的无主机应用发布平台. 只有在有请求时才真正运行的应用. 编写 Lambda 应用比较简单, 但是,绑定和部署没那么简单. Python-lambda 就是专门简化这方面麻烦的工具! 8 皇后问题 Raymond Hettinger 将之前的方案,升级为 Python 3. Channels 的 Docker 实例 django 在 Budapest 举行的 DjangoCon Europe 2016 中 sprints 项目之一, Andrew Godwin 的 Channels 框架很可能进入 Django 1.10 版本特性. 现在需要一个稳定的 WebSocket 方案, 其中基于 docker-compose 的很不错.上周宣布 Big Data Wrangling 和 Python Course 作者 Katharine Jarmul (Data Wrangling with Python) 将发布为期两天的课程, 包含数据采集和管理, 使用 Pandas 进行数据分析, 以及使用类似 Hadoop 和 PySpark 进行集成, 地点在 NY. 如何在 Python 和 Django 中用 Elasticsearch, 第4部分 -创建前端 这是最后一集, 讨论如何在前端增加功能项,包含查询/索引/更新… In the previous posts in this series ( shared in the previous issue of the newsletter ) we created a basic Django app and populated a database with automatically generated data. We also added data to the elasticsearch index in bulk, wrote a basic command, and added a mapping to the elasticsearch index. In this final article we will add functional frontend items, write queries, allow the index to update, and discuss a bonus tip. Airbnb 开源 Caravel, 基于 Python/Javascript 的数据探索/可视化平台! Caravel is a data exploration platform designed to be visual, intuitive and interactive. (是也乎: 类似 AJAX, Airbnb 组合现有的优秀框架,变成了一个任性的大数据通用分享平台! 后端:Flask+Pandas+SqlAlchemy; 前端: react+d3.js+nvd3.org 唯一原创的是 Druid ~ 近线通用数据存储. 异常活跃,已经有近千 Issue 了… ) rochacbruno/dynaconf: 为 Python 动态加载配置 dynaconf 是 OSM(对象设置映射器), 可以读取从不同的数据源, 比如 配置文件/环境变量/redis/memcached/ini文件/json文件/yaml文件, 甚至于可以自定义格式. (别说要从 xml 读取!) (是也乎: 非常需要,但是,看起来还不成就. 其实,最关键的是如何动态加载/更新 ) smarturls django smarturls 内置正则表达式模式库, 来轻松为 Django 构建路径表. 作者 Amit 是早期 Django 用户之一. 另外还有作品: importd (是也乎: 胡子不够哪… ) 新书 ~ New Books NULL ...
原文: Pycoders Weekly (Issue #210): right-pad 搜罗Py万物 的周刊 亲, 又一堆好文/项目在这周被发掘! 享受她们吧,学习的周末总是美好的! 大家多分享文章 俺们才折腾的出又一周的美好呢. 喜欢就 在 Gratipay 支持俺们吧! 当然的,俺们也在twitter ...
原文: Pycoders Weekly (Issue #209): left-pad 搜罗Py万物 的周刊 亲, 又一堆好文/项目在这周被发掘! 享受她们吧,学习的周末总是美好的! 大家多分享文章 俺们才折腾的出又一周的美好呢. 喜欢就 在 Gratipay 支持俺们吧! 当然的,俺们也在twitter ...