importpython-barnner.png

该读

~ 文章, Blog, 教程...

The Python subprocess module is a powerful swiss-army knife for launching and interacting with child processes. It comes with several high-level APIs like call, check_output and (starting with Python 3.5) run that are focused at child processes our program runs and waits to complete. In this post I want to discuss a variation of this task that is less directly addressed - long-running child processes.

(是也乎:

作者脑补出了几种方案, 但是,都不嗯哼... 其实吧长时间运行, 要不服务化, 要不事务化, 就别想着中间还能嗯哼什么, 毕竟这是冯机体系不是代码和运行时一致的 LISP 世界. )

One of the things I’ve been thinking about recently is how to do natural language processing (NLP) effectively with deep neural networks using real world language examples. An example would be to classify the youtube comment

The Union of Concerned Scientists maintains a database of ~1000 Earth satellites. For the majority of satellites, it includes kinematic, material, electrical, political, functional, and economic characteristics, such as dry mass, launch date, orbit type, country of operator, and purpose. The data appears to have been mirrored on other satellite search websites, e.g. http://satellites.findthedata.com/ . This iPython notebook describes a sequence of interactions with a snapshot of this database using the bayeslite implementation of BayesDB, using the Python bayeslite client library. The snapshot includes a population of satellites defined using the UCS data as well as a constellation of generative probabilistic models for this population.

How you can extract meaningful information from raw text and use it to analyze the networks of individuals hidden within your data set.

Today, let’s learn how to build a simple linear regression model using Python’s Pandas and Scikit-learn libraries. Our goal is to build a model that analyses customer data and solves a problem for a (simulated) e-commerce business.

(是也乎:

反复强调了简单的, 即无实用价值的... )

The FAT Python project was started by Victor Stinner in October 2015 to try to solve issues of previous attempts of “static optimizers” for Python. Victor has created a set of changes to CPython (Python Enhancement Proposals or “PEPs”), some example optimizations and benchmarks. We’ll explore those 3 levels in this article.

It has been a long time coming, but I am now actively migrating existing projects to Python 3. Python 3.6 specifically, because when I am done I will be able to take advantage of my new favourite feature everywhere! That feature is f-strings.

(是也乎:

PEP-0498 的心声

Python 3.6.1 (...) 
Type "help", "copyright", "credits" or "license" for more...
>>> name = 'Albert'
>>> f'Hello, {name}!'
'Hello, Albert!'

嚓, f 算子... )

Seashells lets you pipe output from command-line programs to the web in real-time, even without installing any new software on your machine. You can use it to monitor long-running processes like experiments that print progress to the console. You can also use Seashells to share output with friends!

(是也乎:

真心不怕嗯哼了?!

)

In this tutorial I will show you how to use Amazon Web Services (AWS) Lambda service to save the results of an API response to a PostgreSQL database on a recurring schedule.

(是也乎:

讲真, 除非你只要个图片结果, 否则,还是多看看可以直接输出为 html 的 Bokeh

)

好物

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

Very basic blockchain-free cryptocurrency PoC in Python.

(是也乎:

UDP 环境中的简单加密... )

  • crocs
    • 334 Stars, 18 Fork

Write regex using pure python class/function syntax and test it better. (Regex for humans).

(是也乎:

正则表达式的 pythonic 使用...

)

Provide hints to optimize database usage by deferring unused fields (and more).

A Python implementation of Apache Kafka Streams

This is a Python toolkit for quickly building nice looking command line interfaces.

(是也乎:

spinner

叕一个 CLI 界面构建框架.. )

Load environment variables from a AWS S3 file.

(是也乎:

嗯哼?将要命的环境变量部属到 S3 中?! )

( ̄▽ ̄)

(是也乎:

嚓了个嚓... )

是也乎


Comments


大妈的多重宇宙 - YouTube

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

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


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


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

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