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](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.
Metadata
Release files for ceph-command-api 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ceph-command-api-1.0.2.tar.gz | 29.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ceph_command_api-1.0.2-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 61.7 kB
Release files / ceph-command-api-1.0.2.tar.gz
| Download URL | ceph-command-api-1.0.2.tar.gz |
|---|---|
| Size | 29.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c4b6d47786f9eaace31e376114f6930f80c2f7bde93f26b453f4dd9ef940299
|
|
BLAKE2b-256 checksum How to use checksums |
b5846a6cb08180bc94d0f36966eef7ee1157edb013b65bb444e9183c7372ba80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / ceph_command_api-1.0.2-py2-none-any.whl
| Download URL | ceph_command_api-1.0.2-py2-none-any.whl |
|---|---|
| Size | 31.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
fc68a0fa109cd19e2db0a2f9a9e100121df180138156a060b3c0df5ec32939e9
|
|
BLAKE2b-256 checksum How to use checksums |
4613c8b909a037d3c6d3199ed17b3a772103cae504ddad36dc769a50ff1ec177
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|