Skip to content

truenas/py-libzfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

81e902c · Dec 12, 2024
Sep 18, 2024
Oct 9, 2024
Oct 3, 2018
Nov 6, 2024
Feb 7, 2023
May 28, 2021
Feb 1, 2024
Apr 19, 2021
Sep 7, 2022
Aug 14, 2017
Jul 16, 2019
Feb 7, 2023
Feb 7, 2023
Oct 31, 2024
Dec 11, 2024
May 9, 2024
Sep 4, 2022
Jun 1, 2022
Aug 21, 2017
Jun 7, 2020

Repository files navigation

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)