Skip to content

NOTE! Python librados wrapper has been merged into the Ceph GIT repo

License

Notifications You must be signed in to change notification settings

Ormod/python-rados

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-rados

Description:
============
Python-rados lets you store arbitrary numbers of key/value blobs on top of Ceph librados.

Usage:
======
from rados.rados import Rados

a = Rados()
b = a.get_pool("testi")

c = b.get_object("kello")
c.write("kalaa")
c.seek(0)
print c.read()

b.remove_object("kello")
b.write("pertti", "jeah")

c = b.get_object("pertti")
c.set_xattr("nice_xattr", "jiihaa")
c.get_xattr("nice_xattr")
c.rm_xattr("nice_xattr")

c.stat()

a.delete_pool(b.pool)


License:
========
python-rados is licensed under LGPL 2.1, see file LICENSE for details.

Author:
=======
Hannu Valtonen <hannu.valtonen@ormod.com>. For bug reports, patches or anything else, please don't hesitate to send
mail my way.

Copyright: Hannu Valtonen <hannu.valtonen@ormod.com> 2011

About

NOTE! Python librados wrapper has been merged into the Ceph GIT repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages