Skip to main content
Latest Version Downloads

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

This a standalone library identical to this Ceph PR https://github.com/ceph/ceph/pull/7621

But this can be used with older version of Ceph from 0.80.X (firefly) to 10.0.X (perhaps more not tested)

This is designed for application that only want to use the Rados API, this can’t be used with the ceph rbd.py or librbdpy

The API of this python lib is identical to the Ceph rados.py API. More detail can be found on https://github.com/ceph/ceph/pull/7621.

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

A running ceph cluster is needed, the authentification must be disabled or done automatically with the configuration in /etc/ceph/ceph.conf.

For python 2.X:

$ ./test_rados.sh

For python 3.X:

$ ./test_rados.sh -3

For python2-dbg + gdb:

$ ./test_rados.sh -b

For python2-dbg + cygdb:

$ ./test_rados.sh -d

Metadata

Release files for cradox 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cradox 1.0.8
File Size Uploaded
cradox-1.0.8.tar.gz 37.5 kB Details

Release files / cradox-1.0.8.tar.gz

Download URL cradox-1.0.8.tar.gz
Size 37.5 kB
Tags Source
SHA-256 checksum
How to use checksums
94052aee32627fbac4d72804b0bfcf4bdb0bd9f3d4e5b739317f11340c652c94
BLAKE2b-256 checksum
How to use checksums
c6f2d9cca7041d7a4a7d7f97628741f4c43b6f06ba7269141a53101f7e18d868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.1.2

1 release file

2.1.1

1 release file

2.1.0

1 release file

2.0.7

1 release file

2.0.6

1 release file

2.0.5

1 release file

2.0.4

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.8

1 release file

1.1.7

1 release file

1.1.6

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.9

1 release file

This release

1.0.8 This release

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page