With the help of google came to know about the Cisco apic Cobra library but haven't found any documents. From the APIC-EM-HelloWorld/check_acl.py at master · CiscoDevNet/APIC-EM-HelloWorld · GitHub got some python scripts- -Want to know how to import apic module..
from apic import *
This module looks to be simply a set of constants that is been used for a CiscoLive! lab. There is no APIC-EM specific module .. All of the work done with APIC-EM mainly revolves around the requests Python module to do the REST calls.