summaryrefslogtreecommitdiffstats
path: root/src/python-common/README.rst
blob: 3900ec4f944cac3aebe5f863a291aaa209f149d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ceph-python-common
==================

This library is meant to be used to keep common data structures and
functions usable throughout the Ceph project.

Like for example:

- All different Cython bindings.
- MGR modules.
- ``ceph`` command line interface and other Ceph tools.
- Also external tools.

Usage
=====

From within the Ceph git, just import it:

.. code:: python

    from ceph.deployment_utils import DriveGroupSpec
    from ceph.exceptions import OSError