Skip to main content

Automatically generated command API.

Project description

ceph-command-api. An automatically generated API for accessing the Ceph CLI.

It provides proper auto completion in your IDE, an automatically [generated documentation](https://ceph-command-api.readthedocs.io/en/latest/mon_command_api.html) , and static type checking.

Usage

Install [ceph-command-api](https://pypi.org/project/ceph-command-api/) from PyPi:

` pip install ceph-command-api `

And then:

`python 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](https://github.com/cholcombe973/ceph_command_parser) for a similar project.

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

ceph-command-api-1.0.2.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ceph_command_api-1.0.2-py2-none-any.whl (31.8 kB view details)

Uploaded Python 2

File details

Details for the file ceph-command-api-1.0.2.tar.gz.

File metadata

  • Download URL: ceph-command-api-1.0.2.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for ceph-command-api-1.0.2.tar.gz
Algorithm Hash digest
SHA256 7c4b6d47786f9eaace31e376114f6930f80c2f7bde93f26b453f4dd9ef940299
MD5 aea3de150b56686690b50fb9564492ec
BLAKE2b-256 b5846a6cb08180bc94d0f36966eef7ee1157edb013b65bb444e9183c7372ba80

See more details on using hashes here.

File details

Details for the file ceph_command_api-1.0.2-py2-none-any.whl.

File metadata

  • Download URL: ceph_command_api-1.0.2-py2-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for ceph_command_api-1.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 fc68a0fa109cd19e2db0a2f9a9e100121df180138156a060b3c0df5ec32939e9
MD5 3ce532763aefc156ac0c875568adc08e
BLAKE2b-256 4613c8b909a037d3c6d3199ed17b3a772103cae504ddad36dc769a50ff1ec177

See more details on using hashes here.

Supported by

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