- 原文: Import Python Weekly Newsletter - Issue No 144
- 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-)
该读
~ 文章, Blog, 教程...
In this article, let us discuss briefly about two interesting features of NumPy viz. mutation by slicing and broadcasting.
- 用 Python 轻松实现微服务
- microservices
This small note portray process of creation a self-sufficient microservice.
What started as a twitter disagreement carries over into this civil discussion of software testing. Brian and Paul discuss testing practices such as the testing pyramid, TDD, unit testing, system testing, and balancing test effort.
- 查找网页的创建或修改日期
- text extraction
htmldate provides a simple and convenient way to extract the creation or modification date of web pages, within Python or on the command-line. Based on HTML parsing and scraping functions:
- 用 Python 对 Docker 中的 Nginx 进行动态配置
- docker, nginx
Deploying nginx in a dynamic container environment takes a little work, especially if you don’t want to pay the big bucks for NGINX Plus. I wrote a low-tech python script for learning how things work under the hood; find it on my Github. There are open-source reverse-proxy solutions that are built specifically for container environments, like traefik. Traefik obviates the need for nginx altogether, but if you still want to run nginx, consider nginx-proxy.
- 通过构建一个区块链来学习之
- blockchain
The fastest way to learn how Blockchains work is to build one.
- Medium.com, 更多统计信息 - IBM沃森数据实验室
- data science
How I analyzed our Medium publication stats in a Python notebook?
In this article I will show you how to build simple restful api with flask and SQLite that have capabilities to create, read, update, and delete data from database.
(是也乎:
所有 RESTful 都是对应用的一种粗暴解释... 所以, xRPC 开始嗯哼
)
This post is the first of many to come on Apache Arrow, pandas, pandas2, and the general trajectory of my work in recent times and into the foreseeable future. This is a bit of a read and overall fairly technical, but if interested I encourage you to take the time to work through it.
(是也乎:
恨晩了, 已经成标准了... )
-
- videos
-
- electronics
Most people who want to simulate logic ICs will use Verilog, VHDL, or System Verilog. Not [hsoft]. He wanted to use Python, and wrote a simple Python framework for doing just that. You can find the code on GitHub, and there is an ASCII video that won’t embed here at Hackaday, but which you can view at ASCIInema.
(是也乎:
简单的说 终端的能力远没挖掘到底儿...
)
- USGS 数据集列出了美国的每个风力发电机组
- data science, jypyter
Jupyter Notebook
(是也乎:
也就是说 用 ipynb 发论文不远了...
)
- Python 数据分析与 Pandas
- pandas, tutorial
Python is a great language for data analysis. pandas is a Python package providing fast, flexible, and expressive data structures designed to make working with “relational” or “labeled” data both easy and intuitive. It aims to be the fundamental high-level building block for doing practical, real world data analysis in Python. In this post we’ll get to know more about doing data analysis using pandas.
(是也乎:
叕一个 Pandas 教程, 其实就一句话, 别怕浪费内存...
)
-
- coverage
-
- game engine
Serpent.AI is a simple yet powerful, novel framework to assist developers in the creation of game agents. Turn ANY video game you own into a sandbox environment ripe for experimentation, all with familiar Python code. The framework's raison d'être is first and foremost to provide a valuable tool for Machine Learning & AI research. It also turns out to be ridiculously fun to use as a hobbyist (and dangerously addictive; a fair warning)!
(是也乎:
.io 之后 .ai 是又一个可屯域名了
)
-
- json, sql
-
使用 Django Rest 框架构建远程过程调用(RPC)端点
- DRF, RPC
The Django Rest Framework (DRF), has a lot of built in functionality that supports CRUD operations, but building an RPC endpoint requires hand-rolling much of that. Ultimately, if we’re adding an RPC endpoint to an existing API with mostly REST endpoints, we want to match the design of our new endpoint to match that of the DRF, so we need to understand what each piece does.
(是也乎:
所以, Dj 也开始 *RPC 了, 世界总是在重复自己...
)
-
- tips and tricks
-
This post will show and explain how to build a simple tool for Sentiment Analysis of Twitter posts using Python and a few other libraries on top. Full code is available on GitHub.
(是也乎:
简单的说, twitter 通过开放数据, 生将自己变成了数据科学地基 )
- 用 Python 来 gRPC 简化指南
- gRPC
Google’s gRPC provides a framework for implementing RPC (Remote Procedure Call) workflows. By layering on top of HTTP/2 and using protocol buffers, gRPC promises a lot of benefits over conventional REST+JSON APIs.
(是也乎:
参考: WEB开发中,使用JSON-RPC好,还是RESTful API好? - 知乎
)
-
A Django Rest App With Type Annotated Way
- type annotation
-
- itertools
Those iterables are more powerful than you can possibly imagine.
(是也乎:
其实, 这种工具在上古都是完备的,只是反直觉, 所以... )
好物
~ 包/模块/库/片段...
- redsails
- 100 Stars, 22 Fork
RedSails is a Python based post-exploitation project aimed at bypassing host based security monitoring and logging. DerbyCon 2017 Talk: https://www.youtube.com/watch?v=Ul8uPvlOsug
- blockchain
- 28 Stars, 10 Fork
A simple Blockchain in Python.
(是也乎:
叕一个区块链的嗯哼...
所以, 数据科学后, Blockchain 是 Python 又一个发力点?
)
- amzSear
- 20 Stars, 2 Fork
The unofficial Amazon search CLI & Python API
(是也乎:
所以, 会否和谐? 大家猜一下? )
- click-tools
- 13 Stars, 1 Fork
Command-Line utilities for Click (extracted from Clint).
(是也乎:
精品总是更多工具的摧产妇... )
- benchmarks
- 6 Stars, 1 Fork
Use TensorFlow efficiently
- plotille
- 5 Stars, 0 Fork
Plot in the terminal using braille dots.
(是也乎:
所以多大的显示器都是不够的
)
( ̄▽ ̄)
- 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