iRODS is an open-source distributed filesystem manager. This a client API implemented in python.
This project should be considered pre-alpha. Not a lot works yet, but it's coming along. The following are guidelines for using the API. Most of it is unimplemented.
>>> from irods.session import iRODSSession
>>> sess = iRODSSession(host='localhost', port=1247, user='rods', password='rods', zone='tempZone')>>> coll = sess.get_collection("/tempZone/home/rods")
>>> coll.id
45798
>>> coll.name
/tempZone/home/rods
>>> for col in coll.subcollections:
>>> print col
<iRODSCollection /tempZone/home/rods/subcol1>
<iRODSCollection /tempZone/home/rods/subcol2>
>>> for obj in coll.data_objects:
>>> print obj
<iRODSDataObject /tempZone/home/rods/file.txt>
<iRODSDataObject /tempZone/home/rods/file2.txt>>>> from irods.session import iRODSSession
>>> from irods.models import Collection, User, DataObject
>>> sess = iRODSSession(host='localhost', port=1247, user='rods', password='rods', zone='tempZone')
>>> results = sess.query(DataObject.id, DataObject.collection_id, DataObject.name, \
DataObject.replica_number, DataObject.version, DataObject.type, DataObject.size, \
User.id, User.name, Collection.id, Collection.name).all()