|
2 | 2 |
|
3 | 3 | ---
|
4 | 4 |
|
5 |
| -Welcome to issue 266 of Python Weekly. Let's get straight to the links this |
6 |
| -week. |
| 5 | +欢迎来到Python周刊第266期。让我们直奔主题。 |
7 | 6 |
|
8 | 7 | # 来自赞助商
|
9 |
| - | |
| 8 | + |
10 | 9 | [](http://www.amazon.com/gp/product/B0185367JQ/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B0185367JQ&linkCode=as2&tag=mymerch-20&linkId=OLIXWD4WZ5X6FFHD)
|
11 | 10 |
|
12 |
| -Hey Pythonista, would you like to show your love for **Python**? Then [click here](http://www.amazon.com/gp/product/B0185367JQ/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B0185367JQ&linkCode=as2&tag=mymerch-20&linkId=OLIXWD4WZ5X6FFHD) |
13 |
| -to get your T-Shirt and wear it proudly. |
| 11 | +嘿,Python粉,你想要表达你对**Python**的爱吗?那么,[点击这里](http://www.amazon.com/gp/product/B0185367JQ/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B0185367JQ&linkCode=as2&tag=mymerch-20&linkId=OLIXWD4WZ5X6FFHD),获取你的T恤,骄傲地穿上它吧。 |
14 | 12 |
|
15 | 13 |
|
16 | 14 | # 文章,教程和讲座
|
17 | 15 |
|
18 |
| -[Episode #80: TinyDB: A tiny document db written in |
19 |
| -Python](https://talkpython.fm/episodes/show/80/tinydb-a-tiny-document-db- |
20 |
| -written-in-python) |
21 |
| -NoSQL and document dbs like MongoDB have made building fast scalable software |
22 |
| -that is easy to evolve and maintain much easier for a broad class of |
23 |
| -applications. Embeddable, file-based databases like SQLite have made |
24 |
| -"shipping" an application requiring a database a no brainer. The database just |
25 |
| -runs in process so there is no setup or maintenance. Yet, when you try to |
26 |
| -intersect these two excellent capabilities, you'll find the options very |
27 |
| -limited. There just aren't many embeddable document databases. If you're a |
28 |
| -Python developer, and you want a native Python solution, the options are much |
29 |
| -slimmer still. That's why I'm excited to introduce you to Markus Siemens and |
30 |
| -TinyDb. This is a 100% pure python, embeddable, pip-installable document DB |
31 |
| -for Python. |
32 |
| - |
33 |
| -[NumPy Tutorial: Data analysis with Python](https://www.dataquest.io/blog |
34 |
| -/numpy-tutorial-python/) |
35 |
| -In this tutorial, we'll walk through using NumPy to analyze data on wine |
36 |
| -quality. The data contains information on various attributes of wines, such as |
37 |
| -pH and fixed acidity, along with a quality score between 0 and 10 for each |
38 |
| -wine. The quality score is the average of at least 3 human taste testers. As |
39 |
| -we learn how to work with NumPy, we'll try to figure out more about the |
40 |
| -perceived quality of wine. |
41 |
| - |
42 |
| -[Podcast.__init__ Episode 79 - K Lars Lohn](https://podcastinit.com/k-lars- |
43 |
| -lohn.html) |
44 |
| -K Lars Lohn has had a long and varied career, spending his most recent years |
45 |
| -at Mozilla. This week he shares some of his stories about getting involved |
46 |
| -with Python, his work with Mozilla, and his inspiration for the closing |
47 |
| -keynote at PyCon US 2016. He also elaborates on the intricate mazes that he |
48 |
| -draws and his life as an organic farmer in Oregon. |
49 |
| - |
50 |
| -[Fuzzy search with MongoDB and Python](https://medium.com/xeneta/fuzzy-search- |
51 |
| -with-mongodb-and-python-57103928ee5d) |
52 |
| -At Xeneta we operate the world's largest container freight rate database and |
53 |
| -provide powerful analytics on top of that. One of the most basic use cases is |
54 |
| -finding out the average price to ship a container of a certain type from one |
55 |
| -port to another. To enable that we have to give users the ability to search |
56 |
| -for ports. As with all geographical objects, port names may not necessarily be |
57 |
| -easy to remember or spell correctly, so the search tool has to be robust |
58 |
| -against typos. This article presents a reasonably simple and flexible solution |
59 |
| -to this problem which will be especially useful if you are running MongoDB, as |
60 |
| -it does not require external search tools. |
61 |
| - |
62 |
| -[Fixing Python Performance with Rust](https://blog.sentry.io/2016/10/19 |
63 |
| -/fixing-python-performance-with-rust.html) |
64 |
| - |
65 |
| -[Building a REST API with Flask and the Orator ORM](http://blog.eustace.io |
66 |
| -/buiding-rest-api-with-flask-orator.html) |
67 |
| - |
68 |
| -[One Hundred Years of Solitude: how I analyzed my favorite |
69 |
| -book](https://medium.com/@finalfire/one-hundred-years-of-solitude-how-i |
70 |
| --analyzed-my-favorite-book-6c20456480c8) |
71 |
| - |
72 |
| -[Static types in Python, oh my(py)!](http://blog.zulip.org/2016/10/13/static- |
73 |
| -types-in-python-oh-mypy/) |
74 |
| - |
75 |
| -[The stack of iterators pattern](http://garethrees.org/2016/09/28/pattern/) |
| 16 | +[Episode #80: TinyDB: 一个用Python编写的小小的document数据库](https://talkpython.fm/episodes/show/80/tinydb-a-tiny-document-db-written-in-python) |
| 17 | + |
| 18 | +NoSQL和document数据库,例如MongoDB,使得对广泛类型的应用,构建易于发展和维护的快速可扩展软件更容易。嵌入式、基于文件的数据库,例如SQLite,使得不用费什么脑子就可以“传送”一个需要数据库的应用。该数据库只是运行在经常中,因此无需安装和维护。然而,当你尝试相交这两个出色的功能的时候,你会发现选择非常有限。只是没有太多嵌入式document数据库可供选择。如果你是一个Python开发者,并且你想要原生Python解决方案,那么可选择的会更小。这就是为什么我很高兴地向你介绍Markus Siemens和TinyDb。它是一个用于Python的,100%纯python编写的,可嵌入,并且可用pip进行安装的document数据库。 |
| 19 | + |
| 20 | +[NumPy教程:使用Python进行数据分析](https://www.dataquest.io/blog/numpy-tutorial-python/) |
| 21 | + |
| 22 | +在本教程中,我们将会看到如何使用NumPy来分析酒质量的数据。数据包含了酒的各种属性,例如pH和固定酸度信息,以及每种酒在0到10之间的质量得分。质量得分是至少3个人类品尝测试给出得分的平均值。当我们学习如何使用NumPy时,我们会尽力找出更多关于酒的感知质量。 |
| 23 | + |
| 24 | +[Podcast.__init__ 第79集 - K Lars Lohn](https://podcastinit.com/k-lars-lohn.html) |
| 25 | + |
| 26 | +K Lars Lohn有着长而丰富的工作经历,他最近几年是在Mozilla度过的。本周,他与我们分享了他参与到Python中的一些故事,他在Mozilla的工作,以及他对于PyCon US 2016闭幕式的一些想法。他还详细阐述了他所绘制的错综复杂的迷宫,以及在Oregon作为一个有机农民的生活。 |
| 27 | + |
| 28 | +[使用MongoDB和Python进行模糊搜索](https://medium.com/xeneta/fuzzy-search-with-mongodb-and-python-57103928ee5d) |
| 29 | + |
| 30 | +在Xeneta,我们运营着世界上最大的集装箱运价数据库,并且在其之上提供强大的风险。一个最基本的用例是找到将某一类型的集装箱从一个港口运送到另一个港口的平均价格。为了做到这点,我们必须提供给用户搜索港口的能力。如同所有的地理相关对象,港口名不一定容易记或者正确拼写,因此,我们的搜索工具必须对拼写错误具有鲁棒性。本文介绍了解决这一问题的一个相当简单而灵活的方法,如果你正运行MongoDB,那么它会特别有用,因为它并不需要外部搜索工具。 |
| 31 | + |
| 32 | +[使用Rust提高Python性能](https://blog.sentry.io/2016/10/19/fixing-python-performance-with-rust.html) |
| 33 | + |
| 34 | +[使用Flask和Orator ORM构建一个REST API](http://blog.eustace.io/buiding-rest-api-with-flask-orator.html) |
| 35 | + |
| 36 | +[百年孤独:我是如何分析最爱的书的](https://medium.com/@finalfire/one-hundred-years-of-solitude-how-i-analyzed-my-favorite-book-6c20456480c8) |
| 37 | + |
| 38 | +[Python中的静态类型,哎哟,my(py)!](http://blog.zulip.org/2016/10/13/static-types-in-python-oh-mypy/) |
| 39 | + |
| 40 | +[迭代器模式的堆栈](http://garethrees.org/2016/09/28/pattern/) |
76 | 41 |
|
77 | 42 |
|
78 | 43 | # 好玩的项目,工具和库
|
79 | 44 |
|
80 | 45 | [HawkPost](https://github.com/whitesmith/hawkpost)
|
81 |
| -Generate links that users can use to submit messages encrypted with your |
82 |
| -public key. |
| 46 | + |
| 47 | +生成链接,用户可以用来提交使用你的公钥加密的消息。 |
83 | 48 |
|
84 | 49 | [python-reference](https://github.com/justmarkham/python-reference)
|
85 |
| -Quick reference to Python in a single script and notebook. |
| 50 | + |
| 51 | +一个脚本和Notebook中的Python快速参考。 |
86 | 52 |
|
87 | 53 | [Sanic](https://github.com/channelcat/sanic)
|
88 |
| -Flask-like Python 3.5+ web server that's written to go fast. |
| 54 | +类Flask的Python 3.5+ web服务器,编写来更快的运行。 |
89 | 55 |
|
90 |
| -[pyvisgraph](https://github.com/TaipanRex/pyvisgraph) |
91 |
| -Given a list of simple obstacle polygons, build the visibility graph and find |
92 |
| -the shortest path between two points. |
| 56 | +[pyvisgraph](https://github.com/TaipanRex/pyvisgraph) |
| 57 | + |
| 58 | +给定一个简单的障碍多边形列表,构建知名度图,然后找到两个点之间的最短路径。 |
93 | 59 |
|
94 | 60 | [PyMoe](https://github.com/ccubed/PyMoe)
|
95 |
| -PyMoe is a python interface to several popular Anime and Manga services for |
96 |
| -Python 3. |
| 61 | + |
| 62 | +PyMoe是一个python接口,用来为Python 3提供一些流行的动画与漫画服务。 |
97 | 63 |
|
98 | 64 | [urlwatch](https://github.com/thp/urlwatch)
|
99 |
| -urlwatch is intended to help you watch changes in webpages and get notified |
100 |
| -(via email, in your terminal or with a custom-written reporter class) of any |
101 |
| -changes. The change notification will include the URL that has changed and a |
102 |
| -unified diff of what has changed. |
| 65 | +urlwatch旨在帮助你监控web页面的改动,并且一旦有任何改动,就会(通过电子邮件,在你的终端中,或者使用自定义编写的报告(reporter)类)通知你。改动提醒会包含发生了改动的URL,以及所发生变化的统一差异。 |
103 | 66 |
|
104 |
| -[Dragonchain](https://github.com/dragonchain/dragonchain) |
105 |
| -The Dragonchain platform attempts to simplify integration of real business |
106 |
| -applications onto a blockchain. Providing features such as easy integration, |
107 |
| -protection of business data, fixed 5 second blocks, currency agnosticism, and |
108 |
| -interop features, Dragonchain shines a new and interesting light on blockchain |
109 |
| -technology. |
| 67 | +[Dragonchain](https://github.com/dragonchain/dragonchain) |
| 68 | + |
| 69 | +Dragonchain平台试图简化真实商业应用到区块链的集成。提供诸如轻松集成、业务数据保护、固定5秒区块(5 second blocks)、货币不可知论和互操作功能,Dragonchain让区块链技术显得新颖有趣。 |
110 | 70 |
|
111 |
| -[fast-neural-style.tf](https://github.com/junrushao1994/fast-neural-style.tf) |
112 |
| -Feed-forward neural network for real-time artistic style transfer. |
| 71 | +[fast-neural-style.tf](https://github.com/junrushao1994/fast-neural-style.tf) |
| 72 | + |
| 73 | +用于实时艺术风格传输的前馈式神经网络。 |
113 | 74 |
|
114 |
| -[lptrace](https://github.com/khamidou/lptrace) |
115 |
| -lptrace is strace for Python programs. It lets you see in real-time what |
116 |
| -functions a Python program is running. It's particularly useful to debug weird |
117 |
| -issues on production. |
| 75 | +[lptrace](https://github.com/khamidou/lptrace) |
| 76 | + |
| 77 | +lptrace是用于Python程序的堆栈跟踪工具。它让你实时看到一个Python程序正在运行什么函数。在调试生产上的疑难杂症特别有用。 |
118 | 78 |
|
119 |
| -[mocker](https://github.com/tonybaloney/mocker) |
120 |
| -A proof-of-concept imitation of Docker, written in 100% Python. Using Kernel |
121 |
| -Namespaces, cgroups and network namespaces/iproute2 for Linux. |
| 79 | +[mocker](https://github.com/tonybaloney/mocker) |
| 80 | + |
| 81 | +Docker的一个概念证明模仿版本,100%用Python编写。对Linux使用内核命名空间,cgroup和网络命名空间/iproute2。 |
122 | 82 |
|
123 | 83 |
|
124 | 84 | # 近期活动和网络研讨会
|
125 | 85 |
|
126 |
| -[Online Event: Your pandas questions |
127 |
| -answered!](https://www.crowdcast.io/e/pandas/register) |
128 |
| -This is a 1-hour Q&A session about pandas, the leading Python library for |
129 |
| -data analysis, exploration, and manipulation. All levels of pandas users are |
130 |
| -welcome to attend and ask questions! No question is too simple or too complex. |
| 86 | +[线上事件:有关pandas的答疑!](https://www.crowdcast.io/e/pandas/register) |
| 87 | + |
| 88 | +这是关于pandas的一个1小时问答环节,pandas是用来进行数据分析、探索和操作的Python库。欢迎各种层次的pandas用户参加以及提问!这里,任何问题都不会太简单或太复杂。 |
131 | 89 |
|
132 |
| -[San Francisco Django Meetup October 2016 - San Francisco, |
133 |
| -CA](https://www.meetup.com/The-San-Francisco-Django-Meetup- |
134 |
| -Group/events/234806317/) |
135 |
| -There will be following talks |
| 90 | +[旧金山Django 2016年10月聚会 - San Francisco, CA](https://www.meetup.com/The-San-Francisco-Django-Meetup-Group/events/234806317/) |
| 91 | + |
| 92 | +将会有以下演讲 |
136 | 93 |
|
137 |
| - * Django Rest Framework: Tips, Tricks and Hacks |
138 |
| - * A two-step dance with Django and Jinja2 templates |
| 94 | + * Django Rest框架:技巧、诀窍和hack |
| 95 | + * Django和Jinja2模板的两步舞 |
139 | 96 |
|
0 commit comments