Skip to main content

Python libraries for the Ceph librados library with use cython instead of ctypes

Project description

https://travis-ci.org/sileht/pycradox.png?branch=master Latest Version Downloads

/!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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cradox-2.0.7.tar.gz (44.5 kB view details)

Uploaded Source

File details

Details for the file cradox-2.0.7.tar.gz.

File metadata

  • Download URL: cradox-2.0.7.tar.gz
  • Upload date:
  • Size: 44.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cradox-2.0.7.tar.gz
Algorithm Hash digest
SHA256 b464e2758a0e42eac1774267026a6795464d4b01a5e6594ed006d42f4b08dc89
MD5 a4a12abe54b8151c834d4af481639ad1
BLAKE2b-256 c91f049d877481e5c2ed70f2375d4aeefb04f3c66a49661d3b4edf6035deee23

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page