- 原文: Import Python Weekly Newsletter - Issue No 152
- 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-)
该读
~ 文章, Blog, 教程...
- Python 哈希和对等
- core-python
Most Python programmers don’t spend a lot of time thinking about how equality and hashing works. It usually just works. However there’s quite a bit of gotchas and edge cases that can lead to subtle and frustrating bugs once one starts to customise their behaviour – especially if the rules on how they interact aren’t understood.
(是也乎:
任何概念深了说, 都不怎么平易
)
- Pygame 搞的视频合成器 - Python 作艺
- art, sound, pygame
Critter and Guitari have built a bunch of insane video synthesizers that react to live music performance. They’re meant to enhance and automatically accompany a performance. Today, we’ll write a basic video synthesizer in Python, using aubio for Onset detection, and Pygame to display our graphics visually. We’ll end up with a program ready to be played out through a projector.
(是也乎:
图样图森破哪...这东西还是硬件来的靠谱
)
- Pandas 101: 索引
- pandas
I’m going to go in depth a bit on two main concepts of Series & Dataframes. And then, what I found helpful in life, is becoming fluent in indexing dataframes.
(是也乎:
大坑...还是清洗时,针对最终输出嗯哼好就好 )
- Python 去 Go 作弊条儿
- golang
For Python developer looking to get a taste of Go. Also do subscribe to http://importgolang.com/ to keep a track of Go Ecosystem.
(是也乎:
那什么,在这儿推荐这种是否... )
- CPython 内部探索
- cpython
This is a quick guide for people who are interested in learning more about CPython’s internals. It provides a summary of the source code structure and contains references to resources providing a more in-depth view.
- JIT编译 Python子集到 x86-64
- bytecode, JIT
This post shows how to write a basic JIT compiler for the Python bytecode, from scratch, using nothing but stock Python modules.
(是也乎:
scratch???
的确 bytecode 是个待挖掘的宝藏, 其实从这个环节进行静态化, 优化为毛不行呢?
)
- GitHub - tryolabs/requestium: 请求到 Selenium 之间的集成层,用于自动化web动作
- Selenium, requests
Requestium is a python library that merges the power of Requests, Selenium, and Parsel into a single integrated tool for automatizing web actions. The library was created for writing web automation scripts that are written using mostly Requests but that are able to seamlessly switch to Selenium for the JavaScript heavy parts of the website, while maintaining the session. Requestium adds independent improvements to both Requests and Selenium, and every new feature is lazily evaluated, so its useful even if writing scripts that use only Requests or Selenium.
(是也乎:
Selenium 坚持这么多年,终于熬死了其它前端测试框架统一江湖了啊啊啊啊啊 )
In this post we introduce Arrested?—?A new framework for building REST APIs using Python. We’ll use Docker, SQLAlchemy, and other tools to build a Star Wars themed API in 5 minutes!
(是也乎:
动用了 Docker 哪...
)
- 用Python分析1000多种希腊葡萄酒
- scraping
In this post I'll play with the data I scraped from a Greek wine e-shop. In lieu of apology for sending a few more requests to their server I urge everyone browse through their catalog and maybe even buy a few bottles.
(是也乎:
分析希腊酒品质分布...
)
- 用深度学习预测加密货币价格
- pandas, LSTM
We’ve collected some crypto data and fed it into a supercool deeply intelligent machine learning LSTM model. Unfortunately, its predictions were not that different from just spitting out the previous value. How can we make the model learn more sophisticated behaviours?
-
- interview, 面试经
-
如何使用 Pandas-DataReade r获得免费的当日期权数据
- pandas
This is a simple reference article for readers that might wonder where I get/got my options data from. In this regard I would like to shout out the contributors to the pandas-datareader, without their efforts this process would be much more complex.
- JavaScript 的 Promises 等于 Python 的 asyncio
- asyncio, js
JavaScript promises appear to be very different from Python's asyncio. But they're not that different! The code is written differently (the syntax is different), but what is happening under the hood is actually the same (the semantics are equivalent).
(是也乎:
这种姿势来蹭热点, 良心不痛嘛?
promises 那是被逼的, 在 py3 是原生的
)
- 用 Keras 进行 AI 艺术风格转换
- image processing, art
(是也乎:
叕一个风格理解/合成工具
)
- 真正简单的方法来编写 Python 衰变函数
- decay
At my exercise of reinforcement learning, I needed to write a decay function for ?-greedy strategy.
(是也乎:
decay ... 哈哈, 好形象 )
-
- code snippets
-
Testing Models with Django using Pytest and Factory Boy
- django
Pytest and Factory Boy make a rad combo for testing Django Applications.
- pytest-annotate 开源鸟!
- mypy, dropbox
Just a few days ago, Dropbox open-sourced PyAnnotate, a Python library that observes the execution of a Python program and automatically outputs Python type annotations. PyAnnotate greatly simplifies the process of using a type-checker (e.g. Mypy) with a legacy codebase.
(是也乎:
老爹到了 Dropbox 后, 动作很多哪... 自动化类型声明补... )
好物
~ 包/模块/库/片段...
- AVSignSeek
- 120 Stars, 21 Fork
Tool written in python3 to determine where the AV signature is located in a binary/payload.
- DDEtect
- 44 Stars, 10 Fork
Simple DDE object detector
- coding_exercises
- 32 Stars, 22 Fork
This repository contains my implementation of useful data structures, algorithms, games, as well as my solutions to programming puzzles.
(是也乎:
叕一位程序猿的私货仓库, 没想到 pyhton 程序猿也和 C++ 程序猿一样
)
- nxshot
- 26 Stars, 5 Fork
Automatically organize and timestamp your Nintendo Switch captures.
(是也乎:
Python 的大触还真的是哪儿都能嗯哼到了咔
)
- exodus
- 16 Stars, 3 Fork
Platform to audit trackers used by Android application.
- docker-django-nginx-uwsgi-postgres-load-balance-tutorial
- 15 Stars, 2 Fork
Docker + Django + Nginx + uWSGI + Postgres - Load Balance -Tutorial.
(是也乎:
嗯哼, 这种项目起名的姿势值得学习 )
- dataflow_launcher
- 5 Stars, 0 Fork
A unified way of launching Dataflow jobs.
- taskmap
- 0 Stars, 0 Fork
This library facilitates keeping track of dependencies between python functions, and running them asyncronously and/or in parallel.
(是也乎:
略屌哪...通过形式类似配置文件的依赖声明, 将函式级别的行为, 进行了异步/同步 的执行顺序控制
)
- dollar-ref
- 0 Stars, 0 Fork
If you have JSON/YAML configuration files that have grown huge and you would like to split them for better organization, then this package is definitely for you.
(是也乎:
叕一个 JSON/YAML 配置管理支持工具 针对超过1000行以上的配置.
)
( ̄▽ ̄)
- oldj/pyheatmap: python heat map library
- 国货 heatmap 生成
只需要给出散点数据, 自动生成漂亮的热力图
关键响应非常敏捷, 10.1 长徦期间嗯哼了一下, 立即追加了两个功能: pyheatmap/test.py at 31d80c89529e194e743e3125d56a189712186c55 · oldj/pyheatmap
神奇的是作者同时果断也是位 SiFi 作家: 地球上的背包客 - Backpackers_on_Earth.pdf
是也乎
- 171126 Zoom.Quiet 42 分钟完成快译
- 171126 Zoom.Quiet 用时 7 分钟完成格式化.
Comments