Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gluster/glustercli-python
Python bindings for Gluster Commands and Metrics
https://github.com/gluster/glustercli-python
Last synced: 13 days ago
JSON representation
Python bindings for Gluster Commands and Metrics
- Host: GitHub
- URL: https://github.com/gluster/glustercli-python
- Owner: gluster
- License: gpl-2.0
- Created: 2016-08-12T10:15:55.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2023-10-10T13:52:43.000Z (about 1 year ago)
- Last Synced: 2024-10-31T09:16:20.480Z (16 days ago)
- Language: Python
- Homepage:
- Size: 129 KB
- Stars: 19
- Watchers: 10
- Forks: 33
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: COPYING-GPLV2
Awesome Lists containing this project
README
# glustercli-python
Python bindings for [GlusterFS](http://www.gluster.org) CLI and Metrics.
## Hello World
```python
from glustercli.cli import volume# Create a Volume
volume.create("gv1", ["fvm1:/bricks/b1", "fvm2:/bricks/b2"],
force=True)# Start Volume
volume.start("gv1")# Read Volume Info
volume.info("gv1")# Get GlusterFS version
from glustercli.cli import glusterfs_version
print(glusterfs_version())
```## Install
```
sudo pip3 install glustercli
```## Documentation
See [Documentation](docs/README.md)
Install `pydoc-markdown` package to generate Documentation.
```
sudo pip3 install pydoc-markdown
```