truenas / py-libzfs

Python libzfs bindings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

py-libzfs

Python bindings for libzfs

py-libzfs is a fairly straight-forward set of Python bindings for libzfs for ZFS on Linux and FreeBSD.

INSTALLATION

./configure && make install

FEATURES:

  • Access to pools, datasets, snapshots, properties, pool disks
  • Many others!

QUICK HOWTO:

import libzfs

Get a list of pools:

pools = list(libzfs.ZFS().pools)

Get help:

help(libzfs)

About

Python libzfs bindings

License:GNU Lesser General Public License v3.0


Languages

Language:Cython 86.8%Language:M4 12.1%Language:Python 0.9%Language:Makefile 0.1%Language:Dockerfile 0.1%