Access to the poses in poselib
A pose library is simply an Action datablock. Each pose is actually a marker in the pose_markers collection; you can use the marker's frame property to evaluate the action's fcurves, which gives you the pose.