importpython-barnner.png

该读

~ 文章, 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.

(是也乎:

demo_output

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

logzero

)

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.

(是也乎:

pycon-joshi-sm

嗯哼?哲学一切都和设计哲学取舍有关...

)

好物

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

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(
            Div(
                Div(),
                P().times(4),
            ),
        ).times(2)

        return result


    a = Html(
        Body(
            my_div(),
        ),
    )

简单的说, 就是将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 优化框架...

)

( ̄▽ ̄)

(是也乎:

嚓了个嚓... )

是也乎


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


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


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->