Skip to content

Python bindings for Gluster Commands and Metrics

License

GPL-2.0, LGPL-3.0 licenses found

Licenses found

GPL-2.0
COPYING-GPLV2
LGPL-3.0
COPYING-LGPLV3
Notifications You must be signed in to change notification settings

gluster/glustercli-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

920ddce · Oct 10, 2023

History

97 Commits
Apr 12, 2023
May 17, 2022
Apr 18, 2023
Apr 18, 2023
Apr 12, 2023
Sep 6, 2016
Sep 6, 2016
May 9, 2020
May 9, 2020
May 9, 2020
Jul 2, 2020
May 9, 2020
Apr 12, 2023
Oct 10, 2023
Sep 6, 2016

Repository files navigation

glustercli-python

Python bindings for GlusterFS CLI and Metrics.

Hello World

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

Install pydoc-markdown package to generate Documentation.

sudo pip3 install pydoc-markdown