importpython-barnner.png

该读

~ 文章, Blog, 教程...

Videos of the just concluded Pycon US 2017.

(是也乎:

准备和 UPYUN 合作批量搬迁到国内... )

This is a short post on how to get download statistics about any package from PyPI. Though there have been efforts in that direction from sites like pypi ranking but this post finds a better solution. Google has been generous enough to donate it’s Big Query capacity to the Python Software Foundation. You can access the pypi downloads table through the Big Query console. I ran a sample query to find out how my personal package arachne has been doing on PyPI.

(是也乎:

Google Big Query 已经监控了...

bigquery

)

The breadth of SQLAlchemy’s SQL rendering engine, DBAPI integration, transaction integration, and schema description services are documented here. In contrast to the ORM’s domain-centric mode of usage, the SQL Expression Language provides a schema-centric usage paradigm.

(是也乎:

无数种草文又一则 )

The various meanings and naming conventions around single and double underscores (“dunder”) in Python, how name mangling works and how it affects your own Python classes.

(是也乎:

underscores )

In Python, all object types inherit from one master object, declared as PyObject . This master object has all of the information Python needs to process a pointer to an object as an actual object.

So we had a production case for months together, where the python process was stuck for indefinitely long time (even days) with absolutely zero activity but the process was listed as active and running by linux. A restart would fix the problem (as always) and the job would be live and kicking. Finally after sometime, I have found the root cause, so I thought I would share it. For the purpose of the blog I’m going to simulate the behavior of my application in a sample python script.

(是也乎:

qAMYuML_sI5WBuBI91_EEg

其实就是一个长期运行的 py 进程的调试技巧, 尝试模拟来激发bug...

最后还是回到了 GDB

)

Back in April, Google announced that it will be shipping Headless Chrome in Chrome 59. Since the respective flags are already available on Chrome Canary, the Duo Labs team thought it would be fun to test things out and also provide a brief introduction to driving Chrome using Selenium and Python.

(是也乎:

太应景了...只是用 selenium 来调, 肥了点儿? )

Elizabeth is a Python library, which helps generate mock data for various purposes. The library was written with the use of tools from the standard Python library, and therefore, it doesn’t have any side dependencies. Currently the library supports 30 languages and 19 class providers, supplying various data.

Python-boilerplate.com is a collection of Python boilerplates for getting started quickly and right-footed.

(是也乎:

用的 google 接口, 其实讯飞的也足够了 )

PyCon JP 2017 is Now Accepting Poster-Session Proposals! PyCon JP 2017 is a perfect opportunity to connect with a wide range of people. Poster sessions allow you to make the most of that opportunity.

(是也乎:

Idioms.py3

完整的一木书了... Bruce Eckel <-- 专门写 Think in * 的大仙, 当年 Tink in Java 看的是欲仙欲死...

~ Bruce Eckel's MindView, Inc: Books by Bruce Eckel 对了, 唯一太监的就是 Think in Python )

Using Atom IDE.

(是也乎:

VScode vs Atom vs others )

Python uses global to reference to module-global variables. There are no program-global variables in Python.

(是也乎:

模块全局,不是程序全局, 真正的全局变量, 在移动互联网时代,只能是第三方广播服务了 )

Python's (pip's) requirements.txt file is the equivalent to package.json in the JavaScript / Node.js world. This requirements.txt file isn't as pretty as package.json but it not only defines a version but goes a step further, providing a sha hash to compare against to ensure package integrity:

好物

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

OpenAI Baselines: high-quality implementations of reinforcement learning algorithms

A Sublime Text plugin for "Live" coding

(是也乎:

实时编码... )

  • IPpy
    • 41 Stars, 3 Fork

Parallel testing of IP addresses and domains in python

(是也乎:

面向网络事件的平行测试

IPpy

基于 tox 组织... )

Python package to download files on any topic in bulk.

(是也乎:

content

嚓....当然的, 国内无法使用... )

browse v2ex by a terminal

(是也乎:

CLI 的魔爪终于摸到了 V2EX, 基本上没有 CLI 界面的服务/网站,都不算真正的程序猿社区...

所以, CPyUG 一直是个纯粹的程序猿社区,因为只有一个 mailling-list 在长年服务

v2ex

)

Display spinners (in CLI) through Python standard logging.

(是也乎:

spinner

值得体验

)

Software sets up and runs an genome sequencing analysis workflow using AWS Batch and AWS Step Functions.

Python Bot that Tweets quote and like Tweets.

JSON Feed Validator

Command-line tools for project-oriented, human-sized Wikidata import

Slack client on the terminal with a GUI.This is a weekend project that started for me as a way to learn how to write old style command line interfaces. Slack is a tool a lot of programmers use today so I thought a lot of you would have interest in contributing to this effor.

(是也乎:

slacky

Dos 时代是一个回不去的时代...

)

( ̄▽ ̄)

Simiki is a simple wiki framework, written in Python.

(是也乎:

知道创宇 成员私人作品 md 的静态维基 )

是也乎


Comments

comments powered by Disqus