Skip to content
Python libzfs bindings
Branch: master
Clone or download
Latest commit e784616 Mar 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
m4
pxd Remove sys/vdev_impl.h header Mar 18, 2019
.gitignore
Makefile
Makefile.in Improve Feature detection (#19) Oct 3, 2018
README.md
_config.yml Set theme jekyll-theme-merlot Aug 14, 2017
config.py.in
configure
configure.ac Make default header value configurable Mar 18, 2019
converter.pxi libzfs timestamps are in not timezone-aware. Mar 30, 2017
libzfs.pyx Remove sys/vdev_impl.h header Mar 18, 2019
nvpair.pxi
setup.py Add config for setuptools Mar 18, 2019
setup_requires.txt

README.md

py-libzfs

Python bindings for libzfs

py-libzfs is a fairly straight-forward set of Python bindings for libzfs for 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)

You can’t perform that action at this time.