Python libraries for the Ceph librados library with use cython instead of ctypes
Project description
Python libraries for the Ceph librados library with use cython instead of ctypes
This a standalone library initially comes from this Ceph PR https://github.com/ceph/ceph/pull/7621
But can be built against older version of Ceph from 0.80.X (firefly) to 10.1.X (perhaps more not tested)
This is designed for application that want to use a recent python-rados API without upgrading the whole ceph cluster.
Rados C handles provided by this library can’t be used with the ceph rbd.py or librbdpy.
The API of this python lib will be keep in sync with the upstream Ceph rados.py API.
Free software: LGPL 2.1
Documentation: http://docs.ceph.com/docs/master/rados/api/python/
Installation
Pre-requires:
$ sudo apt-get install cython librados2 librados-dev
Then, at the command line:
$ pip install cradox
Or, if you have virtualenvwrapper installed:
$ mkvirtualenv cradox $ pip install cradox
Usage
import cradox as rados
Functionnal Tests
Ceph packages must be installed, the suite create a temporary Ceph cluster run the tests and destroy it.
tox
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cradox-1.2.0.tar.gz
.
File metadata
- Download URL: cradox-1.2.0.tar.gz
- Upload date:
- Size: 40.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d7c6ae9821c777ee1a08027361138bea8777c93dc5f6a3ade77e87b0681ea62 |
|
MD5 | 8b0196c7d48b74a04d25943f31b561d5 |
|
BLAKE2b-256 | b2dd5968c113959e3a5ff391e3a99b530dcb03a41e871519b8e74c129f898a4a |