首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > Python结合使用C API LevelDB

Python结合使用C API LevelDB

  • 资源大小:2.38 MB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: python 结合 使用

资 源 简 介

cpy-leveldb Python bindings for LevelDB using leveldb c api Source Code Download source code author: Fu Haiping (haipingf@gmail.com) Leveldb:(http://code.google.com/p/leveldb/) Build Instructions First of all, you need to build the included snappy and leveldb library. Build Snappy $ cd snappy$ ./configure && make && make install Build LevelDB $ cd leveldb$ make Then, build the extension itself $ python setup.py build Example Usage ```python import leveldb db = leveldb.LevelDB("/tmp/leveldb") db.Put("1", "111") db.Put("2", "222") db.Put("3", "333") db.Get("1") "111" db.G

文 件 列 表

pax_global_header
LGPL-2.1
LICENSE
README
doc
tut.txt
leveldb
.svn
AUTHORS
LICENSE
Makefile
NEWS
README
TODO
build_detect_platform
db
doc
helpers
include
port
table
util
setup.py
snappy
.svn
AUTHORS
COPYING
ChangeLog
Makefile.am
NEWS
README
autogen.sh
autom4te.cache
configure.ac
format_description.txt
m4
snappy-c.cc
snappy-c.h
snappy-internal.h
snappy-sinksource.cc
snappy-sinksource.h
snappy-stubs-internal.cc
snappy-stubs-internal.h
snappy-stubs-public.h.in
snappy-test.cc
snappy-test.h
snappy.cc
snappy.h
snappy_unittest.cc
testdata
src
comparator.c
comparator.h
initmodule.c
iterator.c
iterator.h
leveldb.c
leveldb.h
old
snapshot.c
snapshot.h
write_batch.c
write_batch.h
test
test-comparator.py
test-getapproximatesizes.py
test-iterator.py
test-leveldb.py
test-snapshot.py
test-writebatch.py
VIP VIP
0.174570s