蠎加载 121
原文: Import Python Weekly Newsletter - Issue No 121 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… Django ORM vs SQLAlchemy – Vizbi django, SQLAlchemy, ORM Recently I started using SQLAlchemy and am very impressed with it. I have used Django ORM a lot in the past. This post compares achieving same result using Django and with SQLAlchemy. Let’s see which looks more intuitive. (是也乎: 港真, 别在 Django 之外用 Django ORM ) Python类型注释与图形算法 - 课程 第二部分 type annotation, graph In this part, we will implement graph data structure using classes and interfaces, and discuss when it’s worth overruling type hints. 加速 Websockets 60X websockets I recently I had the opportunity to speed up some Websocket code that was a major bottleneck. The final solution was 60X (!) faster than the first pass, and an interesting exercise in optimizing inner loops. 图形数据库: 探讨你和 Python 的关系 graph databases This trouble to visualise the relationship between entities in a Relational Database is a great reason to introduce the concept of graph. Graph is a data structure formed by a set of vertices V and a set of edges E. It can be represented graphically (where the vertices are shown as circles and edges are shown as lines) or mathematically in the form G = (V, E). 6 分钟魔改 Python 语言 core-python, cpython This week I raised my first pull-request to the CPython core project, which was declined :-( but as to not completely waste my time I’m writing my findings on how CPython works and show you how easy it is to modify the Python syntax. 使用 Nginx Nchan 和 Python 实现网络应用程序 nginx, nchan Nchan makes writing realtime web based pub/sub applications a breeze. In this article, we will build a simple systems monitoring dashboard which displays process information in realtime similar to what you would see when you run the unix top or htop commands. (是也乎: 港真, OpenResty 可以尝试 ) Python 中"非空集合"的交集 list, set, code_snippets Suppose you generate several sets on the fly, and you want to find the elements that are in all the sets. That’s easy, it’s the intersection of sets. 用 Watchdog 监控文件目录变更 python, watchdog I was working recently on writing Python code using TDD. So every time I change code I wanted to run command that will test my code if it pass unit tests. In order to do that I needed some service/app that will monitor for file changes, and if it changes execute my batch file that runs unit tests. Jupyter Notebook 在项目的 virtual env jupyter AWS Lambda 刚刚支持 3.6 aws, lamda SQL Server 2017: 用 Python 进行高级分析 sqlserver In this session you will learn how SQL Server 2017 takes in-database analytics to the next level with support for both Python and R; delivering unparalleled scalability and speed with new deep learning algorithms built in. (是也乎: M$ 将 Linux 虚拟层追加到自己OS 中了,然后呢? ) Control-C handling in Python and Trio core-python Kubernetes 调度在 Python kubernetes 学习 Python 脚本来自动发布播客 podcast (是也乎: 解决真实问题,永远是学习的正义动力… ) 好物 ~ 包/模块/库/片段… ...