python-fadvise is a Python interface to posix_fadvise(2) which is used to predeclare an access pattern for file data in order that the kernel may make informed decisions regarding (but not limited to) scheduling I/O and caching.
It uses a private C extension module to invoke the underlying syscall. In addition, it provides a simple client so that advice may be given via the command-line.
Licence
python-fadvise is released under the BSD license.
Download / Development
A number of GPG-signed tarballs are available for this project.
You can browse the source tree or download the code from Git:
$ git clone git://git.chris-lamb.co.uk/python-fadvise # or $ git clone http://git.chris-lamb.co.uk/repo/python-fadvise.git