importpython-barnner.png

该读

~ 文章, Blog, 教程...

Brandon Rhodes published a post today about the Decorator Pattern and how that translates into Python. He explains the manual way that the pattern can be implemented in Python as a wrapper, as well as how you can try to minimise the amount of work you need to do by overriding special methods of a Python object. The wrapt package I authored was purpose built for this task of creating wrappers which Brandon describes, and much more. To avoid some of the name confusion around Decorator Pattern versus Python decorators, which Brandon highlights as an issue, I tend to refer to the wrappers as transparent object proxies.

(是也乎:

叕一个对原生特性增强的模块,来自 Hear no evil, see no evil, patch no evil: Or, how to monkey-patch safely. - YouTube https://www.youtube.com/watch?v=GCZmGgtWi3M

NZPyUG 的年度大会 KiwiPyCon 2017...

14年就发布的老梗, 作者还在一直讲...

)

Today’s post focuses on applying linear regression techniques to a less-than-ideal dataset. In order to do so, I need a scenario from which to work. As of this writing, the MLB free agent signing period (or ‘Hot Stove’ as it is affectionately named) is in full effect. Therefore, I chose the following problem statement as my challenge: my client, a professional baseball team, is interested in offering a contract to a free agent starting pitcher and wants a recommendation for the annual salary it should propose. Now that I have my problem, I can begin working on the answer!

(是也乎:

线性回归技术的一个真实案例 )

Or how to run Headless Chrome on AWS Lambda together with Python, Selenium and Chromedriver

(是也乎:

无头 Chrome 的又一个嗯哼案例

)

MoviePy (full documentation) is a Python library for video editing: cutting, concatenations, title insertions, video compositing (a.k.a. non-linear editing), video processing, and creation of custom effects. See the gallery for some examples of use.

(是也乎:

MoviePy 的确是一个完备的视频折腾工具, 可以说是 FFmpeg 的 Pythonic 包装

)

The problem was, once we change something in the CSS/JS, that change was not getting reflected on the client side and browser was taking the old files from the cache. To avoid this, we needed a mechanism to refresh the cache once anything has changed in the CSS/JS. The obvious approach was to change the name or attach a version number to a CSS file each time we make a change. But we wanted this process to be automated so we came across Django-compressor.

Python 3.4 introduced a new standard library for dealing with files and paths called pathlib?—?and it’s great!

(是也乎:

Py3 的软文叕一则

)

(是也乎:

叕一则 Jupyter 的数据科学嗯哼技巧

)

In my previous post on the new open source Python Bounter library we discussed how we can use its HashTable to quickly count approximate item frequencies in very large item sequences. Now we turn our attention to the second algorithm in Bounter, CountMinSketch (CMS), which is also optimized in C for top performance.

Learn how to create PDFs using the popular Python programming language and the ReportLab toolkit. Kickstarter campaign.

A Python application that sync Github Gists and save them to Evernote notebook as screenshots.

The main goal of this reading is to understand enough statistical methodology to be able to leverage the machine learning algorithms in Python’s scikit-learn library and then apply this knowledge to solve a classic machine learning problem. The first stop of our journey will take us through a brief history of machine learning. Then we will dive into different algorithms. On our final stop, we will use what we learned to solve the Titanic Survival Rate Prediction Problem.

So the context is this; a zip file is uploaded into a web service and Python then needs extract that and analyze and deal with each file within. In this particular application what it does is that it looks at the file's individual name and size, compares that to what has already been uploaded in AWS S3 and if the file is believed to be different or new, it gets uploaded to AWS S3.

(是也乎:

不是不用解压缩就能使用所有内容的嘛?

)

好物

~ 包/模块/库/片段...

An open-source implementation of the AlphaGoZero algorithm.

cool animations with pyqt5 and parametrics

(是也乎:

少见的 Qt5 工具

captivox

专注生成动画

)

Cryptocurrency historical market price data scraper in Python

(是也乎:

叕一个加密币价格查询器, CLI 的

)

The most complete open-source tool for Twitter intelligence analysis.

(是也乎:

叕一个更加嗯哼的 Twitter 数据分析框架

)

-Rust_Api_Generator - 21 Stars, 0 Fork

a toolset for autogenerating rust APIs and translating structs.

(是也乎:

不是 rust 语言, 而是支持多种语言的结构化 API 代码生成

)

Serverless backend for sending simple recurring invoices.

(是也乎:

叕一则 AWS 生态的次级嗯哼

)

Source code behind the python-patterns.guide site by Brandon Rhodes.

(是也乎:

叕一部新书的配套代码... 所以, 现在技术图书没有配套的 github 仓库, 基本上可以不用看了...

当然, github 发布前的老书不在此列.

)

Django Social Pill offers convenience tools for routine tasks concerning social authentication.

Automated trading bot for Binance.

A simple python script with zero dependencies that can be used to encrypt/decrypt secret credentials (API secret keys, HTTP passwords, etc.) using a password to be able to safely put them under version control.

(是也乎:

和 Pyenv 类似, 用约定的特殊文件来切换不同的嗯哼

)

A short guide on features of Python 3 for data scientists.

(是也乎:

所以, 以往 Py2 嗯哼的领域, 都得用 Py3 重新宣传一次?

python3_with_pleasure )

( ̄▽ ̄)

国人作品, 解决 https 部署时的证书生成问题

猛然发现, Leo 生态已经走到这种程度了...

leovue

30 Amazing Python Projects for the Past Year (v.2018) 其中有几个国货,也都超过 1000+星了...

screenshot

<- Qix-/better-exceptions: Pretty and useful exceptions in Python, automatically. 效果惊艳...

是也乎


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...

任何问题

随时邮件提问可也:
askdama@googlegroups.com

-->