Quota tool for OSG Connect systems.
ZFS (wraps around zfs binary), XFS (wraps around quota binary), and Ceph (via xattrs) supported
Send mail to users and administrators via Mailgun's REST API
Write files with current quota information in a nice consolidated table for users
Install dependencies via pip (requirements.txt
), or via yum (tested on EL7):
yum install python36-xattr python36-requests python36-tabulate
Note that the python3-devel package and the group 'Development Tools' should also be installed to install the packages via pip.
Build RPM
python3 setup.py bdist_rpm
Please install and run the 'black' formatter:
black connect-quota
Please also annotate functions with types where possible.