how to get 3D vertex bounding box around the object in python
For the 8 bounding box corners in local coordinates: 

ob.bound_box


Transformation matrix from local to global:

ob.matrix_world


Both together:

bbverts = [Vector(bbvert)*ob.matrix_world for bbvert in ob.bound_box]