- 原文: Import Python Weekly Newsletter - Issue No 145
- 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-)
该读
~ 文章, Blog, 教程...
In this article, a CRF (Conditional Random Field) will be trained to learn how to segment Latin text. Using only very basic features and easily accessible training data, we are going to achieve a segmentation accuracy of 98 %.
- Python 中的 K均值聚类
- machine learning
Clustering is a type of Unsupervised learning. This is very often used when you don’t have labeled data. K-Means Clustering is one of the popular clustering algorithm. The goal of this algorithm is to find groups(clusters) in the given data. In this post we will implement K-Means algorithm using Python from scratch.
- Lifelong Rubyist 使一些 Python 代码 5x 加速
- performance
n this post I’m going to look at a bit of Python code I optimized recently, and then compare the process of making this code faster to the process of how I make Ruby code faster.
- Alice 在 Python 项目中
- core-python
Python project structure and packaging can be intimidating, but, if you take it step by step, it doesn’t have to be. Look at other people’s code, particularly smaller, modular projects, break the work up into pieces, and work through it piece by piece, until you’re all the way down the rabbit hole.
(是也乎:
项目代码/结构的腐化速度和项目的活跃度是直接关联的
)
- WSGI 还未够班 — 第一部分
- wsgi
This is the first part of a multi-part series discussing the limitation of WSGI-based Python web applications and the ways to overcome these limitations.
- WSGI 还未够班 — 第二部分
- wsgi
In the first part of this series we discussed the problems and limitations which inheres within WSGI-based Python web applications. In this part we will discuss what concurrency is and what is an event driven architecture
- Go vs CPython: 并发和并行选项的可视化对决
- concurrency, parallelism
Using MPG diagrams to see the differences between Threading, Multiprocessing and Asyncio, the 3 official CPython options, and Go Runtime.
(是也乎:
对 google/grumpy: Grumpy is a Python to Go source code transcompiler and runtime. 的强烈召唤.. )
- 用 Python 评估风险和返回事件的概率
- statistics, quant
There are various situations where quants look at different scenarios of an event when making investment decisions. Running simulated scenarios is an invaluable tool for all finance/investment managers as it allows them to measure likely performance for various states.
- 监视,记录和提醒 Linux 上 CPU 的过载
- code snippets
I wrote a Python script (GitHub) that does a few things. First and foremost, I wanted to know every minute on the minute what my CPU core temps were regardless of whether I’m getting throttled or not so that I had the option to chart this (I haven’t done this, as I think I’ve found the culprit but I wanted to keep my options open). I also wanted to know if my laptop fan was functioning as desired in relation to the CPU temps, so I needed to grab fan RPM.
(是也乎:
Lenovo T420s 上运行的 Linux 中的自制监察脚本... tstringer/linux-core-temperature-monitor: Script (meant to run via cron) to monitor, log, and alert when the CPU is throttled due to overheating
可是 Glances 全部嗯哼了哪...
)
-
- code snippets
-
介绍在 Python 中使用 NetworkX 进行图形优化
- networkx
This NetworkX tutorial will show you how to do graph optimization in Python by solving the Chinese Postman Problem in Python.
(是也乎:
是的, 完备的了...
)
- 设计 Python 固定大小的散列图
- core-python, dict
implement a fixed-size hash map that associates string keys with arbitrary data object references.
- Flask-SocketIO
- flask
Flask-SocketIO gives Flask applications access to low latency bi-directional communications between the clients and the server. The client-side application can use any of the SocketIO official clients libraries in Javascript, C++, Java and Swift, or any compatible client to establish a permanent connection to the server.
- Python Release Python 3.6.3
- new release
Python 3.6.3 is the third maintenance release of Python 3.6. The Python 3.6 series contains many new features and optimizations. See the What’s New In Python 3.6 document for more information.
Do you know what is the heaviest book ever printed? Let’s find out by exploring the Open Library data set using Spark in Python.
(是也乎:
港真, 100G 现在只是小数据了... 关键是 Open Library 数据集的存在, 用来找最重的书? )
- Parallel Processing in Python
- multiprocessing
好物
~ 包/模块/库/片段...
- milksnake
- 69 Stars, 1 Fork
A setuptools/wheel/cffi extension to embed a binary data in wheels.
(是也乎:
奶蛇~将必要的二进制资源嗯哼到包中
)
- pcap2curl
- 60 Stars, 12 Fork
Read a packet capture, extract HTTP requests and turn them into cURL commands for replay.
(是也乎:
叕一个 cURL 加强/转换工具
)
- dockselpy
- 59 Stars, 4 Fork
Dockerized Selenium and Python with support for Chrome and Firefox.
(是也乎:
Xfvb 的威力加载 )
- python-plexlibrary
- 20 Stars, 0 Fork
Create and maintain dynamic Plex libraries based on recipes.
- bigquery_fdw
- 11 Stars, 2 Fork
BigQuery Foreign Data Wrapper for PostgreSQL.
- TeamFlowy
- 5 Stars, 1 Fork
A simple sync tool to sync task from Workflowy to Teambition.
(是也乎:
没有开放接口, 这种跨平台的嗯哼是不可想象的...
)
- art
- 5 Stars, 0 Fork
Simple ASCII Art Library For Python
(是也乎:
叕一个 CLI 的艺术工具..
>>> from art import *
>>> aprint("butterfly")
Ƹ̵̡Ӝ̵̨̄Ʒ
>>> aprint("happy")
ۜ\(סּںסּَ` )/ۜ
>>> art_1=art("coffee")
>>> print(art_1)
c[_]
>>> tprint("art")
.----------------. .----------------. .----------------.
| .--------------. || .--------------. || .--------------. |
| | __ | || | _______ | || | _________ | |
| | / \ | || | |_ __ \ | || | | _ _ | | |
| | / /\ \ | || | | |__) | | || | |_/ | | \_| | |
| | / ____ \ | || | | __ / | || | | | | |
| | _/ / \ \_ | || | _| | \ \_ | || | _| |_ | |
| ||____| |____|| || | |____| |___| | || | |_____| | |
| | | || | | || | | |
| '--------------' || '--------------' || '--------------' |
'----------------' '----------------' '----------------'
)
( ̄▽ ̄)
- oldj/pyheatmap: python heat map library
- 国货 heatmap 生成
只需要给出散点数据, 自动生成漂亮的热力图
关键响应非常敏捷, 10.1 长徦期间嗯哼了一下, 立即追加了两个功能: pyheatmap/test.py at 31d80c89529e194e743e3125d56a189712186c55 · oldj/pyheatmap
神奇的是作者同时果断也是位 SiFi 作家: 地球上的背包客 - Backpackers_on_Earth.pdf
- Calysto/calysto_scheme: A Scheme kernel for Jupyter that can use Python libraries
- scheme.ipynb
- PyConChina2017 议题征集开始
- 申报开始
申报表单: https://jinshuju.net/f/2ag6QB
中国的PyCon大会已经组织了6年,在第7年PyCon大会之际,Python3已经成熟,比如Instagram迁移到了Python3。而人工智能方兴未艾,区块链、物联网、AR、VR、机器人等领域创新不断涌现。
本大会以“大数据和人工智能技术的创新应用”为主题,将由丰富的内容和议题组成,着重探讨如何使用Python技术进行大数据和人工智能的技术开发和最佳实践,并结合具体的产品和行业发展趋势,分享不同类型的应用、场景下的开发和运营经验。
...
今年PyConChina2017将在两个城市举办,上海定档:
2017年10月22日 8:30 ~ 17:00
(是也乎:
结果立即在 CPyUG 列表中引发了各种嗯哼, 并有行者组织了议题问卷, 得到稍有不同的期待, 所以, 大会的举行真心得看坚持了. )
是也乎
- 170922 Zoom.Quiet 42 分钟完成快译
- 170922 Zoom.Quiet 用时 7 分钟完成格式化.
Comments