py-leveldb LevelDB的Python开发包

程序名称:py-leveldb

授权协议: LGPL

操作系统: Linux

开发语言: Python

py-leveldb 介绍

py-leveldb 是 Google 的 K/V 数据库 LevelDB
Python 客户端开发包。

示例代码

import leveldb

db = leveldb.LevelDB('./db')

# single put  
db.Put('hello', 'world')  
print db.Get('hello')

# single delete  
db.Delete('hello')  
print db.Get('hello')

# multiple put/delete applied atomically, and committed to disk  
batch = leveldb.WriteBatch()  
batch.Put('hello', 'world')  
batch.Put('hello again', 'world')  
batch.Delete('hello')

db.Write(batch, sync = True)

py-leveldb 官网

http://code.google.com/p/py-leveldb/

相关编程语言

SchemaCrawler提供一组用于增强标准JDBC Metadata的...
ER Master 是一个用于设计ER模型图的Eclipse插件。提...
Eclipse下用于画数据库ER图的插件,主要特性如下: ...
PowerDesigner 是Sybase的企业建模和设计解决方案,...
Mogwai ERDesigner NG是一个实体关系建模工具类似于...
Power*Architect 是一个数据建模工具,主要用在数据...