Python libraries for the Ceph librados library with use cython instead of ctypes
Project description
/!DON’T USE IT, but use upstream python-rados, except you really can’t /!
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 10.2.X (jewel) to latest.
(For older version use cradox< 2.0)
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-2.1.2.tar.gz
.
File metadata
- Download URL: cradox-2.1.2.tar.gz
- Upload date:
- Size: 44.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccda89326c615883a71a383a86e97b2fdbfad709dcf8ef2b983f519934918d68 |
|
MD5 | 32ba5b235fb264c00634112ef021025a |
|
BLAKE2b-256 | 30a8f4790a3f5af7c7616dda7bd5cddbe31d3cf7c35319b700ff49e14ffa8153 |