Skip to content

freqlabs/py-libzfs

master
Switch branches/tags
Code
This branch is 119 commits behind truenas:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
m4
 
 
pxd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

MacOS and O3X

Before runnig configure script, clone O3X repository:

git clone https://github.com/openzfsonosx/zfs.git ../zfs

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 89.8%
  • M4 9.9%
  • Other 0.3%