Welcome to pyxattr’s documentation!

This is the pyxattr module, a Python extension module which gives access to the extended attributes for filesystem objects available in some operating systems.

Downloads: go to http://pyxattr.k1024.org/downloads/. Latest version is 0.5.6. The source repository is either at http://git.k1024.org/pyxattr.git or at https://github.com/iustin/pyxattr.


pyxattr has been written and tested on Linux, kernel v2.4 or later, with XFS filesystems; ext2/ext3 should work also. If any other platform implements the same behavior, pyxattr could be used.

You need to have the attr library (including development headers; most distributions should have this, under various names) and setuptools installed in order to build and install the module.


pyxattr is Copyright 2002-2008, 2012-2015 Iustin Pop.

pyxattr is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. See the COPYING file for the full license terms.

Note that previous versions had different licenses: version 0.3 was licensed under LGPL version 3 (which, I realized later, is not compatible with GPLv2, hence the change to LGPL 2.1), and even older versions were licensed under GPL v2 or later.