File: README.md

package info (click to toggle)
py-libzfs 0.0%2Bgit20240510.5ae7d5e-1
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 876 kB
  • sloc: python: 38; makefile: 27; sh: 7
file content (29 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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)`