Automatically generated command API.
Project description
ceph-command-api
ceph-command-api
. An automatically generated API for accessing the Ceph CLI.
It provides proper auto completion in your IDE, an automatically generated documentation , and static type checking.
Usage
Install ceph-command-api
from PyPi:
pip install ceph-command-api
And then:
import rados
from ceph_command_api import MonCommandApi
cluster = rados.Rados(conffile='/etc/ceph/ceph.conf')
cluster.connect()
print(MonCommandApi(cluster).version())
Rebuild the API
See ./rebuild.sh
Reference
See cholcombe973/ceph_command_parser for a similar project.
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
ceph-command-api-1.0.1.tar.gz
(26.5 kB
view hashes)
Built Distribution
Close
Hashes for ceph_command_api-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7249dd8c54b5b2b6a63aa30dec59560eba314228edaca7c759c7d06cf8839481 |
|
MD5 | 7a3946ba771f576052dfd270f446874e |
|
BLAKE2b-256 | 082e04d652d67da9727e5a57e776acd864704991b9feea481491203ee9e8ae9b |