~ 文章, Blog, 教程...

I used Python’s built-in AST module to parse a subset of Python syntax and turn it into an x86-64 assembly program. It’s basically a toy, but it shows how easy it is to use the ast module to co-opt Python’s lovely syntax for your own ends.


简单的说, 就是内置 AST 能力的嗯哼... )

Suppose that you have a function and you wonder, "Can I make this faster?" Well, you might already have thought that and you might already have a theory. Or two. Or three. Your theory might be sound and likely to be right, but before you go anywhere with it you need to benchmark it first. Here are some tips and scaffolding for doing Python function benchmark comparisons.

Monthly PyPI digest.

Almost all applications contain images. Image moderation has become a necessity. We will see in this article how to moderate your images automatically.


基于 Realtime image moderation and nudity detection API - Sightengine 进行鉴黄...


Kruskal’s algorithm is a greedy algorithm that finds a minimum spanning tree for a weighted undirected garph. Visualisation and code snippet included.

Back when I was getting started into Bayesian Statistics I found it hard to find some simple ready-to-use code examples to get started with probabilistic programming. Today, there are great resources available and I want to contribute with that sharing a very simple code to get started with AB Tests in Python.

Django testing using django-nose and coverage.

This tutorial will help you build a classifier as a service. The classifier will be trained using iris flower data set witch consists on 3 different types of irises’ (Setosa, Versicolour, and Virginica). The rows being the samples and the columns being features: sepal length, sepal width, petal length and petal width. Scikit-learn library will be used for machine-learning algorithms.


看起来很复杂, 但是, AWS 就是这样将元能力嗯哼好, 大家就可以自在的组合成各种嗯哼... )

I’ve just published logzero, a small Python package which simplifies logging with Python 2 and 3. It is easy to use and robust, and heavily inspired by the Tornado web framework.



冲这么嗯哼的 logo 就可以尝试了..



Curator - If you ever dreamed of writing code that makes you money while you sleep or are relaxing on a beach. On a serious note this is a solid blog post on stock reading Stock Performance analytics.

At PyCon 2017, Kavya Joshi looked at some of the differences between the Python reference implementation (known as "CPython") and that of MicroPython. In particular, she described the differences in memory use and handling between the two. Those differences are part of what allows MicroPython to run on the severely memory-constrained microcontrollers it targets—an environment that could never support CPython.






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

Lambda-toolkit is a lambda command line (CLI). It helps you in creating, building, DEBUG in your own machine real events, testing and deploying your lambda functions.

This repository will contain the example detailed codes of Tensorflow and Keras, This repository will be useful for Deep Learning staters who find difficult to understand the example codes .


又一个 示例详细代码 仓库... )

Kubernetes deploy utility for Gitlab

Tool to automate DynamoDB backups.


<-- 鹰嘴豆 哈... )

A beautiful html builder built with python.


    from htmlBuilder.tags import *
    from htmlBuilder.attributes import Class, InlineStyle

    def my_div() -> list:

        result = Div(

        return result

    a = Html(

简单的说, 就是将html 的标签变成了函式...


A comprehensive gradient-free optimization framework written in Python. It contains basic versions of many of the most common optimization algorithms that do not require the calculation of gradients, and allows for very rapid development using them. It's a very versatile library that's great for learning, modifying, and of course, using out-of-the-box.


gradient-free 优化框架...


( ̄▽ ̄)


嚓了个嚓... )




关于 ~ DebugUself with DAMA ;-)
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:

关注公众号, 持续获得相关各种嗯哼:


**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 扫描预约入群, 学员每满 42 人即启动新一期训练营 ;-)
  • 101camp22.7
  • + 任何问题, 随时邮件提问可也: