py-leveldbLevelDB的Python开发包
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)
评论
elasticsearch-pyElasticSearch 的 Python 开发包
elasticsearch-py 是 ElasticSearch 官方出品的 Python 客户端开
elasticsearch-pyElasticSearch 的 Python 开发包
0
redis-pyRedis 的 Python 开发包
redis-py 这是 Redis 目前最成熟的 Python 客户端开发包。示例代码:>&g
redis-pyRedis 的 Python 开发包
0
aioredisRedis 的 Python 开发包
aioredis是基于Asyncio实现的异步Redis的Python开发包。要求:Python3.3+asyncioorPython3.4+hiredis示例代码:import asyncioimp
aioredisRedis 的 Python 开发包
0
elasticsearch-pyElasticSearch 的 Python 开发包
elasticsearch-py是ElasticSearch官方出品的Python客户端开发包。示例代码:>>> from datetime import datetime>&
elasticsearch-pyElasticSearch 的 Python 开发包
0
redis-pyRedis 的 Python 开发包
redis-py这是Redis目前最成熟的Python客户端开发包。示例代码:>>> import redis>>> r = redis.Redis(host='l
redis-pyRedis 的 Python 开发包
0
githubpyGitHub的Python开发包
githubpy是专门为GitHubAPI编写的PythonSDK。根据GitHub的API文档说明,就可以轻松调用API。例如,获取issues列表的API说明如下:GET/repos/:owner
githubpyGitHub的Python开发包
0
GitpylibGit 的 Python 开发包
Gitpylib是Git的Python开发包。Gitpylib提供很多常用的Git特性,抽象了Git操作。
GitpylibGit 的 Python 开发包
0