Skip to content

Instantly share code, notes, and snippets.

@zhanghui9700
Created March 13, 2017 08:00
Show Gist options
  • Save zhanghui9700/d058cc6d60241148a117e6838a223918 to your computer and use it in GitHub Desktop.
Save zhanghui9700/d058cc6d60241148a117e6838a223918 to your computer and use it in GitHub Desktop.
@zhanghui9700
Copy link
Author

openstack util lib

cliff

Command Line Interface Formulation Framework
Exploring the Demo App

stevedore

Python makes loading code dynamically easy, allowing you to configure and extend your application by discovering and loading extensions (“plugins”) at runtime. Many applications implement their own library for doing this, using import or importlib. stevedore avoids creating yet another extension mechanism by building on top of setuptools entry points. The code for managing entry points tends to be repetitive, though, so stevedore provides manager classes for implementing common patterns for using dynamically loaded extensions.
stevedore tutorial

taskflow

TaskFlow是OpenStack中的一个Python库,主要目的是让task(任务)执行更加容易可靠,能将轻量的任务对象组织成一个有序的流。
OpenStack TaskFlow的介绍

futurist

The goal of this library would be to provide a well documented futures classes/utilities/additions that allows for providing a level of transparency in how asynchronous work gets executed. This library currently adds statistics gathering, an eventlet executor, a synchronous executor etc.

cotyledon

Cotyledon provides a framework for defining long-running services.

It provides handling of Unix signals, spawning of workers, supervision of children processes, daemon reloading, sd-notify, rate limiting for worker spawning, and more.

tooz

tooz是一个python库,是一个实现分布式环境下成员管理、分布式锁、leader选举的框架。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment